|
|
#1 |
|
Senior Member
Join Date: Apr 2006
Posts: 126
Rep Power: 14 ![]() |
When viewing a listing if I click on the image to see the large image I receive the following error.
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 C:\Websites\tbdiaries\includes\classes\database\my sql.php on line 119 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 C:\Websites\tbdiaries\includes\classes\database\my sql.php on line 119 I carried out the fix recommended by Eric more large image errors Here is the fix. Open the template file user/userlistinginfo.tpl.php and replace everything with this: Which I did, but it has not made any difference. I only replaced the text in the userlistinginfo.tpl.php file in the template I was using. Do I need to replace the text in all of the userlistinginfo.tpl.php files in the other templates not being used? If not any idea what else to change to fix it? Thanks Hugh |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: May 2006
Location: Canada
Posts: 14
Rep Power: 12 ![]() |
Hi Hugh - did you see this thread-->
Thumbnails in ads give popup window w/ error I fought this one problem too and got it sorted out between the post you refered to and this one above. |
|
|
|
|
|
#3 | |
|
Senior Member
Join Date: Apr 2006
Posts: 126
Rep Power: 14 ![]() |
Hello Frosty
Thanks for the info. That was helpful. Eric said Quote:
Can anyone tell me which folder it is in? Many thanks Hugh |
|
|
|
|
|
|
#4 | |
|
Senior Member
Join Date: Apr 2006
Posts: 126
Rep Power: 14 ![]() |
Quote:
Can you tell me where to find the stock view image template? Thanks Hugh |
|
|
|
|
|
|
#5 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,439
Rep Power: 101 ![]() |
In v3.1 it has the template editor. So just browse to the viewimage.tpl.php and click the compare button and it will show you the differences.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error on loading images | manilaboy | v3.1 Questions & Support | 2 | 10-26-2006 01:45 PM |
| Strange Issue Cycling Through Images | bgordon | v3.1 Questions & Support | 2 | 09-15-2006 09:58 AM |
| more large image errors | frosty | v3.1 Questions & Support | 2 | 05-17-2006 12:28 PM |
| Images in Viewlisting not showing | Bucketman | v3.1 Questions & Support | 9 | 05-05-2006 11:46 AM |
| Featured images | quickbiz | v3.0 Questions & Support | 2 | 04-10-2006 10:22 AM |