Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help - problem with Info pages!?


superstore247

Recommended Posts

Posted

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?

Posted

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

Posted

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

?>

Posted

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

Posted

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?

Posted

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

Posted

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...