![]() |
d3nnis:
Do you have access to server's shell? If so, what's output of "ls -l /proc/loadavg" and "ls -ld /proc" ? Anyway, you might want to revert to previous version of the hack for the time being... |
/me clicks install. Thanks Erwin.
|
Quote:
the server is owned by me. I will check it out tonite when i am back home. :) |
Quote:
that will be great! by the way what kind of problem does uncached templates gives? increase server load? |
Quote:
To find out what templates are uncached, one have to run the script in debug mode. Of course tt could be done simply by putting $debug=1; at the beginning of the script, but you don't want to scare your users, do you? :) So you can install one of the following hacks to restrict debug mode to certain users/groups/IPs: https://vborg.vbsupport.ru/showthread.php?t=59605 https://vborg.vbsupport.ru/showthread.php?t=61242 After installation, you'll have a table of template usage at the bottom of debugged page, with uncached templates highlighted. To cache template simply edit debugged script and add template name to globaltemplates array which is usually defined at the very top of the script. |
Quote:
here's my output root@xxx [~]# ls -l /proc/loadavg -r--r--r-- 1 root root 0 Apr 22 20:20 /proc/loadavg root@xxx [~]# ls -ld /proc dr-xr-xr-x 286 root root 0 Apr 22 07:06 /proc/ |
Quote:
i written my TOS page , http://forums.keeptouch.net/tos.php using this code : Code:
<?php Code:
|
Quote:
What is output of this script: PHP Code:
|
Quote:
nope, safe mode definitely not on :) my output of this script is file_get_contents: 1 safe_mode: |
Very weird.
Ok, what does "cat /proc/loadavg" show when run in the command line? And since we're so deep in testing, what's output of this php script: PHP Code:
|
All times are GMT. The time now is 11:02 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|