Results 1 to 3 of 3

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

      
  1. #1
    Lurker
    Join Date
    Mar 2008
    Posts
    3
    Rep Power
    0


    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

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    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 installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Lurker
    Join Date
    Mar 2008
    Posts
    3
    Rep Power
    0


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

Similar Threads

  1. Error opening admin/customers.php for editing
    By kenlyle in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 04-25-2006, 01:12 PM
  2. Parse error after editing conditions.php
    By tearlach99 in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 05-10-2004, 04:15 PM
  3. Text limit while adding T&C stuff to conditions.php
    By Christie in forum osCMax v1.7 General Mods Discussion
    Replies: 2
    Last Post: 05-10-2004, 02:47 PM
  4. Editing look and feel of Conditions of Use, Privacy, Shippin
    By chrismole in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 12-20-2003, 12:43 PM
  5. php-error: register_globals is disabled in php.ini
    By Anonymous in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-05-2002, 02:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •