PlanetZ search
- roy thinnes
- Posts: 651
- Joined: Thu Jan 09, 2003 4:00 pm
- Location: Graz
- Contact:
hey, when I want to get the latest news here on PlanetZ, I'm getting this strange error message:
"phpBB was unable to query the forums database
Got error 28 from storage engine
SELECT u.user_id,f.forum_id, p.topic_id, u.username, p.post_time,t.topic_title,f.forum_name FROM posts p, posts_text pt, users u, forums f,topics t WHERE p.post_id = pt.post_id AND p.topic_id = t.topic_id AND p.forum_id = f.forum_id AND p.poster_id = u.user_id AND f.forum_type != 1 ORDER BY p.post_time desc LIMIT 200 " (...)
Am I missing something (sic!)?
"phpBB was unable to query the forums database
Got error 28 from storage engine
SELECT u.user_id,f.forum_id, p.topic_id, u.username, p.post_time,t.topic_title,f.forum_name FROM posts p, posts_text pt, users u, forums f,topics t WHERE p.post_id = pt.post_id AND p.topic_id = t.topic_id AND p.forum_id = f.forum_id AND p.poster_id = u.user_id AND f.forum_type != 1 ORDER BY p.post_time desc LIMIT 200 " (...)
Am I missing something (sic!)?
- roy thinnes
- Posts: 651
- Joined: Thu Jan 09, 2003 4:00 pm
- Location: Graz
- Contact:
- roy thinnes
- Posts: 651
- Joined: Thu Jan 09, 2003 4:00 pm
- Location: Graz
- Contact:
- John Cooper
- Moderator
- Posts: 1182
- Joined: Thu Mar 22, 2001 4:00 pm
- Location: Planet Z
- Contact:
- roy thinnes
- Posts: 651
- Joined: Thu Jan 09, 2003 4:00 pm
- Location: Graz
- Contact:
I'd think this is a rather server CPU/disk intense way just to get the most recent topics... I don't think I'd advise on that eh.
I've bookmarked Adern's like this, it has a php module to show posts since last visit. This is far more efficient on the server I think, and shows just what I need really quick. Not sure if that's possible here on z, since John's modified the php extensively back in the days...
I've bookmarked Adern's like this, it has a php module to show posts since last visit. This is far more efficient on the server I think, and shows just what I need really quick. Not sure if that's possible here on z, since John's modified the php extensively back in the days...
more has been done with less
https://soundcloud.com/at0m-studio
https://soundcloud.com/at0m-studio
-
- Posts: 2464
- Joined: Tue Jun 05, 2001 4:00 pm
- Location: Warsaw to Szczecin, Poland
- Contact:
When I'm on a particular computer for the first time all the folders are red (I mean PlanetZ folders) and that's ok. And then, after logging in, all the folders become yellow unabling me to see what's new. So the way you suggest (which works fine for me on my everyday computers) is not 100% usable.On 2006-02-23 19:51, hubird wrote:
that's new to me
I'm afraid you'll have to use cookies plus planetz folder colours instead![]()
- John Cooper
- Moderator
- Posts: 1182
- Joined: Thu Mar 22, 2001 4:00 pm
- Location: Planet Z
- Contact:
Hey guys,
I too have noticed some database errors on doing a big search. I think our database is getting so large that we're maxing out the server. The search code in the original phpBB uses a very inefficient sql query. bummer.
So I was inspired to write a new little search routine that might come in handy:
See the new "What's new?" link at next to the search button. It does a simpler search, just for the items that are new since your last visit date.
(This link is only visible when you're logged in).
Cheers,
-John
I too have noticed some database errors on doing a big search. I think our database is getting so large that we're maxing out the server. The search code in the original phpBB uses a very inefficient sql query. bummer.
So I was inspired to write a new little search routine that might come in handy:
See the new "What's new?" link at next to the search button. It does a simpler search, just for the items that are new since your last visit date.
(This link is only visible when you're logged in).
Cheers,
-John
- roy thinnes
- Posts: 651
- Joined: Thu Jan 09, 2003 4:00 pm
- Location: Graz
- Contact:
Excellent, that'll save some time and page reloads when checking the z 
Thanks John

Thanks John

more has been done with less
https://soundcloud.com/at0m-studio
https://soundcloud.com/at0m-studio
- John Cooper
- Moderator
- Posts: 1182
- Joined: Thu Mar 22, 2001 4:00 pm
- Location: Planet Z
- Contact: