Zen Cart Logo
Forums / General Questions / Locked my define pages. HELP!

Locked my define pages. HELP!

Locked

Views: 935

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Feb 2008, 8:14 PM
#1
jaqkapparel avatar

jaqkapparel

New Zenner

Join Date:
Feb 2008
Posts:
2
Plugin Contributions:
0

Locked my define pages. HELP!

I was reading the wiki on how to secure my store and followed the directions to make my define pages read only. After I set them to 644 I refreshed my store page only to see that I completely lost my main page. I tried to change the read-only setting in my FTP console for the define pages and received a permission denied error message.

Even in the Define Pages Editor in the admin I receive errors.

Please help! I don't know how to fix this.

(here's the store http://www.jaqkapparel.com/store/ )

27 Feb 2008, 4:22 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Locked my define pages. HELP!

For editing, setting the files and directories in:
/includes/languages/english/html_inludes

to 777 allow these to be written to via the Admin ...

NOTE: you should have a copy of the files in your templates and overrides directories that you are actually using for cusotmization:
/includes/languages/english/html_inludes/your_template_dir

27 Feb 2008, 5:28 AM
#3
serge111 avatar

serge111

New Zenner

Join Date:
Apr 2007
Posts:
57
Plugin Contributions:
0

Re: Locked my define pages. HELP!

you have to login as root, usually through SSH or TELNET, ( a good program for this is called PUTTY, google it). command to login as root is "su - root" su stands for super user.

if you are on shared hosting and cannot login as root you might want to contact your host's tech support for this, ive had that same problem but my sites run on a virtual dedicated server, so I can login as root

oh and i almost forgot, command to change permissions is CHMOD so you wanna do

CHMOD 777 filename

27 Feb 2008, 5:48 AM
#4
jaqkapparel avatar

jaqkapparel

New Zenner

Join Date:
Feb 2008
Posts:
2
Plugin Contributions:
0

Re: Locked my define pages. HELP!

problem solved. I ended up renaming the html_includes folder to html_includes1 which allowed me to change the file permissions one by one. probably not the most accurate way of doing things but it got the job done in case others have the same problem.

thanks for your help!