 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
December 22nd, 2009, 09:26 AM
|
#1 (permalink)
| | Member
Join Date: Jul 2004 Location: Lancashire
Posts: 232
| New Fresh Install Error - INSERT INTO cp_categories
Got this during the install, vB4 and PP Classifieds Beta: Quote:
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: Column count doesn't match value count at row 1
Database: ****************
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: Column count doesn't match value count at row 1
Database: *************
| |
| |
December 22nd, 2009, 09:37 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Does this help making those two queries in install.php this Code: Content visible to verified customers only.
|
| |
December 22nd, 2009, 09:42 AM
|
#3 (permalink)
| | Member
Join Date: Jul 2004 Location: Lancashire
Posts: 232
|
I continued with the install and the software appears to be working. Am I best running the query manually via phpmyadmin now?
|
| |
December 22nd, 2009, 09:50 AM
|
#4 (permalink)
| | Member
Join Date: Jul 2004 Location: Lancashire
Posts: 232
|
Infact, my SEO settings are not working properly. I click SEO and the box below that to yes but both instances show yes and there's a black bar through something. SEO url's don't show when in my shop.
Image attached:
|
| |
December 22nd, 2009, 10:06 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
What is the actual url? Try running the upgrade script 3.2-4.0 upgrade
yes you could run those queries if you want or simply just create your own categories in admin.
|
| |
December 22nd, 2009, 10:08 AM
|
#6 (permalink)
| | Member
Join Date: Jul 2004 Location: Lancashire
Posts: 232
| |
| |
December 22nd, 2009, 10:10 AM
|
#7 (permalink)
| | Member
Join Date: Jul 2004 Location: Lancashire
Posts: 232
|
Doing the upgrade gave me: Quote:
PhotoPost Upgrade
Preparing to update database...
Error performing MySQL command: ALTER TABLE cp_categories ADD ugnopay VARCHAR(255) NULL AFTER ugnopost
Error: Duplicate column name 'ugnopay'
Upgrade complete!
| |
| |
December 22nd, 2009, 10:13 AM
|
#8 (permalink)
| | Member
Join Date: Jul 2004 Location: Lancashire
Posts: 232
|
But the SEO is now working and the black line has gone.
|
| |
December 22nd, 2009, 11:50 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Yes dont worry about duplicate errors. I have adjusted the install script to set spider setting to none not no like it was which is what the upgrades does |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:19 AM. | |