Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adding new about us page problem


yasirchodhary

Recommended Posts

someone help plz

 

i add about us page as per insturction given below

 

 

(1)

In catalog/ (Our your root catalog)

Copy the included (about_us.php) file to your catalog.

------------------------------------------------------

 

(2)

In catalog/includes/modules/boxes/bm_information.php

Search for "privacy" (around line 40).

There you should see the line:

' <a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . MODULE_BOXES_INFORMATION_BOX_PRIVACY . '</a><br />' .

 

Add this line below:

' <a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . MODULE_BOXES_INFORMATION_BOX_ABOUT_US . '</a><br />' .

------------------------------------------------------------------------------------------------------------------

 

(3)

In catalog/includes/filename.php

Before: ?>

 

Add this line:

define('FILENAME_ABOUT_US', 'about_us.php');

--------------------------------------------

 

(4)

In catalog/includes/languges/english/

Copy the included file (about_us.php) to your catalog.

------------------------------------------------------

 

(5)

In catalog/includes/languges/english/modules/boxes/bm_information.php

Before: ?>

 

Add this line:

define('MODULE_BOXES_INFORMATION_BOX_ABOUT_US', 'About Us');

------------------------------------------------------------

 

 

 

but error received when i open about us page error is

Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /home/content/22/9243422/html/catalog/includes/functions/compatibility.php:18) in /home/content/22/9243422/html/catalog/includes/functions/compatibility.php on line 30

 

 

check my site url for error

http://alrafiopc.com/catalog/about_us.php

 

 

plz help me to resolve this problem

 

thanks a lot

Link to comment
Share on other sites

You've copied a "code" file into the languages folder.

 

You can use the "Cannot redelare" link in my signature for more info.

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