Mike's CommunityCommercial ProjectsSIMGallerySimgallery errors with joomla 1.5.8 and CB 1.2 RC 3
Pages: [1]
Print
Author Topic: Simgallery errors with joomla 1.5.8 and CB 1.2 RC 3  (Read 225 times)
ahume

Newbie
*

Karma: +4/-0
Posts: 14


View Profile

Licenses Owned:
AJAX Sandbox
ParaInvite
ParaInvite
ParaInvite Pro
ParaInvite Pro
AJAX Sandbox Pro
SIMGallery
Allow Public View
Profile AdSense
ParaInvite Pro
« on: November 17, 2008, 10:43:02 PM »

Mike,
 
Hi, I think I found a bug. Simgallery won't let me publish any comments, comments box will show but after writting a comment Simgal kicks me out of my site and asks me to log in again to place a comment. I'm using Joomla 1.5.8, sh404sef but it's disabled for Simgal, CB 1.2 RC 3 and Simgal 1.0.9 I did a clean install and I turned on debug on Joomla, this is what I found: 500 - JDatabaseMySQL::query: 1064 - 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 COUNT ( * ) FROM jos_simgallery_comments WHERE `cmtpic`=
 
I went to line 213 on /components/com_comprofiler/plugin/user/plug_simgallery/simgallery.php and I found this:
 
line 212: $_CB_database->setQuery("SELECT COUNT ( * ) FROM #__simgallery_comments WHERE `cmtpic`=$photo->id");
line 213: $comments = $_CB_database->loadResult();
 
Besides the fact it won't let me publish comments, comments box shows like a regular textbox, no emoticons show on top of it. Please help, as this is an issue many others could face when they upgrade to J 1.5.8 and CB 1.2 RC 3.
 
Related issues:
http://mike.simbunch.com/Forum/SIMGallery/804-FIXED-Comments-avatar-and-link-/
http://mike.simbunch.com/Forum/SIMGallery/786-User-Avatar-amp-Username/
 
Any suggestion to fix it please?

Thanks
Alex

P.D. Sorry for the replay.. but something happen with the first topic.
Logged
p9939068

I am Mike
Administrator
Hero Member
*****

Karma: +74/-11
Posts: 1420


View Profile

Licenses Owned:
AJAX Sandbox Pro
AJAX Sandbox
ParaInvite Pro
ParaInvite
Profile AdSense
Allow Public View
AJAX Polls
SIMGallery
« Reply #1 on: November 21, 2008, 06:43:59 PM »

Fixed, please download and reinstall the CB plugin.
Logged


Support Joomla - Support Freedom
ahume

Newbie
*

Karma: +4/-0
Posts: 14


View Profile

Licenses Owned:
AJAX Sandbox
ParaInvite
ParaInvite
ParaInvite Pro
ParaInvite Pro
AJAX Sandbox Pro
SIMGallery
Allow Public View
Profile AdSense
ParaInvite Pro
« Reply #2 on: November 22, 2008, 11:21:59 AM »

Hi Mike,

thanks, I downloaded latest files, uninstalled and installed new versions, but issue with commens not being recorded and bbcode not being shown are still, there...

Please help again.
Alex Sad
Logged
Pages: [1]
Print
Jump to: