osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

PHP error after editing conditions.php

This is a discussion on PHP error after editing conditions.php within the osCMax v1.7 Installation forums, part of the osCMax v1.7 Forums category; Hello, basically, i installed a template for osCommerce and all was going well everything worked perfectly...then, today, i went ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Installation

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 03-25-2008, 02:54 AM
Lurker
 
Join Date: Mar 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
noname27 is on a distinguished road
Default PHP error after editing conditions.php

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 have already renamed all the "about_us.php" back to "conditions.php"

Also, in conditions.php I have pasted the code here.
it's not a lot so here's all of it.
line 12 from the top is the one in red! (i think)


<?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.');
?>


Please help...if you can!!!

Thanks,

George
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
PHP error after editing conditions.php noname27 osCMax v2 Customization/Mods 2 03-16-2008 10:50 PM
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
php-error: register_globals is disabled in php.ini Anonymous osCommerce 2.2 Installation Help 1 11-05-2002 02:29 PM


All times are GMT -8. The time now is 02:28 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax