This is a discussion on PHP error after editing conditions.php within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Hello, basically, i installed a template for osCommerce and all was going well everything worked perfectly...then, today, i went ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello, basically, i installed a template for osCommerce and all was going well everything worked perfectly...then, today, i went to insert the shipping/privacy and conditions text which i had a few problems with but managed to sort them out. Then...i wanted to rename the "Conditions of Use" to "About Us" and changed all the conditions.php files to about_us.php then since it was not working i changed everything back to how it was (i think) and now when you go into the Conditions of Use link this message comes up : Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@cougar-raceparts.com 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. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I looked in the errorlog and copied this: [13-Mar-2008 13:28:22] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/english/FILENAME_ABOUT_US' (include_path='.:/usr/local/php52/pear') in /home/cougarra/public_html/shop/conditions.php on line 12 but i renamed all the "about_us" back to "conditions" Please help...if you can!!! Thanks, George |
|
#2
| ||||
| ||||
| Look in conditions.php on line 12. Paste that line of code in your reply here so we can see it.
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
|
#3
| |||
| |||
| Quote:
line 12 from the top is the one in red! <?php /* $Id: conditions.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $ Copyright (c) 2008 CougarPowerMotorsport Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Conditions'); define('HEADING_TITLE', 'Conditions'); define('TEXT_INFORMATION', 'Put here your conditions of use information.'); ?> |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error opening admin/customers.php for editing | kenlyle | osCMax v2 Customization/Mods | 1 | 04-25-2006 12:12 PM |
| Parse error after editing conditions.php | tearlach99 | osCMax v1.7 Discussion | 2 | 05-10-2004 03:15 PM |
| Text limit while adding T&C stuff to conditions.php | Christie | osCMax v1.7 General Mods Discussion | 2 | 05-10-2004 01:47 PM |
| Editing look and feel of Conditions of Use, Privacy, Shippin | chrismole | osCMax v1.7 Discussion | 1 | 12-20-2003 12:43 PM |
| php-error: register_globals is disabled in php.ini | Anonymous | osCommerce 2.2 Installation Help | 1 | 11-05-2002 02:29 PM |