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 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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 03-13-2008, 01:16 PM
Lurker
 
Join Date: Mar 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
noname27 is on a distinguished road
Unhappy 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 renamed all the "about_us" back to "conditions"






Please help...if you can!!!






Thanks,






George
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 03-13-2008, 07:47 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,170
Thanks: 66
Thanked 290 Times in 276 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Please Help!!!

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 03-16-2008, 10:50 PM
Lurker
 
Join Date: Mar 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
noname27 is on a distinguished road
Exclamation Re: Please Help!!!

Quote:
Originally Posted by michael_s View Post
Look in conditions.php on line 12. Paste that line of code in your reply here so we can see it.
it's not a lot so here's all of it.
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.');
?>
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
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


All times are GMT -8. The time now is 02:23 PM.


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