Prev | Current Page 313 | Next

Emilian Balanescu and Cristian Darie

"Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition"

dtd">


<br>TShirtShop Application Error (500): Demo Product Catalog from<br>Beginning PHP and MySQL E-Commerce<br>
type="text/css" rel="stylesheet" />




CHAPTER 7 ?–  SEARCH ENGINE OPTIMIZATION 214



TShirtShop is experiencing technical difficulties.



Please
visit us soon,
or contact us.


Thank you!


The TShirtShop team.







3. Add the highlighted lines of code at the end of your .htaccess file:

# Set the default 500 page for Apache errors
ErrorDocument 500 /tshirtshop/500.php
?– Caution Be sure to modify the URL to the location of your 500.php file.
4. Let??™s test our new 500.php file by creating an error in our web site. Open include\config.php, and set
the DEBUGGING const to false to disable the debug mode (otherwise, our site won??™t throw 500 errors):
// These should be true while developing the web site
define('IS_WARNING_FATAL', true);
define('DEBUGGING', false);
5.


Pages:
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325