Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter llamala

    (@llamala)

    Sorry wrong place, moved to Installation forum.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    And I’ve deleted the topic you’ve posted in the Installation forum. This is the right place for your question as it’s related to this plugin. 😉

    Hi llamala,

    Sorry to hear you’re having trouble. So, first thing, it looks like your Destination URL isn’t quite right. The Destination URL should either be the same as the Origin URL, or, more likely, something different. The reason I say that is that Origin URLs are replaced with Destination URLs.

    So in your example, if you had a URL like chinasocial.com.au/directory/page it would get rewritten as chinasocial.com.au/wp-content/plugins/simply-static/static-files/directory/page as you have things currently configured — probably not what you’re intending.

    As for the 500 error, I’d need a little bit more information to work with. Could you try turning debugging on and run Simply Static again? You can enable debugging by editing your wp-config.php file and setting WP_DEBUG to true, e.g.:

    define(‘WP_DEBUG’, true);

    Thread Starter llamala

    (@llamala)

    Hi Scott,
    thank you so much for looking at this. I changed the 2 urls to be http://chinasocial.com.au as suggested.
    I enabled debugging in wp as advised. No errors are produced for the Generate command nor is the debug.log created.
    Could you advise would you recommend to do then?

    Okay, so, another question: how long does Simply Static run before you see the 500 error? Is it immediate, does it run for e.g. 60 seconds and then you see the 500 error? Depending on the settings of your server and how large your site is, it’s possible that Simply Static is timing out before it’s able to completely generate all of the pages. (I’ll have that issue fixed with the next version of Simply Static which is due out at the end of the month.)

    Thread Starter llamala

    (@llamala)

    HI Scott,

    The site is small, a scrolling home page, and only a few other pages, no posts. It takes about 3 or 4 seconds only before giving the error message. Is this very unusual for a small site?

    Hi llamala,

    Yes, that is quite strange that it would stop working after 3-4 seconds. It sounds like an error is occurring before Simply Static really starts up. My suggestion would be to take a look at your logs for Apache (typically those are at /var/log/apache2/error.log), but it depends on how your server is set up. If you can find an error message in there I might be able to help troubleshoot further.

    Best,
    Scott

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘server 500 when run generate’ is closed to new replies.