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 Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rating: Thread Rating: 557 votes, 5.00 average. Display Modes
Old November 24th, 2005, 12:23 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 13
Install Errors (INSERT INTO pp_categories)

I'm getting the errors below. Can't figure out what the problem is. I created a database named photopost with no problems.

Any suggestions?

Step 3: MySQL error reported: [INSERT INTO pp_categories (id,catname,description,catorder,thumbs,parent,children) VALUES (1,'Main','',2,'no',0,'2')]
Result: Field 'theme' doesn't have a default value
Database: photopost

Step 3: MySQL error reported: [INSERT INTO pp_categories (id,catname,description,catorder,thumbs,parent,children) VALUES (2,'A Category','Photos of a particular subject',1,'yes',1,'')]
Result: Field 'theme' doesn't have a default value
Database: photopost

Step 3: MySQL error reported: [INSERT INTO pp_categories (id,catname,description,catorder,thumbs,parent,children) VALUES (500,'Member Galleries','Individual user galleries - any photo category',1,'yes',0,'')]
Result: Field 'theme' doesn't have a default value
Database: photopost

Step 3: MySQL error reported: [INSERT INTO pp_settings VALUES (169,'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: photopost

Step 3: MySQL error reported: [INSERT INTO pp_settings VALUES (208,'Orignial Image storage directory server path','origfull','Typically this path matches your DATA directory server path, unless you want to store your original images seperatly from your thumbnails/medium images.','/path/to/your/photopost/data',35,1)]
Result: Data too long for column 'description' at row 1
Database: photopost
danny49 is offline   Reply With Quote
Old November 24th, 2005, 12:25 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
What version of mysql is on your server?

I have done probally 1500-2000 Photopost installs and never seen an error such as these?
__________________
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 November 24th, 2005, 05:43 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
Your not by chance running the new MYSQL 5
__________________
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 November 24th, 2005, 08:07 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 13
Yes, I just downloaded it and installed it yesturday.


Quote:
Originally Posted by Chuck S
Your not by chance running the new MYSQL 5
danny49 is offline   Reply With Quote
Old November 25th, 2005, 07:29 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
There you go thats the issue. If you go back to mysql 4 bet things work without a hitch

No one is using mysql5 that I know of nor have we even tested the differences and compatibility

Hosting servicers on the internet use mysql 3 and mysql 4
__________________
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 November 25th, 2005, 09:23 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 13
Ok thanks. I will start over with 4.x
danny49 is offline   Reply With Quote
Old November 27th, 2005, 05:59 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 13
I un-installed MySQL 5.x and installed 4.1. Deleted all the Photopost files an unzipped them again. Ran the install with no errors no problems.

When I enter the username and password to go to the admin screen after the install (adm-index.php it goes to another website www.domain.com

I did enter my domain on the line "URL to PhotoPost main script directory".

What am I missing?

TIA
danny49 is offline   Reply With Quote
Old November 27th, 2005, 06:52 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
Looks to me like the domain did not take HMM if it is going to domain.com

Try rerunning install and double check all entries. I know sometimes when PHP is installed as a CGI alot of people have issues cause paths get messed up
__________________
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 November 27th, 2005, 08:21 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 13
No go. Did an new install and it still goes to www.domain.com

Just to confirm the "URL to PhotoPost main script directory" directory would be where the install.php file is?

This looks easy enough but it will not take it.

Any other ideas?
danny49 is offline   Reply With Quote
Old November 27th, 2005, 09:06 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
HMM interesting I have done many installs on PHP5. I run it on my site.

You can always go in through phpmyadmin and edit the settings table directly. The first say 30 settings you shall see which ones have www.domain.com just replace with your domain name. Somehow your setup is not allowing the domain name weird indeed
__________________
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 November 27th, 2005, 09:07 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 13
I went in and edit the table and so far so good. Looks like I don't have the correct permissions though as I don't see how to log into the admin panel.

Is this set in the column usergroupid in users? If so what should I enter here?
danny49 is offline   Reply With Quote
Old November 27th, 2005, 09:09 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
Is there a user entered in the user's table?

Is there usergroup entries in the usergroups table?

If you want to email me info to look at this go for it
__________________
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 June 17th, 2006, 10:16 AM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2004
Posts: 19
Quote:
Originally Posted by Chuck S
Your not by chance running the new MYSQL 5
I have the same errors like Danny49.

Why Photopost531 doesn't work with Mysql5?

Other scripts work well with Mysql5, as vBulletin.

Last edited by Markus; June 17th, 2006 at 10:40 AM.
Markus is offline   Reply With Quote
Old June 17th, 2006, 10:47 AM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2004
Posts: 19
OK.

I found this:

Mysql 5 Compatibility
Markus is offline   Reply With Quote
Old September 29th, 2006, 08:22 AM   #15 (permalink)
Member
Verified Customer
 
pistebasher's Avatar
 
Join Date: Oct 2005
Posts: 264
My host have just emailed me to say they will be changing to MySQL 5 on October 3rd. This is on a Linux server - does that problem in Chuck's post only apply to Windows servers?
pistebasher is offline   Reply With Quote
Old September 29th, 2006, 08:39 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
It is more an issue as noted with STRICT MODE
__________________
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
Almost there...more errors during install siteworthy Photopost Pro Installation & Upgrades 2 November 11th, 2005 04:00 PM
new install errors wmjl Photopost Pro Installation & Upgrades 5 March 10th, 2005 07:17 PM
New Install Errors gholsie Classifieds Installation & Upgrades 2 December 20th, 2004 10:18 AM


All times are GMT -5. The time now is 10:23 AM.

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