• I get a
    “Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.”

    When I try to view a order in the dashboard. It happens when I press the little “view” eye, and when clicking the order number.

    https://wordpress.org/plugins/woocommerce/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    View your server debug log – or ask your host to look. The error is hidden.

    Thread Starter sebak

    (@sebak)

    Thanks for the reply.

    How do I view my server debug log?:)

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    Your host will likely have instructions. Sometimes there is a debug.log file in your wp-content directory you can check.

    Once you find it, look inside for a fatal error. it will tell you the issue. It may be low memory.

    Thread Starter sebak

    (@sebak)

    Ok.
    Yes I read something about the memory, so I added

    define(‘WP_MEMORY_LIMIT’, ‘128M’);

    to the config.PHP.

    But it didn’t help. Perhaps I did it worng?

    I’ll get the debug info.

    Thread Starter sebak

    (@sebak)

    I created a logs folder and can now debug… And for some reason it works now, I can view the orders and create new orders, which also got an error before.
    Here’s what the debugger stated.

    [10-Aug-2015 22:16:38 UTC] WordPress-databasefejl Identifier name ‘1clk_174c35d0b4ed_wp_woocommerce_downloadable_product_permissions’ is too long for forespørgslen
    SELECT * FROM 1clk_174c35d0b4ed_wp_woocommerce_downloadable_product_permissions
    WHERE order_id = 104 ORDER BY product_id
    fra include(‘wp-admin/edit-form-advanced.php’), do_meta_boxes, call_user_func, WC_Meta_Box_Order_Downloads::output

    Hmm it says 1clk_174c35d0b4ed_wp_woocommerce_downloadable_product_permissions
    What does that mean? Because it’s not a downloadable product!.

    Thread Starter sebak

    (@sebak)

    I changed the downloadable restriction under:
    woocommerce > settings > products > downloadable products… And this brought back the error. I tried to change it back, but that did not help.

    Thread Starter sebak

    (@sebak)

    So the change to the downloadable section reset my htacces file, which stopped the debugger from working, which then again brought back the internal error issue.
    the debugger is up and running again, but the issue will be back, the next time the htacces file is changed, and the bugs are still there, so any idea of how to fix it?

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘internal server error when trying to view order’ is closed to new replies.