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 > General Forums > Before You Buy

Before You Buy Have questions about PhotoPost, ReviewPost and/or PhotoPost Classifieds before you buy?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 21st, 2007, 05:46 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 28
Bug report! reviewpost installation code flaw

Reviewpost with MySQL

When trying to do a fresh install of review post, there is no feature to look to see if the database table exist or a redirect to step 3 when the installation fails!

There is an existing database that we are having to drop the tables one by one in order to re attempt the fresh installation.

This is a complete pain in the butt.

Step 3: MySQL error reported: [CREATE TABLE rpa_admlog (id int(10) NOT NULL auto_increment,adminuser varchar(50) NOT NULL default '',description varchar(255) NOT NULL default '',datestamp int(20) NOT NULL default '0',ip varchar(35) NOT NULL default '',PRIMARY KEY (id)) TYPE=MyISAM]
Result: Table 'rpa_admlog' already exists
Database: colorme_root

Step 3: MySQL error reported: [CREATE TABLE rpa_favorites (id smallint(4) NOT NULL auto_increment, userid int(8) NOT NULL default '0', product int(11) NOT NULL default '0', PRIMARY KEY (id), KEY parent (product)) TYPE=MyISAM]
Result: Table 'rpa_favorites' already exists
Database: colorme_root

Step 3: MySQL error reported: [CREATE TABLE rpa_laston (cat smallint(4) NOT NULL default '0', userid mediumint(9) NOT NULL default '0', laston int(11) unsigned default NULL, PRIMARY KEY (cat,userid)) TYPE=MyISAM]
Result: Table 'rpa_laston' already exists
Database: colorme_root

Step 3: MySQL error reported: [CREATE TABLE rpa_categories (id smallint(4) NOT NULL auto_increment,catname varchar(255) NOT NULL default '',description varchar(255) default NULL,catorder tinyint(4) NOT NULL default '0',thumbs varchar(4) NOT NULL default 'yes',parent int(5) NOT NULL default '0',header varchar(200) default NULL,footer varchar(200) default NULL,headtags varchar(200) default NULL,private varchar(5) NOT NULL default 'no',ugnoview VARCHAR(255) NULL,ugnoupload VARCHAR(255) NULL,ugnopost VARCHAR(255) NULL,ugnoanno VARCHAR(255) NULL,children TEXT default NULL,lastpost INT(11) UNSIGNED,lastproduct INT(11) UNSIGNED,products INT(11) UNSIGNED default '0',posts INT(11) UNSIGNED default '0',moderators TEXT default NULL,password VARCHAR(24),template int(3) NOT NULL default '0',extra1 VARCHAR(64) NULL,extra2 VARCHAR(64) NULL,extra3 VARCHAR(64) NULL,extra4 VARCHAR(64) NULL,extra5 VARCHAR(64) NULL,extra6 VARCHAR(64) NULL, thumbnail int(15) NOT NULL default '0', intro VARCHAR(3) default 'no' NOT NULL, introtitle VARCHAR(128) DEFAULT NULL, introcopy TEXT DEFAULT NULL, theme VARCHAR(32) NOT NULL, sortorder INT(2) NOT NULL DEFAULT '1', frames VARCHAR(32) DEFAULT NULL, numextra INT(3) NOT NULL DEFAULT '0', revextra INT(3) NOT NULL DEFAULT '0', PRIMARY KEY (id),KEY parent(parent)) TYPE=MyISAM]
Result: Table 'rpa_categories' already exists
Database: colorme_root


So, I delete the table one by one, the installation hangs, and we are back to square one.

The fact that I have to drop tons of valiable data is bad enough.
If not for some fancy sql tricks, our 54 gigs of data would be lost.

How do I get around the build database portion of your install script?

Brad
bcddd214 is offline   Reply With Quote
Old April 21st, 2007, 07:02 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
The errors your telling me simply state you have already ran the install and the tables exist that is not really a big issue

If your install script hangs I would suggest your server's PHP is crapping out and having issues trying to populate the zipcode database. Try altering your install.php file and remove this code and rerun install

Code:
Content visible to verified customers only.
__________________
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
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ReviewPost: Report this review.... 1234567 Before You Buy 1 May 11th, 2006 07:19 AM
how do i post a bug report? 420 Photopost Pro How Do I...? 1 January 16th, 2006 09:07 AM
Upload Category is weird. (my last bug report I swear!)(NOTA BUG) rcsmith ReviewPost Bug Reports 1 October 25th, 2005 08:25 PM
URGENT: I just sent you a bug report websissy Classifieds Bug Reports 4 September 23rd, 2005 02:08 PM
Report feature DOS(NOT A BUG) Arnie ReviewPost Suggestions 2 July 20th, 2005 07:22 AM


All times are GMT -5. The time now is 01:14 AM.

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