The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Case 103453] Issue with cPanel File Manager text editor?

Discussion in 'General Discussion' started by Liam W, Jun 5, 2014.

  1. Liam W

    Liam W Active Member

    Joined:
    Jul 8, 2012
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Barrow-in-Furness, Cumbria, United Kingdom
    cPanel Access Level:
    Root Administrator
    Twitter:
    When editing or creating a file in the text editor of the file manager, it appears to add loads of spaces at the beginning and end of the file...

    This causes issues, especially with php scripts, as those spaces cause header output to fail resulting in a fatal error.

    Is this a known issue, or is it just an issue with my server?

    Liam
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I have been unable to reproduce this issue. Could you open a support ticket so we can reproduce the issue on your machine and attempt to determine why it's happening? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  3. Liam W

    Liam W Active Member

    Joined:
    Jul 8, 2012
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Barrow-in-Furness, Cumbria, United Kingdom
    cPanel Access Level:
    Root Administrator
    Twitter:
    Will do :)

    - - - Updated - - -

    The ticket is #5043903.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    To update, internal case number 103453 has been opened to address the issue with where additional spaces are prepended and appended in the content of a file when using the "File Editor" feature in File Manager on the Paper Lantern theme. Please monitor our change log for this case number in a future build of cPanel:

    Change Logs

    Thank you.
     
  5. jvall

    jvall Member

    Joined:
    Oct 9, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello...I have had 3 clients recently using the Paper Lantern theme that when opening a file using the file editor in file manager that a bunch of spaces are prepended to the beginning of the file before the "<?php" tag. So when they edit and save the file without removing the spaces before that tag, there are issues because of header outputs.

    I looked at the change logs for case number 103453, and it says that it has been fixed on 8/13/2014, but apparently not so since the editor still opens the file with spaces at the beginning. I have noticed it only does this with the "Paper Lantern" theme.

    "Fixed case 103453: Fixed issue with file editor appending/prepending white spaces."
     
  6. jvall

    jvall Member

    Joined:
    Oct 9, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner

    Any reply to this one??
     
  7. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    We were able to reproduce the problem, and handled it in case 110241. It appears to be fixed in 11.46.
     
  8. jvall

    jvall Member

    Joined:
    Oct 9, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello, I have checked one of my clients versions and he is on 11.44.1 (build 18) and it's not fixed in this version as it's still opening the files with spaces before the <?php tag.

    - - - Updated - - -

    Which, btw, his version should be fixed as well because that was covered in this case

    Fixed case 103453: Fixed issue with file editor appending/prepending white spaces.

    in this build 11.44.1.15...so his version of 11.44.1.18 should have this fix as well, but it does not.
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Internal case number 110241, referenced by cPanelKenneth in the earlier post, is only available in cPanel version 11.46. This version is currently only available in the "EDGE" build tier. You can find more information about the build tiers at:

    cPanel & WHM Product Versions and the Release Process

    Thank you.
     
  10. jvall

    jvall Member

    Joined:
    Oct 9, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I understand, but if you also look at case 103453 referenced by you above, it was supposedly fixed in version 11.44.1.15 as well.

    Looking at the 11.44 change log it says this:

    11.44.1.15

    2014-08-13

    Fixed case 39210: Transferring reseller-owned account doesn't give dedicated IP.
    Fixed case 103453: Fixed issue with file editor appending/prepending white spaces.

    So it should be fixed in that version as well...not just 11.46.
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Internal case numbers 110241 and 103453 are separate issues. Case number 110241 is for a separate bug that's only addressed in version 11.46 at this time.

    Thank you.
     
  12. jvall

    jvall Member

    Joined:
    Oct 9, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Right separate bugs, but case number 103453 referenced back in version 11.44 was for the same issue...which is the file editor appending/prepending white spaces. Case number 103453 and 110241 cover the exact same issue. My point is it was supposedly fixed in 11.44 as well(case number 103453), but my client is on 11.44.1.18 and the bug still exists there.

    Anyway, thanks for your time.
     
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I apologize for any confusion. To clarify, yes, it's the same problem but there were two different reasons why it was happening. Case number 110241 addresses the additional reason it was happening and the resolution is available in version 11.46.

    Thank you.
     
Loading...

Share This Page