 | |  | |
February 26th, 2008, 09:51 AM
|
#1 (permalink)
| | Guest | MySQL Error Quote:
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT categories.title AS cattitle, categories.description AS catdesc, images.imageid, username, images.userid, images.title, images.catid, dateline, images.description, keywords, filename, thumbname, width, height, extension, filesize, originalname, originalfilesize, originalwidth, originalheight, views, posts, valid, open, sticky, votenum, votetotal, options, catimage, catuserid, membercat, useroptions, adv_setting, customfields.*
L
L
L
FROM ppgal_images AS images
LEFT JOIN ppgal_categories AS categories ON (images.catid = categories.catid)
LEFT JOIN ppgal_customfields_entries AS customfields ON (images.imageid = customfields.imgid)
L
L
L
WHERE images.imageid = '14673';
MySQL Error : 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 'L
L
FROM ppgal_images AS images
LEFT JOIN ppgal_categories AS categories O' at line 3
Error Number : 1064
Date : Tuesday, February 26th 2008 @ 08:59:12 AM
Script : http://www.tripsmarter.com/gallery/s...atid=newimages
Referrer : http://www.tripsmarter.com/gallery/
Classname : vb_database
|
I started getting this error last Friday when a logged in user tried to view an image, so I upgraded from 2.0 to the current version.
I'm still getting this error when someone is logged in after the upgrade.
I had problems upgrading, it stalled halfway through. I had to restore my DB and upgrade again. Everything seems fine except for this error and I don't have the vBGallery dropdown in the left hand nav of the admincp.
The post below is the exact same error: http://www.photopost.com/forum/archi.../t-134331.html | |
| |
February 26th, 2008, 08:55 PM
|
#2 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
Have you add a PHP cache software to the server ?
|
| |
February 27th, 2008, 09:19 AM
|
#3 (permalink)
| | Guest |
The only software that we've added is phpmotion (youtube clone), but that was 3+ weeks ago. I started getting this error last Friday 02-22-2008.
I edited some of the templates/core files for the gallery, but on the upgrade every file/template was replaced.
| |
| |
September 3rd, 2008, 03:08 PM
|
#4 (permalink)
| | Guest |
In case anyone else has this problem, I commented out lines 295-297 and lines 301-303 in showimage.php (see below). I haven't seen any adverse effects. 295 - /*$query[favfields]
296 - $query[subfields]
297 - $query[exiffields]*/
298 - FROM " . TABLE_PREFIX . "ppgal_images AS images
299 - LEFT JOIN " . TABLE_PREFIX ."ppgal_categories AS categories ON (images.catid = categories.catid)
300 - LEFT JOIN " . TABLE_PREFIX . "ppgal_customfields_entries AS customfields ON (images.imageid = customfields.imgid) 301 - /*$query[favjoin]
302 - $query[subjoin]
303 - $query[exifjoin]*/
Last edited by tripsmarter.com; September 3rd, 2008 at 03:08 PM.
Reason: spelling
| |
| |
September 4th, 2008, 12:48 AM
|
#5 (permalink)
| | Registered User
Join Date: Aug 2005
Posts: 1,229
| Quote:
Originally Posted by tripsmarter.com In case anyone else has this problem, I commented out lines 295-297 and lines 301-303 in showimage.php (see below). I haven't seen any adverse effects. 295 - /*$query[favfields]
296 - $query[subfields]
297 - $query[exiffields]*/
298 - FROM " . TABLE_PREFIX . "ppgal_images AS images
299 - LEFT JOIN " . TABLE_PREFIX ."ppgal_categories AS categories ON (images.catid = categories.catid)
300 - LEFT JOIN " . TABLE_PREFIX . "ppgal_customfields_entries AS customfields ON (images.imageid = customfields.imgid) 301 - /*$query[favjoin]
302 - $query[subjoin]
303 - $query[exifjoin]*/ | Well there will be some adverse effects...
$query[subfields] AND $query[subjoin]
==> you will not see any custom fields.. (thats ok if you dont have defined any)
$query[exiffields] AND $query[exifjoin]
==> thats ok.. because it never really worked...
BUT $query[favfields] AND $query[favjoin]
==> you will loose some favorites functionality!!!!
try to reenable those last 2 (by not commenting them out)
Luc
|
| | |
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 | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | MySQL Error | xowi | Installs and Upgrade - vBulletin 3.6x | 3 | March 27th, 2007 12:34 PM | | MySQL error | farina | Classifieds How do I...? | 3 | March 17th, 2007 09:50 AM | | MySQL error | Rich Z | Classifieds Bug Reports | 4 | May 22nd, 2005 10:58 AM | | Mysql error | Reynaldo | Installs and Upgrade - vBulletin 3.0.X | 2 | January 23rd, 2005 11:00 AM | | HELP! MySQL error | scrap32 | Photopost Pro Installation & Upgrades | 1 | November 15th, 2004 12:18 PM | All times are GMT -5. The time now is 12:20 PM. | |