Page 1 of 1

Buffer problem

Posted: Tue Oct 04, 2011 8:31 am
by Sheaffer
Hello.

I have this strange problem with my CMSMS installation. In short:

Every time I make a change to either a template/stylesheet or a page, this works fine and the change is immediately visible on the website. However, the next change I make, is not.

This is definitely a cache/buffer problem imo, because when I clear the cache after change #2, it works and the change is visible.

I have disabled the "browser buffer" by setting the time to 0. The clear server buffer time is also set to 0. I have disabled buffering on all of my pages. Permissions on cache and templates_c are ok.

This is the system info:

----------------------------------------------

Cms Version: 1.9.4.2

Installed Modules:
CMSMailer: 2.0.1
FileManager: 1.1.0
MenuManager: 1.7.6
ModuleManager: 1.4.2
News: 2.11.3
nuSOAP: 1.0.2
Printing: 1.1.2
Search: 1.6.10
ThemeManager: 1.1.4
TinyMCE: 2.8.4


Config Information:
php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 2000000
default_upload_permission: 664
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:
phpversion: 5.2.4-2ubuntu5.17
md5_function: Aan (Waar)
gd_version: 2
tempnam_function: Aan (Waar)
magic_quotes_runtime: Uit (Onwaar)
E_STRICT: 0
memory_limit: 64M
max_execution_time: 30
output_buffering: 0
safe_mode: Uit (Onwaar)
file_uploads: Aan (Waar)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: /var/lib/php5 (1777)
session_use_cookies: Aan (Waar)
xml_function: Aan (Waar)


Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.41


----------------------------------------------

I did use the search on both this forum (cache problem/buffer problem) and google but could not find someone having this same problem.

Thanks very much in advance for any help.

Re: Buffer problem

Posted: Tue Oct 04, 2011 2:58 pm
by spcherub
Curious. Have you eliminated your browser as a potential source for this problem? If not, there are a couple of things you could try:
1. Try another browser

2. Using existing browser:
- Restore CMSMS cache settings to default (enable caching)
- Empty browser cache
- Make change to site
- View in browser
- Empty browser cache again
- Make another chance to site
- View in browser

If either of these "fixes" the problem, there may be something off with your browser settings/preferences.

If you've already tried this, then you can look into the following:
- Server error logs, for problems writing to the cache directories
- Server error logs, for any transient problems connecting to the database

Hope that helps.
-S

Re: Buffer problem

Posted: Wed Oct 05, 2011 6:30 am
by Sheaffer
Hi,

Thanks for replying. The browser is not the problem here, I am afraid. I have used multiple browsers (5) and multiple computers in different networks even. It really seems to be a server problem.

Unfortunately, I just found out I have not got access to the server logs. Is there anything else I can perhaps check/try? Will contact the hosting provider about the logs.

Is is possible to disable any buffering/caching on CMSMS? We're talking about a small site with low traffic so that would be a nice "solution".