Topic: Cannot edit templates.

When I try to edit my templates I get the following error:


You don't have permission to access /cutenews/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Do I need to create something like a .htaccess file?

2 (edited by 2012-03-05 13:02:25)

Re: Cannot edit templates.

Not necessarily. depends upon how your server is set up.
Try setting the permissions on your data folder to 777. Some servers do not allow this and 755 or 644 is more secure.
The second part of the error message is means that your server has not got a 404.html file that visitors should see when a 404 error is generated. (file not found)

Re: Cannot edit templates.

Still does'nt work bro. I use host-ed webhosting.

Re: Cannot edit templates.

most people get it to work in such case by deleteing the .htaccess (hidden file)
Although it's not a safe thing to do.

5 (edited by 2012-03-05 15:26:09)

Re: Cannot edit templates.

There is no .htaccess file(hidden files are visible)

Is there a way to edit the templates externally?

6 (edited by 2012-03-05 19:08:30)

Re: Cannot edit templates.

You did look in the data folder?

7 (edited by 2012-03-05 19:57:53)

Re: Cannot edit templates.

Sorry, I thought he meant the root dir. But still no luck.

Re: Cannot edit templates.

.htaccess filles affect all files and subdirectories of the folder that they are in so start at the top directory and search down. Also check permissions on all folders.