vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Board Optimization - Plugin Based Template Cache (https://vborg.vbsupport.ru/showthread.php?t=113002)

vampireus 05-07-2006 03:55 AM

Quote:

Originally Posted by orban
normal login/logout or admincp/modcp login/logout?

Any PHP errors? Might be a problem with a PHP error that prevents cookies being set. Check your logs if possible. And are you still running 3.5.2? Maybe upgrade to 3.5.4.

I'm using vB 3.5.4. Now I get blank pages randomly after using the mod for a while. Clear the cache will fix it, no PHP errors.

orban 05-07-2006 08:28 AM

Has your board heavy traffic? Shared hosting? PHP version? Are you using a PHP cache?

vampireus 05-07-2006 07:45 PM

Yes my board has heavy traffic. Dedicated hosting. PHP 5.0.5. I'm using APC

DementedMindz 05-07-2006 07:46 PM

i have heavey traffic also with no problems at all and i have alot of mods installed..

orban 05-07-2006 07:49 PM

You *should* run PHP 5.1, PHP 5.0 is not recommended by PHP I think.

Blank page? That usually sounds like a parsing error or something. Can you check all the files in the templates/ folder if they are empty? Or somehow corrupted? APC cache too small?

FiX 05-07-2006 08:00 PM

I installed it without any problems, but it does not cache anything. The /templates folder ist chmode 777, but no files appear when browsing the forums

any ideas?

(yes it is enabled)

vampireus 05-08-2006 12:05 AM

I would like to upgrade PHP too, but my board's webmaster don't want to cuz the database is over 5GB.

Here is APC conifg, anything I should change? apc.max_file_size 1M is too small, maybe?

apc.cache_by_default On On
apc.enable_cli Off Off
apc.enabled On On
apc.file_update_protection 2 2
apc.filters no value no value
apc.gc_ttl 3600 3600
apc.max_file_size 1M 1M
apc.mmap_file_mask no value no value
apc.num_files_hint 1000 1000
apc.optimization Off Off
apc.shm_segments 1 1
apc.shm_size 64 64
apc.slam_defense Off Off
apc.ttl 0 0
apc.user_entries_hint 100 100
apc.user_ttl 0 0

Nothing's wrong with files in folder templates.

orban 05-08-2006 09:42 AM

Quote:

Originally Posted by FiX
I installed it without any problems, but it does not cache anything. The /templates folder ist chmode 777, but no files appear when browsing the forums

any ideas?

(yes it is enabled)

Mmhh, that's a tough one. Is the templates/ folder in your forums/ directory?

If you know PHP you could try to change the relative paths in the template_cache.php to absolule paths?

Running safe mode? Or SuEXEC PHP or something similar? Seems like it's a permission problem to be honest...

Quote:

Originally Posted by vampireus
I would like to upgrade PHP too, but my board's webmaster don't want to cuz the database is over 5GB.

Here is APC conifg, anything I should change? apc.max_file_size 1M is too small, maybe?

apc.cache_by_default On On
apc.enable_cli Off Off
apc.enabled On On
apc.file_update_protection 2 2
apc.filters no value no value
apc.gc_ttl 3600 3600
apc.max_file_size 1M 1M
apc.mmap_file_mask no value no value
apc.num_files_hint 1000 1000
apc.optimization Off Off
apc.shm_segments 1 1
apc.shm_size 64 64
apc.slam_defense Off Off
apc.ttl 0 0
apc.user_entries_hint 100 100
apc.user_ttl 0 0

Nothing's wrong with files in folder templates.

Mine is 64mb too and that's enough...hm. My max_file_size is 1mb too. What is the full http request on the blank page? Just "HTTP/1.x 200 OK" and "Content-Length: 0"? Or some error?

Do you log PHP errors to a file?

Coast to Coast 05-09-2006 10:17 PM

Installed for the Travel Adventures community

dbembibre 05-09-2006 11:11 PM

Is posible add a new param in ACP->Forum Options->Template cache to change the standard dir templates to another dir ??
I wont change the standard dir /forum/templates to another drive to gain in speed.

Another question, is recommended disable the vBulletin datastore cache with this hack or not ?

Excuse my broken English


All times are GMT. The time now is 03:19 PM.

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.01310 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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