Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Trying to save php file after using "Code Editor"

Discussion in 'General Discussion' started by cmkelly29, Jan 15, 2011.

  1. cmkelly29

    cmkelly29 Registered

    Joined:
    Apr 13, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    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:
    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.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,242
    Likes Received:
    385
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice