Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

hmm..trying to add a link to my footer.php


nealc

Recommended Posts

Posted

Here is the error: Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /home/content/n/c/o/ncollenburg/html/includes/functions/compatibility.php:18) in /home/content/n/c/o/ncollenburg/html/includes/functions/compatibility.php on line 30

 

I have no idea what it is talking about. I checked line 30 and all that is there is } curly brace. Line 18 is function do_magic_quotes_gpc(&$ar) {

 

I dunno what I did wrong. My sites address is here so you may take a look. http://www.thebargaincart.com

I am currently just learning osCommerce and PHP, but am always willing to help out.

 

Have successfully installed the following: Discount Coupons, UPS shipping module, Ultimate SEO URL's, Easy Meta Tags for SEO 1.0, Google XML Sitemap SEO v1.3, HTML Editor for Email and Newsletters.

Posted

Link to two threads with the same problem

 

Maybe yours is the same reason, maybe not.

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 >

Posted

Jim,

 

Thanks, I will check that out.

I am currently just learning osCommerce and PHP, but am always willing to help out.

 

Have successfully installed the following: Discount Coupons, UPS shipping module, Ultimate SEO URL's, Easy Meta Tags for SEO 1.0, Google XML Sitemap SEO v1.3, HTML Editor for Email and Newsletters.

Posted

did you accidentally put a coding file where a language file should be?? for instance, instead of uploading catalog/includes/languages/english/footer.php

 

you uploaded

 

catalog/includes/footer.php

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted

Lindsay,

 

No, I uploaded footer.php to the correct directory. What I did was make a stupid mistake, I added my partners.php file which is my php/html coded file to both my catalog directory and also the catalog/includes/languages/english directory. I just had to make a separate PHP file for partners.php and drop that in to catalog/includes/languages/english and all works now. Thank you.

I am currently just learning osCommerce and PHP, but am always willing to help out.

 

Have successfully installed the following: Discount Coupons, UPS shipping module, Ultimate SEO URL's, Easy Meta Tags for SEO 1.0, Google XML Sitemap SEO v1.3, HTML Editor for Email and Newsletters.

Archived

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

×
×
  • Create New...