Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Help


Guest

Recommended Posts

I tried switching around the order of my links in the Information box and now I'm getting this error: http://cbc-solutions.com/oscommerce/

 

Here is my code, can anyone help please?

 

<?php
/*
 $Id: information.php 1739 2007-12-20 00:52:16Z hpdl $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2003 osCommerce

 Released under the GNU General Public License
*/
?>
<!-- information //-->
         <tr>
           <td>
<?php
 $info_box_contents = array();
 $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION);

 new infoBoxHeading($info_box_contents, false, false);

 $info_box_contents = array();
 $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_INDEX) . '">' . BOX_INFORMATION_INDEX . '</a><br>' .
                                          '<a href="' . tep_href_link(FILENAME_MISSION) . '">' . BOX_INFORMATION_MISSION . '</a><br>' .
                                          '<a href="' . tep_href_link(FILENAME_FAQ) . '">' . BOX_INFORMATION_FAQ . '</a><br>' .
                                          '<a href="' . tep_href_link(FILENAME_SUPPORT) . '">' . BOX_INFORMATION_SUPPORT . '</a><br>' .
                                         '<a href="' . tep_href_link(FILENAME_BLOG) . '">' . BOX_INFORMATION_BLOG . '</a><br>' .
                                         '<a href="' . tep_href_link(FILENAME_FORUMS) . '">' . BOX_INFORMATION_FORUMS . '</a><br>' .
                                         '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' .
                                          '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
                                          '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .
                                          '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .                                    
                                          '<a href="' . tep_href_link(FILENAME_SITE_MAP) . '">' . BOX_INFORMATION_SITE_MAP . '</a>);

 new infoBox($info_box_contents);
?>
           </td>
         </tr>
<!-- information_eof //-->

Link to comment
Share on other sites

This line:

 

'<a href="' . tep_href_link(FILENAME_SITE_MAP) . '">' . BOX_INFORMATION_SITE_MAP . '</a>);

Should be:

 

'<a href="' . tep_href_link(FILENAME_SITE_MAP) . '">' . BOX_INFORMATION_SITE_MAP . '</a>');

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

NP

;)

 

In case you don't realize it, you won't be able to login, create account, or checkout until you get a SSL certificate or change your configure file to set SSL false:

 

  define('ENABLE_SSL', false); // secure webserver for checkout procedure?

Or, many hosts have shared SSL cert's.

 

If yours has one, ask what you SSL URL should be and change it in your configure file.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...