• Hi there,

    I’m getting an HTTP error 500 when cloning an existing site.

    Steps to replicate:
    1) clone site
    2) site thinks for about a minute
    3) then I get an HTTP error 500
    4) I go back to my sites list & see that it has been cloned
    5) but I notice many areas of the site haven’t been cloned (like missing roles, etc.)

    Do you have any ideas on this one?

    Thanks,
    Brett

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Manuel Razzari

    (@manuelrazzari)

    Brett, did you find out about this?
    Looks like the server is obscuring the PHP logs for you. We’d need an actual error message.

    Thread Starter badsprad

    (@badsprad)

    Hi Manuel,

    Nope – this is still an issue for me.
    So far the only thing I know is that it happens when I’m cloning large sites, with lots of content in them – so I’m assuming it may be something to do with the database size.

    What do you mean by “server is obscuring the PHP logs” & how do I get the logs?

    Thanks,
    Brett

    Plugin Author Manuel Razzari

    (@manuelrazzari)

    Yeah, I can imagin this happening with large sites.

    How “large” are the sites? I mean how many posts, comments, pages? What’s the file size of the uploads directory for the site?

    Maybe you can increase the php_value memory_limit 256M

    When I say the server is obscuring the logs, I mean you should be getting some “PHP ran out of memory” or “fatal error” with details about the error, rather than a generic 500 server error.

    Where are you hosting the site? Do you have a staging or local dev environment?

    Thread Starter badsprad

    (@badsprad)

    The size of that particular site is 255 MB in the uploads directory, there’s over 1000 posts, and even more in CPT’s (custom post types).

    Ok I’ve increased the PHP memory, so I’ll see how that goes.

    I host with Google Cloud, and I can setup staging / dev environments easily (dont have one setup at the moment)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HTTP error 500’ is closed to new replies.