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 Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 13th, 2008, 01:06 AM   #1 (permalink)
Member
 
Join Date: Jul 2008
Posts: 53
Making MySql Database Errors

During installation the install php script reported the following errors... using mysql 5.0.51a. I corrected these manually.

Step 3: MySQL error reported: [INSERT INTO cp_categories VALUES (1,'Main','',1,'no',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,'2',0,0,0,0,0,0,0,'no', 0, '', 'no', NULL, NULL,'','0','', 0);]
Result: Incorrect integer value: '' for column 'thumbnail' at row 1
Database: ppclassifieds

Step 3: MySQL error reported: [INSERT INTO cp_categories VALUES (2,'A Category','Products of a particular type',1,'yes',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,0,0,'no', 0, '', 'no', NULL, NULL,'','0','', 0);]
Result: Incorrect integer value: '' for column 'thumbnail' at row 1
Database: ppclassifieds

Step 3: MySQL error reported: [INSERT INTO cp_settings VALUES (179,'GMT Offset', 'gmtoffset', 'If you are running VB and want the server to display the time as an offset of GMT (for example, to the timezone where your server is located), enter the offset here.', '0', 25, 1)]
Result: Data too long for column 'description' at row 1
Database: ppclassifieds

Step 3: MySQL error reported: [INSERT INTO cp_settings VALUES (216, 'WorldPay Installation ID', 'wp_instid', 'The Install ID that is generated by the WorldPay CMS for the subscription callback.
You must set your callback url to point to your payment.php script', '', 8, 12)]
Result: Data too long for column 'description' at row 1
Database: ppclassifieds

Step 3: MySQL error reported: [CREATE TABLE cp_feedback (id int(12) NOT NULL auto_increment, foruser int(12) NOT NULL default '0', fromuser int(12) NOT NULL default '0', username varchar(64) NOT NULL default '', postdate int(16) NOT NULL default '0', rating int(2) NOT NULL default '0', comment TEXT NULL default '', approved tinyint(1) NOT NULL default '0', ip varchar(16) NOT NULL default '', PRIMARY KEY (id)) TYPE=MyISAM ]
Result: BLOB/TEXT column 'comment' can't have a default value
Database: ppclassifieds

Step 3: MySQL error reported: [INSERT INTO cp_cache VALUES (1,'',null,null,null,null,null,null,null)]
Result: Incorrect integer value: '' for column 'timestamp' at row 1
Database: ppclassifieds

Step 3: MySQL error reported: [INSERT INTO cp_currency VALUES (23,'Netherlands Antilles, Guilders/Florins','ANG','ƒ', '2')]
Result: Data too long for column 'name' at row 1
Database: ppclassifieds
Saftek is offline   Reply With Quote
Old July 13th, 2008, 08:22 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
Mysql 5 Compatibility

See if this assists you there.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 13th, 2008, 12:50 PM   #3 (permalink)
Member
 
Join Date: Jul 2008
Posts: 53
Yes, but all you need to do apparently is remove the strict tables entry from the statement... I just removed the Strict_trans_tables entry and it appears to have corrected the problem.

# Set the SQL mode to strict
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
Saftek is offline   Reply With Quote
Old July 13th, 2008, 01:38 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
Mysql 5 Compatibility

Thats not an issue turning off strict mode to normal mysql mode with any of these global queries works as well. Its virtual the same as what your doing only running a query. Your more or less doing number one in my example removing the strict thing from my.ini
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
link to another mysql database orangemichael Before You Buy 0 November 16th, 2007 08:44 AM
MySQL-Errors during install (MySQL 5.0) noox General Discussion 1 October 7th, 2006 08:48 AM
MySQL and phpBB2 database kuroyume Photopost Pro Installation & Upgrades 2 September 11th, 2006 06:06 PM
Are photos stored in the mySql Database? ejectorset General Discussion 4 April 14th, 2005 01:27 PM
MySQL database esmphoto Before You Buy 2 February 14th, 2005 01:44 PM


All times are GMT -5. The time now is 05:58 PM.

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