 | |  | | | Classifieds Bug Reports Post any problems you may be having with Classifieds here. |
March 22nd, 2010, 04:38 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2009 Location: Southport UK
Posts: 9
| Problems After Upgrading From 4.0 To 4.1
I updated the classifieds on our site yesterday, everything seemed to go ok(no error messages using the upgrade script).
Anyway now when I try and edit or upload pictures I get this error message,
" 1.
1.
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Script:
Query: SELECT cat,title,price,shipping,reserve,rating,description,keywords,
bigimage,bigimage2,bigimage3,bigimage4,bigimage5,bigimage6,bigimage7,bigimage8,
bigimage9,approved,userid,extra1,extra2,extra3,extra4,extra5,extra6,zipcode,adoptions,isauction,highbidder,
currency,duration,buyit,watermarked,quantity,reslimit FROM cp_products WHERE id=256 LIMIT 1
Result: Unknown column 'reslimit' in 'field list'
Database handle: Resource id #102"
The server is running PHP 5.3.2 and MySQL 5.1.40, we've not had any problems with the ads until I updated yesterday. Just wondered if it's a setting that needs changing in PHP or is it a case of delete and start again.
|
| |
March 22nd, 2010, 05:12 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
You have not ran your upgrade script. Make sure to run the upgrade from your previous version to the latest.
|
| |
March 22nd, 2010, 08:02 AM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2009 Location: Southport UK
Posts: 9
|
I have run the upgrade script as you can see in this screenshot Code: Content visible to verified customers only.
|
| |
March 22nd, 2010, 08:07 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
That image shows only that you have uploaded the new files
You must run the upgrade.php script and select the upgrades you need to run. Example the reslimit field is added on the 4.0 to 4.01 upgrade.
|
| |
March 22nd, 2010, 09:21 AM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2009 Location: Southport UK
Posts: 9
|
I've run the upgrade script again and I'm getting this error message using the script,
"Preparing to update database...
Error performing MySQL command: INSERT INTO cp_settings VALUES (244,'setting244','enlargeit','no',36,5);
Error: Duplicate entry '244' for key 'PRIMARY' "
|
| |
March 22nd, 2010, 11:07 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Right okay so your running the 4.0 to 4.01 upgrade how about the one before it 3.2 to 4.0 |
| |
March 22nd, 2010, 11:15 AM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2009 Location: Southport UK
Posts: 9
|
I get this error message running the 3.2 to 4 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'
|
| |
March 22nd, 2010, 11:24 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
duplicate errors are not an issue that just says you clicked it twice.
This is the query thats right in the upgrade Code: Content visible to verified customers only.
|
| |
March 22nd, 2010, 12:15 PM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2009 Location: Southport UK
Posts: 9
|
Thanks for all your help Chuck, it's fixed and working again.
|
| |
March 22nd, 2010, 12:34 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
No problem enjoy your day.
|
| |
March 22nd, 2010, 12:35 PM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2009 Location: Southport UK
Posts: 9
|
Sorry spoke too soon
I'm getting this error now when trying to edit an ad
Parse error: syntax error, unexpected '<' in /home/******/public_html/classifieds/templates/vb4enhanced/editproduct4.tmpl on line 306
|
| |
March 22nd, 2010, 12:54 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
try reuploading your templates folder.
|
| |
March 22nd, 2010, 01:03 PM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2009 Location: Southport UK
Posts: 9
|
Thanks Chuck, I tried reuploading and still get the same error |
| |
March 22nd, 2010, 01:45 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
redownload the build and upload the templates folder
|
| |
March 24th, 2010, 03:14 PM
|
#15 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2009 Location: Southport UK
Posts: 9
|
Downloaded, overwritten and success, thanks Chuck, it's really fixed now |
| |
March 24th, 2010, 06:08 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
LOL no problem enjoy your evening
|
| | |
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 02:59 PM. | |