vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Optimizing Forumhome (https://vborg.vbsupport.ru/showthread.php?t=46848)

Xenon 01-04-2003 09:50 AM

hmm, then the error seems a bit confusing to me...

maybe you can try this:
instead of
PHP Code:

$DB_site->query('DELETE FROM cache_forumhome WHERE userid=' $bbuserinfo[userid] . iif($numbersmembers['lastpost']>(time()-3600*5), ' OR lastpost<'.(time()-3600*5),'')); 

use smaller values as the timespan:
PHP Code:

$DB_site->query('DELETE FROM cache_forumhome WHERE userid=' $bbuserinfo[userid] . iif($numbersmembers['lastpost']>(time()-3600*3), ' OR lastpost<'.(time()-3600*3),'')); 


nuno 01-04-2003 09:52 AM

heh Xenon, could it be some kind of caching proggie, Martin's problem?

Xenon 01-04-2003 10:04 AM

i really have no idea what the problem could be...
Quote:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4081664 bytes)
4081664 < 8388608, so it shouldn't be an error....

You mean a caching proggie on the server right?
Well i haven't seen any till now, so i don't know how they work exactly, i wouldn't say this would be the problem, but i can't say for sure :)

nuno 01-04-2003 10:31 AM

Yup, something like php cache, apc used to do that, the memory errors.
Wild guess i think.

Xenon 01-04-2003 03:38 PM

hmm, maybe you're right, i don't know these scripts.
but it could be, the hack is ok....
also if this is the bug with those cach?ng software, i can't do anything :)

Martin CX 01-04-2003 04:32 PM

Is there some way of finding out if this is the problem?

Xenon 01-04-2003 04:37 PM

hmm, disable the software ;)

Martin CX 01-04-2003 04:42 PM

Quote:

Originally posted by Xenon
hmm, disable the software ;)
But WHAT software? :confused: What software is it that might cause these problems, and how can I check whether it is installed? (Sorry for all my whining ;))

nuno 01-04-2003 05:29 PM

Is it a dedicated or shared server?
FreeBSD, Linux, Windoze?
Upload this code into your forums folder
Code:

<?
phpinfo();
?>

Save it as phpinfo.php
You should see something like
Quote:

This program makes use of the Zend scripting language engine:
Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
with Your accelerator software credits go here

Martin CX 01-04-2003 06:18 PM

Nope. It just says
Quote:

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.1.1, Copyright (c) 1998-2001 Zend Technologies
And it's Linux, BTW.


All times are GMT. The time now is 07:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02293 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete