Page 1 of 1

A problem with cache after modifications

Posted: Mon Sep 08, 2008 4:59 pm
by newty
Hi all (and sorry for my bad english :D)

I have a problem with cache with my site (not with the second site which i am making). After an update (modification) of a page, it's effective when i click to overview but not on the web site.

I am obliged to delete cache files in cache and tmp (cache, template_c) each time to be good... But before (with 1.3.0 or 1.3.1), it was good. Now, it's 1.4.1

And when i uncheck cachable in options, it's the same.

Thanks for your help :-p

Re: A problem with cache after modifications

Posted: Mon Sep 08, 2008 6:07 pm
by alby
newty wrote: Hi all (and sorry for my bad english :D)

I have a problem with cache with my site (not with the second site which i am making). After an update (modification) of a page, it's effective when i click to overview but not on the web site.

I am obliged to delete cache files in cache and tmp (cache, template_c) each time to be good... But before (with 1.3.0 or 1.3.1), it was good. Now, it's 1.4.1

And when i uncheck cachable in options, it's the same.
Check in System Information if it's all ok

Alby

Re: A problem with cache after modifications

Posted: Mon Sep 08, 2008 6:52 pm
by newty
here the informations system :

Version du CMS 1.4.1
Modules installés

CMSMailer 1.73.14
FileManager 0.4.1
MenuManager 1.5.1
ModuleManager 1.2.1
News 2.8.2
nuSOAP 1.0.1
Printing 0.2.5
Search 1.5.1
ThemeManager 1.0.8
TinyMCE 2.4.5
CGExtensions 1.9
TemplateExternalizer 1.0.4
SiteMapMadeSimple 1.1.3
FormBuilder 0.5.3
CGGoogleMaps 1.1
Captcha 0.3.1

Informations de configuration

php_memory_limit:
process_whole_template: false
max_upload_size: 10000000
default_upload_permission: 664
assume_mod_rewrite: true
page_extension:
internal_pretty_urls: true
use_hierarchy: true
root_url: http://www.azane.com/azane-new
root_path: //azane-new
previews_path: //azane-new/tmp/cache (2755) Valable
uploads_path: //azane-new/uploads (2755) Valable
uploads_url: http://www.azane.com/azane-new/uploads
image_uploads_path: //azane-new/uploads/images (2755) Valable
image_uploads_url: http://www.azane.com/azane-new/uploads/images
use_smarty_php_tags: false
debug: false
locale:
default_encoding:
admin_encoding: utf-8

Informations PHP :

Safe Mode PHP (safe_mode): On (Vrai) Attention
Version PHP courante (phpversion): 4.4.8-1 Attention
Mémoire Limite PHP effective (memory_limit): 128M Valable
Temps Maximum d'éxecution (max_execution_time): 180 Valable
Version GD (gd_version): 2 Valable
Chemin du dossier Session (session_save_path): /sessions/ (2750) Valable
Vérification si le processus httpd peut créer un fichier dans un nouveau dossier. (create_dir_and_file): Valable
PHP open_basedir (open_basedir): Valable
Taille maximum par méthode POST (post_max_size): 10M Valable
Taille maximum pour l'Upload (upload_max_filesize): 10M Valable
Informations serveur :
API serveur  (server_api): cgi-fcgi
Serveur de base de données  (server_db_type): MySQL (mysql)
Version du serveur de base de données  (server_db_version): 5.0.45 Valable
Version software du serveur  (server_software): Apache/1.3.34 (Ubuntu) mod_vhost_online/1.2 mod_fastcgi/2.4.2 mod_log_online/0.1
Système d'exploitation serveur  (server_os): Linux 2.6.23.17online On x86_64

Informations sur les Permissions

tmp: //azane-new/tmp (2755) Valable
templates_c: /azane-new/tmp/templates_c (2755) Valable
modules: //azane-new/modules (2755) Valable
Masque de création de fichier (umask) : /azane-new/tmp/cache (2755) Valable
config_file: 0644 Echec
CMS Made Simple 1.4.1 "Spring Garden"

Re: A problem with cache after modifications

Posted: Mon Sep 08, 2008 9:05 pm
by alby
newty wrote: Safe Mode PHP (safe_mode): On (Vrai) Attention
Safe mode disable is one of requirement of CMSMS
You delete cache files via admin panel or ftp?

