File isn't writable, check permissions

9 posts by 3 authors in: Forums > CMS Builder
Last Post: June 10, 2010   (RSS)

Hi, there.

I have CMSB on a client's site, which they've been using for over a year. Today, they're getting this error message when they go to the login page (http://www.bikramyogawhiterock.com/cmsAdmin/admin.php):

Error writing to 'D:/errata/uweb/bikramyogawhiterock/cmsAdmin/data/settings.dat.php'!
File isn't writable, check permissions!


Does anyone know why this is happening or what we should do about it?

Many thanks.
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] File isn't writable, check permissions

By Damon - May 20, 2010

Hi Nigel,

It sounds like the file permissions may have been reset.

Can you try setting the file permissions for settings.dat.php to writable (CHMOD 777)?

Let me know if that solves the issue.
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Damon] File isn't writable, check permissions

Hi, Damon.

I've just noticed that an error message is now appearing on some of the pages on the same site:

http://www.bikramyogawhiterock.com/media_photosDetail.php?Bikram-Yoga-At-the-Rock-07-6

Is this a related issue? If so, please can you advise me how to fix it?

Many thanks.
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] File isn't writable, check permissions

By Dave - June 9, 2010

Do a full backup right away via FTP just in case and then contact the host. They may have changed the filepaths, user account names, permissions or something like that.

Try updating the require_once lines to use relative paths. Instead of:
require_once(C:/errata/uweb/bikramyogawhiterock/cmsAdmin/lib/viewer_functions.php)

Try
require_once("cmsAdmin/lib/viewer_functions.php");

Let me know what happens.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] File isn't writable, check permissions

Hi, Dave.

Using relative paths delivered the same error message.

I've contacted the site's host to see if they can shed any light on this.

Thanks for your advice.

Regards,
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] File isn't writable, check permissions

By Dave - June 10, 2010

Hi Nigel,

Feel free to email me FTP and CMS login details and I can take a look. Email to dave@interactivetools.com.

Note: Email, don't post login details to the forum.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] File isn't writable, check permissions

Thanks, Dave. After consulting the site host, I've got things working now: http://www.bikramyogawhiterock.com/media_photosDetail.php?2-Year-Anniversary-Potluck-7
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] File isn't writable, check permissions

By Dave - June 10, 2010

Great, glad to hear it! Let us know if you need anything else. :)
Dave Edis - Senior Developer
interactivetools.com