PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 7th, 2004, 01:39 PM   #1 (permalink)
Registered User
 
Join Date: Feb 2004
Posts: 13
Installation Error at Step 3

When I reach the final step in install.php and click the "Complete PhotoPost Classifieds Installation" button, I receive the error below. For some reason the "usergroups" table isn't being created during installation when the other tables are.

MySQL error reported!

Script: install

Query: SELECT groupid, groupname, cpaccess, uploads, comments, uploadsize, editpho, editposts, modaccess, reqmod, highlight, bold, italic FROM usergroups

Result: Table 'classifieds.usergroups' doesn't exist

Database handle: Resource id #12

Last edited by spadbuoy; December 7th, 2004 at 02:47 PM.
spadbuoy is offline   Reply With Quote
Old December 7th, 2004, 03:59 PM   #2 (permalink)
Registered User
 
Join Date: Feb 2004
Posts: 13
After reading this thread from last July and looking at the init_user_groups() subroutine in forums/threads.php, I manually created a "usergroups" table with phpmyadmin and succeeded in finishing the install.
spadbuoy is offline   Reply With Quote
Old December 7th, 2004, 04:12 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
If you installed classifieds 2.0 you might want to redo that.

The new usergroups table has this structure

The latest download I show is correct you might want to check out the threads.php in that download as the table structure is different than classifieds 6 months ago.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 7th, 2004, 04:35 PM   #4 (permalink)
Registered User
 
Join Date: Feb 2004
Posts: 13
I purchased and downloaded v2.0 this morning from the Member's Area so that's the version of forums/threads.php I used to create the table. Not sure why install.php wouldn't create it. I tried several things but couldn't complete the install because "usergroups" could not be found.

Last edited by spadbuoy; December 7th, 2004 at 04:39 PM.
spadbuoy is offline   Reply With Quote
Old December 7th, 2004, 04:54 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Okay but what I am saying regardless is your should use the init_usergroups function in the new file and then populate the inserts. Your missing important features if your using a n old usergroups structure.

This is what I see in the threads file

$query[] = "CREATE TABLE {$pp_db_prefix}usergroups (groupid int(5) NOT NULL auto_increment,
groupname varchar(50) NOT NULL default '',
cpaccess smallint(3) NOT NULL default '0',
modaccess smallint(3) NOT NULL default '0',
uploads smallint(3) NOT NULL default '1',
comments smallint(3) NOT NULL default '1',
uploadsize int(10) default NULL,
editpho int(3) NOT NULL default '0',
editposts int(3) NOT NULL default '0',
reqmod INT(3) DEFAULT '0' NOT NULL,
highlight INT(3) DEFAULT '0' NOT NULL,
bold INT(3) DEFAULT '0' NOT NULL,
italic INT(3) DEFAULT '0' NOT NULL,
PRIMARY KEY (groupid)) TYPE=MyISAM";

13 fields

Then the import usergroups function

$query="INSERT INTO {$Globals['pp_db_prefix']}usergroups (groupid,groupname,modaccess,cpaccess,uploads,comments,uploadsize,editpho,editposts,reqmod,highlight,bold,italic) VALUES('$gid','$name','$modaccess','$cpaccess','$uploads','$comments','$uploadsize','$editpho','$editposts','$reqmod', $highlite, $bold, $italic)";

again 13 fields

I see no reason it would fail
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 7th, 2004, 05:07 PM   #6 (permalink)
Registered User
 
Join Date: Feb 2004
Posts: 13
That's what I did. I reinstalled again but before I reached the point that produced the MYSQL error (step 3), I manually created the "usergroups" table using the init_usergroups function in the new file as a guide. I then clicked the "Complete...Installation" and was told I had successfully installed the software.
spadbuoy is offline   Reply With Quote
Old December 7th, 2004, 05:11 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Good above you had meantioned about using some fix in a 6 month old thread. Just wanted to make sure you where not using an old usergroups table.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 12th, 2004, 02:25 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Location: Indonesia
Posts: 50
Question help, same problem here!

I got the same problem. After step 3, I got an error message similiar like this thread http://www.photopost.com/members/fo...ad.php?t=110789. Is this issue has been solved with the latest build/version of classifieds 2.0? Cause I've redownload and installed it but still get the same error after step 3:

Code:
Content visible to verified customers only.
etaslim is offline   Reply With Quote
Old December 12th, 2004, 02:38 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
The error is this

This line in the forum integration files is this

$query[] = "CREATE TABLE {$pp_db_prefix}usergroups (groupid int(5) NOT NULL auto_increment,

needs to be this

$query = "CREATE TABLE {$pp_db_prefix}usergroups (groupid int(5) NOT NULL auto_increment,


Notice its $query not $query[] as we are not doing an array.

I will make sure the files are updated.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 13th, 2004, 02:57 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Location: Indonesia
Posts: 50
thanks omegatron, I've changed the code in the vb3 file & now it works perfectly.
etaslim is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Error Step 4 Outie Photopost Pro Installation & Upgrades 8 November 19th, 2005 12:46 PM
Installation fails between step 2 and step 3 when running installation script SigEp441 Classifieds Installation & Upgrades 2 July 19th, 2005 09:41 PM
Installation error: Blank screen on step 3 etaslim Classifieds Installation & Upgrades 11 March 23rd, 2005 02:37 AM
Final step installation error ... Paul Moran Photopost Pro Installation & Upgrades 7 September 14th, 2004 06:30 PM


All times are GMT -5. The time now is 06:20 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0