Last page of particular topic causing SQL error

If you have any 'mechanical' forum or Joomla! sites related issues/suggestions, please contact the Sites & Infrastructure Workgroup here.

Moderators: brad, Tonie

Forum rules
Forum Rules
READ ME <-- please read before posting, this means YOU.
Post Reply
User avatar
Eelke
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Thu Jan 19, 2006 3:15 pm
Location: Hilversum, NL
Contact:

Last page of particular topic causing SQL error

Post by Eelke » Wed Feb 20, 2008 9:13 am

Hi all,

Edit: had to change description, because going to unread posts of other topics works fine.

It appears that when I try to get to the last page of the topic What happened to the forum today?, I get a SQL error:
General Error
SQL ERROR [ mysql4 ]

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 'u, phpbb_posts p WHERE p.poster_id = u.user_id' at line 2 [1064]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
This is regardless of how I try to get there (unread posts, go to the last post, go to the last page from pagination links.

I considered actually "contacting the board administrator", but I guess this will be a generic problem, so posting it here may prevent others from also doing that and causing a lot of duplicate reports.
Last edited by Eelke on Wed Feb 20, 2008 9:21 am, edited 1 time in total.

User avatar
Eelke
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Thu Jan 19, 2006 3:15 pm
Location: Hilversum, NL
Contact:

Re: Clicking new posts icon results in SQL error

Post by Eelke » Wed Feb 20, 2008 9:17 am

Edit: changed above description.

motokochan
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Aug 14, 2007 5:14 pm

Re: Last page of particular topic causing SQL error

Post by motokochan » Wed Feb 20, 2008 4:06 pm

There are comments on that issue here. Apparently, it is something to do with that exact page. Better an error like that than a db crash, however.
Motoko-chan
Marketing Agent / Assistant Project Manager
Simple Machines

diri
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Wed Sep 21, 2005 9:27 am
Location: Somewhere

Re: Last page of particular topic causing SQL error

Post by diri » Wed Feb 20, 2008 4:20 pm

motokochan wrote:Apparently, it is something to do with that exact page. Better an error like that than a db crash, however.
I don't believe it is something related to this very page. It can be displayed choosing some option.

There are problems with DB and phpBB at this very server at least (time outs, server not responding, ...). I wish Joomla! devs would be able to concentrate on their product and not starting adventure tours which force them to fix "foreign" products. :(

User avatar
Eelke
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Thu Jan 19, 2006 3:15 pm
Location: Hilversum, NL
Contact:

Re: Last page of particular topic causing SQL error

Post by Eelke » Wed Feb 20, 2008 9:09 pm

motokochan wrote:There are comments on that issue here.
I know. That topic was opened after I opened mine, though ;)

User avatar
brad
Joomla! Hero
Joomla! Hero
Posts: 2212
Joined: Fri Aug 12, 2005 12:38 am
Skype: tested
Location: Sydney - Australia
Contact:

Re: Last page of particular topic causing SQL error

Post by brad » Wed Feb 20, 2008 10:59 pm

Ok, been working on this today. Fixed up something in the only 3rd party mod we had installed and also migrated some db tables to innodb.

Let's see how this goes now.
Brad Baker - Joomla! Core Team, Sites & Infrastructure.
http://www.rochen.com - Managed Dedicated, Reseller & Multiple Domain Hosting.
http://www.joomlatutorials.com <-- Joomla! 1.5 & 1.0.x
^New Joomla 1.5 Tutorials are out!


Post Reply