Title: Internal Server Error when submit orders
Last modified: August 21, 2016

---

# Internal Server Error when submit orders

 *  Resolved [nwsoulman](https://wordpress.org/support/users/nwsoulman/)
 * (@nwsoulman)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/internal-server-error-when-submit-orders/)
 * I’m developing this website: [http://yumyumsheffield.co.uk/menu/](http://yumyumsheffield.co.uk/menu/)
 * right now I have two problems that I have no idea how to fix.
 * 1, while testing in my localhost, I can see the “thank you” message after submit
   the order. but while I’m testing on my server, I have a “Internal Server Error”
   dialog jump out.
 * 2, I can’t receive any email from either of the server and localhost. I strictly
   followed the installation instructions, and have 3 fresh installed wordpress 
   tested, but I still can’t get the email after I place my order.
 * please help me out.
 * [https://wordpress.org/plugins/wppizza/](https://wordpress.org/plugins/wppizza/)

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

 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/internal-server-error-when-submit-orders/#post-4575184)
 * Hi,
 * start with this:
 * turn on debug on your wp-config.php
 * define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);
 * temporarily comment out the line in wppizza->ajax->get-jason.php that reads
 *     ```
       error_reporting(0);
       ```
   
 * (approximately line 2)
 * attempt an order and see what – if anything – you get in your debug log and report
   back
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/internal-server-error-when-submit-orders/#post-4575192)
 * and regarding localhost:
    are you even sure your localhost can send emails ?
 *  Thread Starter [nwsoulman](https://wordpress.org/support/users/nwsoulman/)
 * (@nwsoulman)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/internal-server-error-when-submit-orders/#post-4575251)
 * get a fatal error:
 * Fatal error: Call to undefined function mb_internal_encoding() in \\web-123win\
   winpackage22\yumyumsheffield.co.uk\www.yumyumsheffield.co.uk\web\content\wp-content\
   plugins\wppizza\inc\common.output.formatting.functions.inc.php on line 936
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/internal-server-error-when-submit-orders/#post-4575255)
 * as you seem to have a windows server edit your php.ini.
    somewhere it will (most
   likely) say
 *     ```
       ;extension=php_mbstring.dll
       ```
   
 * i.e it’s disabled
 * change it to
 *     ```
       extension=php_mbstring.dll
       ```
   
 * and that should be that
 *  Thread Starter [nwsoulman](https://wordpress.org/support/users/nwsoulman/)
 * (@nwsoulman)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/internal-server-error-when-submit-orders/#post-4575266)
 * glad to know… but the problem is I cannot access the php.ini in my server…
 * my host provider is: [https://www.123-reg.co.uk](https://www.123-reg.co.uk)
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/internal-server-error-when-submit-orders/#post-4575271)
 * > but the problem is I cannot access the php.ini in my server…
 * err, no can i…
 * speak to them to sort it out…..
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/internal-server-error-when-submit-orders/#post-4575275)
 * [http://www.123-reg.co.uk/support/answers/VPS/Linux/changing-the-php-parameters-on-your-123-reg-vps-4322/](http://www.123-reg.co.uk/support/answers/VPS/Linux/changing-the-php-parameters-on-your-123-reg-vps-4322/)
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/internal-server-error-when-submit-orders/#post-4575277)
 * as you are on windows it might be somewhat different….anyway, if i were you though,
   just speak to your host
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/internal-server-error-when-submit-orders/#post-4575292)
 * one last thing before i close this:
 * as this is a multilingual plugin, mbstring is required (i’ll put a warning to
   that effect in the plugin i guess, although i would have thought 99.9% of servers
   would (should really as far as i am concerned) have this enabled by default
 *  Thread Starter [nwsoulman](https://wordpress.org/support/users/nwsoulman/)
 * (@nwsoulman)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/internal-server-error-when-submit-orders/#post-4575324)
 * thanks for the help, the problem is fixed
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/internal-server-error-when-submit-orders/#post-4575325)
 * excellent

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

The topic ‘Internal Server Error when submit orders’ is closed to new replies.

 * ![](https://ps.w.org/wppizza/assets/icon-256x256.png?rev=2498121)
 * [WPPizza - A Restaurant Plugin](https://wordpress.org/plugins/wppizza/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wppizza/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wppizza/)
 * [Active Topics](https://wordpress.org/support/plugin/wppizza/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wppizza/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wppizza/reviews/)

## Tags

 * ["internal server error"](https://wordpress.org/support/topic-tag/internal-server-error/)
 * [email](https://wordpress.org/support/topic-tag/email/)

 * 11 replies
 * 2 participants
 * Last reply from: [ollybach](https://wordpress.org/support/users/ollybach/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/internal-server-error-when-submit-orders/#post-4575325)
 * Status: resolved