Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2009
    Location
    Des Moines, Iowa USA
    Posts
    580
    Plugin Contributions
    0

    Default Cpanel for editting

    Trying to get my upgrade finished and come across this:

    Do not edit files thru the Cpanel - use a text editor such as CrimsonEditor.
    Newbie q?
    can someone elaborate on this as why this is -- and what are the problems that can be created?

    TIA

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Cpanel for editting

    cpanel editor is not designed for php files
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

    Default Re: Cpanel for editting

    Basically, when choosing to "save" the file as a result of the editor not really being php friendly as kobra stated, the information may look like it is saved properly, but the file will not behave correctly. This "problem" is not necessarily something that is visible to the standard web page guest but is at the level of the bytes and data.

    Basically errors can/will occur, it will seem like everything is correct, but there is information that is not displayed to the screen without other tools that will cause problems.

    Further there are some text editors to also avoid if possible. Try to stay with the typical editors suggested on the site, they seem to work well nd why have any more headaches. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Cpanel for editting

    Quote Originally Posted by stitchnkitty View Post
    Newbie q?
    can someone elaborate on this as why this is -- and what are the problems that can be created?
    Just to help confuse things <g>, Cpanel has several different editors, one for HTML, one for 'code', and one for 'text'.

    I've never used the HTML editor (I've always had something else available that I'm familiar with).

    The 'code' editor really sucks. It's very slow except on really small files. It does make code look 'pretty' though. :) I don't trust this for editing at all.

    The 'text' editor is one I've come to trust for those edits that really must be done on a live site and/or for quick n dirty hacks. If it has ever caused me any problems it was so long ago that I've forgotten about them.

    Having said that, for most people, you are far better off to download and edit the files locally. It's easy to keep backups that way (and all files should be backup up before any edits take place).

    Cheers
    RodG

  5. #5
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Cpanel for editting

    Quote Originally Posted by RodG View Post
    Just to help confuse things <g>, Cpanel has several different editors, one for HTML, one for 'code', and one for 'text'.

    I've never used the HTML editor (I've always had something else available that I'm familiar with).

    The 'code' editor really sucks. It's very slow except on really small files. It does make code look 'pretty' though. :) I don't trust this for editing at all.
    Agree

    Quote Originally Posted by RodG View Post
    The 'text' editor is one I've come to trust for those edits that really must be done on a live site and/or for quick n dirty hacks. If it has ever caused me any problems it was so long ago that I've forgotten about them.

    Having said that, for most people, you are far better off to download and edit the files locally. It's easy to keep backups that way (and all files should be backup up before any edits take place).

    Cheers
    RodG
    I for one use the Cpanel 'text' editor for every edit made to my Demo Dev sites and have never had any issues. It provides quick n dirty hacks as RodG says.

    I do many edits using the browsers web developer tools, copy/paste to the Cpanel 'text' editor and again without issues.

    I think the main reason not to do this on a live site is due to missing bits and pieces of code that will result in 'blank pages' for your visitors.

    Create a sub-folder, do a separate ZC install and make your edits there first.

    My opinion of course.

  6. #6
    Join Date
    Jun 2009
    Location
    Des Moines, Iowa USA
    Posts
    580
    Plugin Contributions
    0

    Default Re: Cpanel for editting

    TY for all the great info since I am having problems working with my site.. I will eliminate one possible problem by getting intimate with CrimsonE

  7. #7
    Join Date
    Oct 2013
    Location
    120 Wilshire Blvd,Brentwood,NY,11717
    Posts
    94
    Plugin Contributions
    0

    Default Re: Cpanel for editting

    I used notepad for editing files, It works great

  8. #8
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

    Default Re: Cpanel for editting

    Quote Originally Posted by hunteryz View Post
    I used notepad for editing files, It works great
    Haven't tried it yet, but there is notepad++. I typically use netbeans because of the various cross-check features available such as parentheses matching (and other types of enclosures), visual formatting/color coding, in line code checking (for that missing semi-colon, etc.

    For the quick edit, from ftp program open the file (notepad also) make change, select save, go back to ftp and am asked to update the file. Clear cache as necessary and off I go.

    There are plenty of tools, each have their strengths and desired improvements. I will say that netbeans seems to use a lot of resources, but I may have also installed some extra features of little importance.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Cpanel for editting

    The basic Notepad with certain settings can corrupt PHP files, as a minimum by double-spacing all lines, and possibly inserting characters that will cause errors. It may work fine if you are sure of having the right settings, but I always use Notepad++, which has plenty of code-handling features (not sure how it compares to Netbeans).

 

 

Similar Threads

  1. editting interface
    By MHulak in forum Customization from the Admin
    Replies: 1
    Last Post: 30 Apr 2012, 05:48 AM
  2. Customers asked for cpanel login!
    By dragonun in forum Customization from the Admin
    Replies: 9
    Last Post: 13 Sep 2010, 10:52 PM
  3. Breadcrumb Editting
    By mm8303 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Oct 2009, 03:58 AM
  4. Editting Sidebox !
    By ff7799 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Aug 2006, 11:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR