Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 01:35:46 PM

Pages: [1]   Go Down
  Print  
Author Topic: Zen Cart Warning  (Read 3408 times)
sdpamperin
Newbie
*
Offline Offline

Posts: 1


« on: July 10, 2009, 11:57:21 AM »

I have a problem with a zen cart warning.  It is the warning about being able to write to configuration files.  The tech support helped me fix the configuration files to 644 so they are not writable but told me to contact zen cart to find out why the warning wouldn't go away as they couldn't explain it.  Zen cart supplied an override.  But, I can't understand it.  They said to creat a new file: /includes/extra_datafiles/warnings_off.php  where do I create it file?  under what folder?  In filezilla?  Then it says to put in the following content ?<php define('WARN_CONFIG_WRITABLE', 'false');?>
How do I add that in the folder...is there a certain program I use as I have never done this.  I have UE and Filezilla do I use one of these?  How do I do this?  Thank you for any help you can provide.
Logged
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #1 on: July 10, 2009, 03:11:29 PM »

644 is writable. Change permissions to 444 and the warning should go away.
Logged

solar
Intergalactic Superstar
*****
Offline Offline

Posts: 182


« Reply #2 on: September 24, 2009, 10:28:56 AM »

I have the same issue, but am unable to change the file permissions from 644 to 444 on the Fantastico installation. I'm using Filezilla, as usual, and have never encountered that issue at Lunarpages before.

Directories within the installation are all 755, config files both are 644.

Interestingly, an installation from scratch (not Fantastico) which is only hours old in a different directory doesn't have that problem, file permission changes work as usual there. However, it did return "cURL not installed: warnings, which have now disappeared.

I've installed Zencart before on Lunar servers and never encountered this.

Does the Fantastico installation create some type of lock outside regular permissions?

Thank you for any help you can give.
Logged
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #3 on: September 24, 2009, 10:53:34 AM »

I have heard of FTP clients being unable to change permissions under certain circumstances, such as the file being listed under a different owner than usual. Can you change the permissions with cPanel > File Manager? Don't forget that you have to click the boxes on and off, and not overwrite the number (644 -> 444). You might get a listing of the files in that directory, via SSH shell access or a Cron Job, ls -laR and see if there's anything different about the file ownership or group.
Logged

solar
Intergalactic Superstar
*****
Offline Offline

Posts: 182


« Reply #4 on: September 24, 2009, 11:51:07 AM »

Hey, thanks.

I've done a lot of research since posting and have learned a few things. Quick resolution for anyone looking at this post for answers, however: use the File Manager in CPanel to change permissions down.

My results:
First, I went into CPanel and used the File Manager (which I find slower and more tedious to use, but am happy it's there) and had no problem changing down to 444.

Then through Filezilla, changed it back temporarily to 644, just to see if it could be changed down to 444 post-File Manager change. Nope. Couldn't be done.

Tested permission changes with another file, not in Zen Cart, with same results, just to confirm it wasn't a cart software issue.

Evidently, Filezilla doesn't permit changes to 444 through our ftp login. Wondering now about "owner" definition. Your advice to check that out is excellent. Thanks.

Also found information about encountering this problem in Zen Cart FAQs.

Hope this helps somebody. It was a lot of time spent trying to figure out why ftp was misbehaving, but inquiring minds want to know.

 Confused
« Last Edit: September 24, 2009, 12:01:57 PM by solar » Logged
Pages: [1]   Go Up
  Print  
 
Jump to: