Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Plugin Based Template Cache Details »»
Plugin Based Template Cache
Version: 1.0.3, by orban orban is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.5.4 Rating:
Released: 04-13-2006 Last Update: Never Installs: 55
Uses Plugins
Additional Files  
No support by the author.

3.6 Thread for Support

https://vborg.vbsupport.ru/showthread.php?t=121876

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #162  
Old 05-07-2006, 03:55 AM
vampireus vampireus is offline
 
Join Date: Jan 2005
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #163  
Old 05-07-2006, 08:28 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has your board heavy traffic? Shared hosting? PHP version? Are you using a PHP cache?
Reply With Quote
  #164  
Old 05-07-2006, 07:45 PM
vampireus vampireus is offline
 
Join Date: Jan 2005
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes my board has heavy traffic. Dedicated hosting. PHP 5.0.5. I'm using APC
Reply With Quote
  #165  
Old 05-07-2006, 07:46 PM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have heavey traffic also with no problems at all and i have alot of mods installed..
Reply With Quote
  #166  
Old 05-07-2006, 07:49 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #167  
Old 05-07-2006, 08:00 PM
FiX FiX is offline
 
Join Date: Sep 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #168  
Old 05-08-2006, 12:05 AM
vampireus vampireus is offline
 
Join Date: Jan 2005
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #169  
Old 05-08-2006, 09:42 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #170  
Old 05-09-2006, 10:17 PM
Coast to Coast Coast to Coast is offline
 
Join Date: Apr 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed for the Travel Adventures community
Reply With Quote
  #171  
Old 05-09-2006, 11:11 PM
dbembibre's Avatar
dbembibre dbembibre is offline
 
Join Date: Sep 2004
Location: Madrid (Spain)
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05057 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete