PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Install Errors (INSERT INTO pp_categories) (http://www.photopost.com/forum/photopost-pro-installation-upgrades/119776-install-errors-insert-into-pp_categories.html)

danny49 November 24th, 2005 12:23 PM

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

Chuck S November 24th, 2005 12:25 PM

What version of mysql is on your server?

I have done probally 1500-2000 Photopost installs and never seen an error such as these?

Chuck S November 24th, 2005 05:43 PM

Your not by chance running the new MYSQL 5

danny49 November 24th, 2005 08:07 PM

Yes, I just downloaded it and installed it yesturday.


Quote:

Originally Posted by Chuck S
Your not by chance running the new MYSQL 5


Chuck S November 25th, 2005 07:29 AM

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

danny49 November 25th, 2005 09:23 AM

Ok thanks. I will start over with 4.x

danny49 November 27th, 2005 05:59 PM

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

Chuck S November 27th, 2005 06:52 PM

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

danny49 November 27th, 2005 08:21 PM

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?

Chuck S November 27th, 2005 09:06 PM

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

danny49 November 27th, 2005 09:07 PM

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?

Chuck S November 27th, 2005 09:09 PM

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

Markus June 17th, 2006 10:16 AM

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.

Markus June 17th, 2006 10:47 AM

OK. ;)

I found this:

http://www.photopost.com/forum/photopost-product-faqs/123261-mysql-5-compatibility.html

pistebasher September 29th, 2006 08:22 AM

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?

Chuck S September 29th, 2006 08:39 AM

It is more an issue as noted with STRICT MODE


All times are GMT -5. The time now is 03:07 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97