Alby

Re: A problem with cache after modifications

Posted: Mon Sep 08, 2008 10:15 pm
by newty
ftp

Re: A problem with cache after modifications

Posted: Mon Sep 08, 2008 10:53 pm
by alby
Try with your ftp client (or use filezilla) to set permission 0777 on tmp, tmp/cache and tmp/templates_c

Alby

Re: A problem with cache after modifications

Posted: Tue Sep 09, 2008 10:10 am
by newty
I have 745 CHMOD but i can't modified. I'am hosted by Online.net

Re: A problem with cache after modifications

Posted: Tue Sep 09, 2008 7:15 pm
by alby
newty wrote: I have 745 CHMOD but i can't modified. I'am hosted by Online.net
you must ask to your provider for disable safe mode

Alby

Re: A problem with cache after modifications

Posted: Sun Jan 04, 2009 1:48 pm
by Mich-adg
Hi, i actually have the same problem !

I changed the permissions but nothing to do ! The strange thing is that i got many others sites without this problem, but on one hosting i have the problem with  version 1.3.1 and 1.5.1 of cmsms ! All of my sites have exactly the same server configuration (php, permissions etc.). I tried to resinstall, clear caches, clear database... always the same problem comes back.

Please help if you read any solution everywhere !

Re: A problem with cache after modifications

Posted: Sun Jan 04, 2009 5:36 pm
by Dr.CSS
Mich-adg  you need to post more info, go to Site Admin > System Information and it has a link for copy/pasting into here so we see it looks good or bad...

More info is always best...

Re: A problem with cache after modifications

Posted: Mon Jan 05, 2009 7:58 am
by Mich-adg
Ok Mark, here it is :

Code: Select all

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

Cms Version: [b]1.5.1[/b]

Installed Modules:

    * CMSMailer: [b]1.73.14[/b]
    * FileManager: [b]0.4.3[/b]
    * MenuManager: [b]1.5.3[/b]
    * ModuleManager: [b]1.2.1[/b]
    * News: [b]2.9.1[/b]
    * nuSOAP: [b]1.0.1[/b]
    * Printing: [b]0.2.6[/b]
    * Search: [b]1.5.2[/b]
    * ThemeManager: [b]1.0.8[/b]
    * TinyMCE: [b]2.4.10[/b]


Config Information:

    * php_memory_limit: [b][/b]
    * process_whole_template: [b]true[/b]
    * max_upload_size: [b]16000000[/b]
    * default_upload_permission: [b]664[/b]
    * assume_mod_rewrite: [b]false[/b]
    * page_extension: [b][/b]
    * internal_pretty_urls: [b]false[/b]
    * use_hierarchy: [b]false[/b]


Php Information:

    * phpversion: [b]4.4.9[/b]
    * md5_function: [b]On[/b] (Vrai)
    * gd_version: [b]2[/b]
    * tempnam_function: [b]On[/b] (Vrai)
    * magic_quotes_runtime: [b]Off[/b] (Faux)
    * memory_limit: [b]32M[/b]
    * max_execution_time: [b]30[/b]
    * safe_mode: [b]Off[/b] (Faux)
    * session_save_path: [b]/tmp[/b] (1777)


Server Information:

    * Server Api: [b]cgi[/b]
    * Server Db Type: [b]MySQL (mysql)[/b]
    * Server Db Version: [b]5.0.68[/b]


----------------------------------------------
I tried different things, the problem occurs when :

- i edit/modify a page
- i edit/modify an article template (editing an article works perfect !)
- i edit/modify a template

> until i clear the cache in cms the modifications are not visible online...

Re: A problem with cache after modifications

Posted: Mon Jan 05, 2009 11:46 am
by Mich-adg
Another information :

when i enable debug mode in config.php the modifications in a page are working immediately !!

Re: A problem with cache after modifications

Posted: Thu Jan 29, 2009 9:07 pm
by DaveMiller
CMSMS 1.5.2
I'm also having problems that whenever I change page content I need to clikc the Clear Cache button to have it update.
I'm trying to find out why.

In the process I came across admin.siteprefs.php line 436 where I think there is code missing to ever tick the clear_vc_cache checkbox.
All the other checkboxes have some.
Don't know it it's relevent but I thought I'd mention it.