superstore247 Posted June 21, 2010 Posted June 21, 2010 Hi, I have put together my whole ssite using oscomerce with no exxperience at all and so far have exceded my own expectations! However, when trying to edit the Information box pages - conditions.php - privacy.php - shipping.php I have come up against it. I managed to chaange one the privacy.php with no problems but when changing the other 2 and uploading them when i click on them they are just blaank pages!? very confused! Please see http://superstore247.co.uk/privacy.php which is fine and click on the other 2 which you will see are broken. I would revert to the saved but stupidly did not back them up before changing (Yes, I know have learnt my lesson)and everything I have searched for on the internet has not worked, please help?
knifeman Posted June 21, 2010 Posted June 21, 2010 Hi, I have put together my whole ssite using oscomerce with no exxperience at all and so far have exceded my own expectations! However, when trying to edit the Information box pages - conditions.php - privacy.php - shipping.php I have come up against it. I managed to chaange one the privacy.php with no problems but when changing the other 2 and uploading them when i click on them they are just blaank pages!? very confused! Please see http://superstore247.co.uk/privacy.php which is fine and click on the other 2 which you will see are broken. I would revert to the saved but stupidly did not back them up before changing (Yes, I know have learnt my lesson)and everything I have searched for on the internet has not worked, please help? Did you escape all apostrophes in your text? They are easy to miss and will cause a blank page if not escaped. Tim
superstore247 Posted June 21, 2010 Author Posted June 21, 2010 Did you escape all apostrophes in your text? They are easy to miss and will cause a blank page if not escaped. Tim I think so, here is the code thaats not working: <?php /* $Id: conditions.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Conditions of Use'); define('HEADING_TITLE', 'Conditions of Use'); define('TEXT_INFORMATION', 'Put here your Conditions of Use information.'); ?>
knifeman Posted June 21, 2010 Posted June 21, 2010 I think so, here is the code thaats not working: That looks like standard, unmodified code. I thought you made changes to the text? This code works: <?php /* $Id: conditions.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Conditions of Use'); define('HEADING_TITLE', 'Conditions of Use'); define('TEXT_INFORMATION', 'text here'); ?> Either you need to refresh the browser or you made changes to the root directory conditions.php Tim
superstore247 Posted June 22, 2010 Author Posted June 22, 2010 That looks like standard, unmodified code. I thought you made changes to the text? This code works: <?php /* $Id: conditions.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Conditions of Use'); define('HEADING_TITLE', 'Conditions of Use'); define('TEXT_INFORMATION', 'text here'); ?> Either you need to refresh the browser or you made changes to the root directory conditions.php Tim Yes I think I changed the root directory! Is this wrong, if so how do I revert back as did not back up the files? Also am I supposed to change these then?
knifeman Posted June 22, 2010 Posted June 22, 2010 Yes I think I changed the root directory! Is this wrong, if so how do I revert back as did not back up the files? Also am I supposed to change these then? THere are 2 conditions.php files. Well, more actually, there is one in the root directory and one in each language folder. ie. includes/languages/english/conditions.php The one you posted is from the english folder. if that is in your root directory, then you need to overwrite it with the correct file. You can get a fresh copy of any file from the oscommerce download. Simply extract the file you need and upload to your server. Tim
superstore247 Posted June 22, 2010 Author Posted June 22, 2010 THere are 2 conditions.php files. Well, more actually, there is one in the root directory and one in each language folder. ie. includes/languages/english/conditions.php The one you posted is from the english folder. if that is in your root directory, then you need to overwrite it with the correct file. You can get a fresh copy of any file from the oscommerce download. Simply extract the file you need and upload to your server. Tim Perfect, thank you so much.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.