![]() |
|
|||||||
| Register | Projects | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| v3.1 Questions & Support Help and support for 68 Classifieds v3.1.x |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
When clicking on the photos of any of the ads at
http://www.australianinvestmentprope...ngs.php?pg=new to see the large version of the photos these error messages show: Notice: Query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 SQL: SELECT id,pid,title,image FROM class_prodimages WHERE id > 0 AND pid = in /home/aip/public_html/includes/classes/database/mysql.php on line 0 Notice: Query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 SQL: SELECT id,pid,title,image FROM class_prodimages WHERE id < 0 AND pid = in /home/aip/public_html/includes/classes/database/mysql.php on line 0 I am running version 3.1.7 and have already tried replacing the includes/init.php and the includes/classes/database/mysql.php file with the latest versions from version 3.1.10 but the error messages still show. Please advise. |
|
#2
|
||||
|
||||
|
I think I remember seeing this error posted somewhere here before I will se if I can find it.
On a side note, I really dont recommend updating just one or two files from a newer release without doing the complete upgrade and running the upgrade script. It may work, and you may also totally trash things.
__________________
Larry. |
|
#3
|
|||
|
|||
|
Thanks, I replaced the viewlisting.tpl and viewimage.tpl files and its working again now.
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trouble with photos | Kato | v3.1 Questions & Support | 1 | 03-23-2007 08:06 AM |
| Order of photos | bearcat | v3.0 Questions & Support | 3 | 11-04-2006 06:41 PM |
| Change button text when adding photos | Chad | v3.1 Questions & Support | 2 | 10-06-2006 02:20 PM |
| How do you get customers to load small photos? | cherubini | v3.1 Questions & Support | 11 | 07-15-2006 12:46 AM |
| Charging for extra photos | Bucketman | v3.0 Questions & Support | 3 | 04-04-2006 01:50 PM |