Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help with error message


always_confused

Recommended Posts

This error message is coming up when I try and access my admin area

Fatal error: Call to undefined method messageStack::size() in /home/tbc49445/public_html/admin/includes/header.php on line 51

 

I did change the header file to get my logo up, but that is all I touched in there. So what do I need to fix

 

This is the closet fit I can find in the file:

($messageStack->size('header') > 0) {

echo $messageStack->output('header');

 

So what should it say there?

 

Thanks for the help, I am in way over my head.

Link to comment
Share on other sites

My /admin/includes/header.php doesn't have that code at all.

 

The /catalog/includes/header.php does.

 

Did you accidentally upload the catalog one into your admin folder?

:unsure:

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

My /admin/includes/header.php doesn't have that code at all.

 

The /catalog/includes/header.php does.

 

Did you accidentally upload the catalog one into your admin folder?

:unsure:

 

I probably did, great :( . What should My /admin/includes/header.php look like? Maybe I can find it and fix my new little mess. Or what options do I have to fix this? :(

 

Hmm maybe I can just remove oscommerce once again and start with another clean slate, but I really would rather not. Oh I hope I get the hang of all of this at some point.

 

Thanks for your help :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...