The content was successfully updated - but changes not visible!!!

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
ottom
Forum Members
Forum Members
Posts: 13
Joined: Sun Jul 13, 2008 1:27 pm

The content was successfully updated - but changes not visible!!!

Post by ottom »

I am running CMS Made Simple 1.2 and everything have worked well till now: the problem is that I cannot apply changes to contents.

I am logged in as admin. Now I open content of a site and change it. When I click on "apply" I recieve the message "The content was successfully updated.". But when I refresh my website or open the preview, the old contents are displayed. When I refresh the editor by pressing F5 it is also reloaded with contents before the change have been made and applied.


I have no Idea where to look and what has happened! Any suggestions?!
kateb
Forum Members
Forum Members
Posts: 13
Joined: Sun Jul 13, 2008 2:58 pm

Re: The content was successfully updated - but changes not visible!!!

Post by kateb »

Hi ottom,

Have you tried clearing the cache?  You do this by Site Admin > Global Settings > hit the "clear" button next to "clear cache".

If this doesn't work you may want to check your file write permissions. A list of what the permissions should be are founde in the install documentation. I have copied these below.

If that doesn't work for you then check out this post: http://forum.cmsmadesimple.org/index.ph ... 481.0.html

------------------------------------------------
Step 4 (from install documentation)

For the script to access the folder properly, you need to change permissions of the following files and directories on the server. The required permissions are different, depending upon what account PHP runs under on your web server.

If you do not know what user PHP runs as, ask your hosting provider or server administrator.

If the web server process (Apache, for instance, often known as "httpd", "nobody", "www-data", etc) runs PHP and "owns" the files that it writes, then you'll need to use 777 permissions on directories that need to be writable, and 666 on files that need to be. The reason for this is, while you (your user) may own the directories and files, another user (the web server) needs to be able to write in/to them.

CHMOD these directories to 777:

tmp
tmp/templates_c
tmp/cache
uploads
uploads/images
modules

CHMOD?!? Well, in most cases you can alter the permissions by right-clicking in your FTP program on the directory or file in question, selecting CHMOD or File Attributes (or something similar) and enter 777 in the appropriate field. Otherwise, check the manual of your FTP program.

If you (your user account) runs PHP (such as in a suexec PHP/cgi environment), then typically, no changes are needed on permissions of CMSMS files. Use permissions of 755 for directories, and 644 for files; and never CHMOD anything to 777. In this environment, PHP files (and the directories they are located in) can only be writable by the user; not by 'group', and never by 'other' (world-writable). If scripts seem to abruptly terminate and you see errors (500 status code) in your logs, it could be because a script or a directory containing one is writable by 'group' or 'other'.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: The content was successfully updated - but changes not visible!!!

Post by Dr.CSS »

You should upgrade ASAP or you may get hacked if not already suffering from it...
Post Reply

Return to “CMSMS Core”