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!

Upload issues

Discussion in 'General Discussion' started by Zoee, Oct 31, 2016.

Tags:
  1. Zoee

    Zoee Member

    Joined:
    Sep 30, 2016
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Hi all, we run a handful of VPS', all which run CPanel.

    We've had a client get some reoccuring issues with uploading images via their WordPress website. I'm confident the issue isn't with WordPress, as it happens on a few different sites on different servers and I've also made copies of the site in question on to different servers and it still happens. I've also done all the usual recommended WordPress testing and also implimented every 'solution' under the sun relating to upload problems in WordPress.

    Anyway, some times the images upload, sometime they will fail with no error message. The Log files on the servers aren't particularly helpful or consistent, mostly they are empty, however I have noticed that occasionally when uploading image that fail apache restarts itself... so I'm not sure if this hints to the problem?

    I don't think its a memory issue because it happens on a server with 2x the RAM and 2x the cores to the one the live site is on.

    Any ideas of thoughts? I've run out of things to try!

    Thanks,

    Zoe
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    43
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Have you checked Apache error log while uploading the image ? I think mod_security rules not allow to upload image.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Zoee

    Zoee Member

    Joined:
    Sep 30, 2016
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    There was nothing in it last time it happened. Its also intermittant, so it won't upload the image 2 or 3 times, then it will, then it won't again.

    The only semi-consistent issue I've spotted is apache restarting itself...
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,183
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Do you notice any output to the error_log file within the document root of the specific PHP file used for uploading? This will display any PHP errors generated during the upload attempt.

    Thank you.
     
    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