Trying to save php file after using "Code Editor"

cmkelly29

Registered
Apr 13, 2009
2
0
51
Hello,

Novice "webmaster" here.

I've run into a problem recently. Whenever I try to edit my php code (using Code Editor), it accesses the file o.k. and I can edit as I please.

However, when I "Save Changes," I'm directed to:
NOT FOUND

The server was not able to find the document (./403.shtml) you requested.
Please check the url and try again. You might also want to report this
error to your web hosting provider.
I've sent in a query to the hosting company, but haven't seen a fix within 24 hours. Obviously, 24 hours is a short amount of time but I really can't afford to have my website sit in purgatory.

I was just curious as to whether anyone has any advice?

It appears the server wants to access a 403 error (which is strange to me), but that I don't have a 403 set up.

Any help would be greatly appreciated!

Thanks.
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
I was just curious as to whether anyone has any advice?
In your cPanel there is a section called Error Pages you might like to check out.

That 403.shtml its looking for would have said 403 Forbidden and is meant to basically, tell you you were not allowed to do something.

Never edit a file without making a copy of it first. Good rule of thumb to live by.

Get a good FTP client like Cute FTP (my choice) with a built in editor for this sort of task.

24 hours is too long to wait for an answer from a hosting company, IMHO.

I'm not sure though why after editing a file with the File Manager and you save it's redirecting to a 403, browser time out maybe? Your host should be more help there.

You might check the Error Log section of your cPanel for clues.

HTH!