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 June 2nd, 2006, 09:38 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 12
SQL Errors during install

Hello, I recieved these errors in step three of the install. I am running PHP 5, MySQL 5 and Windows 2003/IIS6.

Step 3: MySQL error reported: [INSERT INTO pja_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,'','','');]
Result: Out of range value adjusted for column 'thumbnail' at row 1
Database: pj_db

Step 3: MySQL error reported: [INSERT INTO pja_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,'','','');]
Result: Out of range value adjusted for column 'thumbnail' at row 1
Database: pj_db

Step 3: MySQL error reported: [INSERT INTO pja_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: pj_db

Step 3: MySQL error reported: [INSERT INTO pja_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: pj_db

Step 3: MySQL error reported: [CREATE TABLE zipData (zipcode varchar(5) NOT NULL default '', ZipCodeType char(3) NOT NULL default '', City varchar(128) NOT NULL default '', CityType char(3) NOT NULL default '', State varchar(64) NOT NULL default '', StateCode varchar(5) NOT NULL default '', AreaCode int(5) NOT NULL default '0', lon varchar(8) NOT NULL default '', lat varchar(8) NOT NULL default '') TYPE=MyISAM]
Result: Table 'zipdata' already exists
Database: pj_db

Step 3: MySQL error reported: [INSERT INTO pja_cache VALUES (1,'',null,null,null,null,null,null,null)]
Result: Out of range value adjusted for column 'timestamp' at row 1
Database: pj_db



------------------------------------------------------------------

I then tried to continue, as it recomended, and after filling out step four, I recieved this error:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in D:\Plane Jumpers\pjc\install.php on line 1031
I cannot connect to the Members database.
NoTx is offline   Reply With Quote
Old June 2nd, 2006, 09:50 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Is this your issue? This thread might help

Mysql 5 Compatibility
__________________
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 June 2nd, 2006, 10:58 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 12
Well, I received less errors....

First:

Step 3: MySQL error reported: [CREATE TABLE zipData (zipcode varchar(5) NOT NULL default '', ZipCodeType char(3) NOT NULL default '', City varchar(128) NOT NULL default '', CityType char(3) NOT NULL default '', State varchar(64) NOT NULL default '', StateCode varchar(5) NOT NULL default '', AreaCode int(5) NOT NULL default '0', lon varchar(8) NOT NULL default '', lat varchar(8) NOT NULL default '') TYPE=MyISAM]
Result: Table 'zipdata' already exists
Database: pj_db



And second (at the very end when trying to propagate VB tables and link the db I think).

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in D:\Plane Jumpers\pjc\install.php on line 1031
I cannot connect to the Members database.
NoTx is offline   Reply With Quote
Old June 3rd, 2006, 10:30 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Well duplicate mysql errors are no biggy means you they exist

As far as the mysql_connect issue just check the info to connect to the members database it would appear incorrect
__________________
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 June 3rd, 2006, 12:36 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 12
Who is the user listed here that is not allowed?

"Access denied for user 'ODBC'@'localhost' (using password: NO)"

I know the primary mysql user is correct.
NoTx is offline   Reply With Quote
Old June 3rd, 2006, 01:01 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
I suggest you check your vbulletin config.php file for the access information to connect to the vbulletin user database. The error your posting states you have entered this incorrectly.

Recheck the host database user and password variables.
__________________
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 June 3rd, 2006, 01:42 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 12
I cleared out the board and vbportal and reinstalled, copying and pasting from vbulletins 3.5's config file. Prior to this I changed to MySQL 4.1 instead of 5.

I am still getting this error:


Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in D:\Plane Jumpers\cl\install.php on line 1031
I cannot connect to the Members database.


I have no user anywhere that is called 'ODBC'.

THis appears to be the query that is running when it stops:

$query[] = "CREATE TABLE {$pp_db_prefix}bids ( id int(2) NOT NULL auto_increment, ad_id int(12) NOT NULL default '0', user_id int(12) NOT NULL default '0', username varchar(128) NOT NULL default '', bid float(12,2) NOT NULL default '0.00', maxbid float(12,2) NOT NULL default '0.00', bid_date int(12) NOT NULL default '0', bid_ip varchar(16) default NULL, PRIMARY KEY (id) ) TYPE=MyISAM";

Oh, and when I switched to MySQL 4.1, the other error went away.
NoTx is offline   Reply With Quote
Old June 3rd, 2006, 01:51 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 12
Blank Post (my error ) (Ment to post on a different board...)

BUt I still don't understand where this user OBDC is comming from... especially being that would be for like Access or some such... and I only have MySQL.

Last edited by NoTx; June 3rd, 2006 at 04:25 PM.
NoTx is offline   Reply With Quote
Old June 3rd, 2006, 05:22 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 12
AM I doing something wrong here that is causing it?

I am leaving thses blank on the first input screen:


User Database Host (enter same info as above if not integrating with a third party forum)
User Database Name
User Database User
User Database Password

I am filling out the above, but leaving these blank, as I took the directions to mean...

Is this incorrect? If so, what should be here? I am integrating with the current version of VBulletin.
NoTx is offline   Reply With Quote
Old June 3rd, 2006, 05:53 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 12
Okay, I tried filling that in and got all the way to the end. I now get this error:


Parse error: parse error, unexpected T_STRING in D:\Plane Jumpers\cl\config-intc.php on line 16

I am running Vbulletin 3.5 and VBPortal 3.

My settings are in the attachment.

Where am I going wrong?
Attached Images
File Type: gif settings.GIF (32.3 KB, 4 views)
NoTx is offline   Reply With Quote
Old June 3rd, 2006, 06:12 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
We need to backup here.

If you still are getting the members database can not be connected to you need to go back to the config section of install and make sure in the user database portion of the Photopost config you are entering your correct database information for your vbulletin install.

This is the error I see by your post.
__________________
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 June 3rd, 2006, 06:58 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 12
Quote:
Originally Posted by Chuck S
We need to backup here.

If you still are getting the members database can not be connected to you need to go back to the config section of install and make sure in the user database portion of the Photopost config you are entering your correct database information for your vbulletin install.

This is the error I see by your post.

I am no longer getting that error. In fact I have the install going smoothly. When I try and log in or go to the index.php page I get this error:

"Parse error: parse error, unexpected T_STRING in D:\Plane Jumpers\cl\config-intc.php on line 16"
NoTx is offline   Reply With Quote
Old June 3rd, 2006, 08:07 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Try uploading a clean config-intc.php file as that one is corrupt.
__________________
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 June 4th, 2006, 01:55 AM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 12
I reinstalled the file, re-ran through the install. It now loads, however it does not integrate to VBulletin or Vbportal at all. Instead I get this error when trying to turn on the VbPortal administration:


Warning: fopen(config-intc.php) [function.fopen]: failed to open stream: Permission denied in D:\Plane Jumpers\cl\adm-misc.php on line 1367

Warning: fwrite(): supplied argument is not a valid stream resource in D:\Plane Jumpers\cl\adm-misc.php on line 1368

Warning: fclose(): supplied argument is not a valid stream resource in D:\Plane Jumpers\cl\adm-misc.php on line 1369


Configuration updated!

Click here if you do not want to wait any longer
(or if your browser does not automatically forward you)

So... would your installation service install it with the integration? Getting more than a might frustrated.
NoTx is offline   Reply With Quote
Old June 4th, 2006, 10:40 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
You need to make sure on install that both config files are 666 READ WRITE. Basically on the last step of install we can not write the variables to config-intc.php
__________________
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 June 4th, 2006, 02:33 PM   #16 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 12
oK, beyond the other errors.

My current error is:

Warning: require(mainfile.php) [function.require]: failed to open stream: No such file or directory in D:\Plane Jumpers\cl\header-inc.php on line 255

Fatal error: require() [function.require]: Failed opening required 'mainfile.php' (include_path='.;C:\php5\pear') in D:\Plane Jumpers\cl\header-inc.php on line 255


When I try going to index.php.
NoTx is offline   Reply With Quote
Old June 4th, 2006, 03:08 PM   #17 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 12
It was the integration with VBportal. I turned it off and manually added it to VBportals main menu. Works now. Thanks!
NoTx 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
SQL errors being emailed after upgrade to 5.3 oldford Photopost Pro Installation & Upgrades 3 May 1st, 2006 05:12 PM
SQL Errors Exitilus Photopost Pro Installation & Upgrades 2 March 24th, 2006 12:59 PM
SQL errors rogerl Photopost Pro Bug Reports 3 September 13th, 2005 04:31 PM
Sh$tload of SQL errors on fresh install Fatsie Classifieds Installation & Upgrades 14 August 4th, 2005 12:11 PM


All times are GMT -5. The time now is 03:24 PM.

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