Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Contribution Header Tag


rainey

Recommended Posts

Posted

Hello, Just installed a header contribution by Ken singleton. Everything seems to be well except when I sign on as ADMIN I receive this error.

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

Fatal error: Cannot instantiate non-existent class: breadcrumb in /home/dixonumc/public_html/first-in-line/admin/includes/application_top.php on line 179

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

I checked all of the add In's. It shows up in the files structure on the remote server. What else can I check to verify the breadcrumb.php?

 

Thanks, Sheryl

Posted
Hello, Just installed a header contribution by Ken singleton. Everything seems to be well except when I sign on as ADMIN I receive this error.

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

Fatal error: Cannot instantiate non-existent class: breadcrumb in /home/dixonumc/public_html/first-in-line/admin/includes/application_top.php on line 179

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

I checked all of the add In's. It shows up in the files structure on the remote server. What else can I check to verify the breadcrumb.php?

 

Thanks, Sheryl

 

Dunno the contribution, but I guess it has an altered breadcrumb.php in admin/includes/classes/. So did you copy it? If so, try to copy it again. Maybe there was an upload error. Happens sometimes.

Posted
Dunno the contribution, but I guess it has an altered breadcrumb.php in admin/includes/classes/. So did you copy it? If so, try to copy it again. Maybe there was an upload error. Happens sometimes.
Posted
Dunno the contribution, but I guess it has an altered breadcrumb.php in admin/includes/classes/. So did you copy it? If so, try to copy it again. Maybe there was an upload error. Happens sometimes.

 

 

Thanks, I did do a copy of the code from the install instructions. It was a lot! I'll try again, Sheryl

Posted
Thanks, I did do a copy of the code from the install instructions. It was a lot! I'll try again, Sheryl

 

It would have been sufficient to copy the breadcrumb.php again into admin/includes/classes/. If it doesn't work either then, let me know.

Posted
It would have been sufficient to copy the breadcrumb.php again into admin/includes/classes/. If it doesn't work either then, let me know.

 

Working on it now while I toggle back and forth... BRB and thanks, should know something in just a few. :) Sheryl

Posted
Working on it now while I toggle back and forth... BRB and thanks, should know something in just a few. :) Sheryl

 

No difference. however would this make a difference? In the instructions it asked me to go to a line that was not in my original file. I did not have an orginal breadcrumb class file so I added the //... before and the after in the instructions.

 

Under the class folder, I have the breadcrumb_tag.php file

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

 

Step 2

If you have not made any change to application_top.php under folder: catalog/includes/, then simply upload and replace it with the one you just downloaded, then go to Step 3.

Otherwise, open the application_top.php for edit using a php file editor or a good text editor.

Go to the bottom 60 lines or so of that file, look for

 

// include the breadcrumb class and start the breadcrumb trail

require(DIR_WS_CLASSES . 'breadcrumb.php');

$breadcrumb = new breadcrumb;

And insert immediately after:

 

// include the breadcrumb_tags class and start the breadcrumb_tags trail - GemRock

require(DIR_WS_CLASSES . 'breadcrumb_tags.php');

$breadcrumb_tags = new breadcrumb_tags;

// added code ends - GR

Posted
No difference. however would this make a difference? In the instructions it asked me to go to a line that was not in my original file. I did not have an orginal breadcrumb class file so I added the //... before and the after in the instructions.

 

Under the class folder, I have the breadcrumb_tag.php file

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

 

Step 2

If you have not made any change to application_top.php under folder: catalog/includes/, then simply upload and replace it with the one you just downloaded, then go to Step 3.

Otherwise, open the application_top.php for edit using a php file editor or a good text editor.

Go to the bottom 60 lines or so of that file, look for

 

// include the breadcrumb class and start the breadcrumb trail

require(DIR_WS_CLASSES . 'breadcrumb.php');

$breadcrumb = new breadcrumb;

And insert immediately after:

 

// include the breadcrumb_tags class and start the breadcrumb_tags trail - GemRock

require(DIR_WS_CLASSES . 'breadcrumb_tags.php');

$breadcrumb_tags = new breadcrumb_tags;

// added code ends - GR

 

Ok, the breadcrumb_tag.php is the key for the issue. You said in the instructions there was a line to edit, which was not in your original file and you added the slashes to comment it out. That might be the cause of the problem. I don't know which lines you've commented out, but it would be helpful to know, to figure out what's going wrong.

Posted
Ok, the breadcrumb_tag.php is the key for the issue. You said in the instructions there was a line to edit, which was not in your original file and you added the slashes to comment it out. That might be the cause of the problem. I don't know which lines you've commented out, but it would be helpful to know, to figure out what's going wrong.

Got it. You are so right!! I went back to my back up file, did not iclude the line //include the breadcrumb class... But I

Then added the lines //include the breadcrumb_tags class... and it works. I can log onto my admin. You guys are greatest. thanks for all your help. Sheryl

Posted
Got it. You are so right!! I went back to my back up file, did not iclude the line //include the breadcrumb class... But I

Then added the lines //include the breadcrumb_tags class... and it works. I can log onto my admin. You guys are greatest. thanks for all your help. Sheryl

 

You're welcome anytime. Instead of going out for a dance or something I prefer sitting in front of my monitor and answer lots of questions... *lol*

 

But that's only this weekend, cause my GF is outta town. Next weekend I will go out for dancing... *bg* So no questions next weekend, ok? *twinkle*

Posted
You're welcome anytime. Instead of going out for a dance or something I prefer sitting in front of my monitor and answer lots of questions... *lol*

 

But that's only this weekend, cause my GF is outta town. Next weekend I will go out for dancing... *bg* So no questions next weekend, ok? *twinkle*

Lucky for me! Tell GF to give you a good dance a zig for me. You really helped me. Take care. When you are not buzy, vist shop at www.first-in-line.biz

I can use some feed back :)

Posted
Lucky for me! Tell GF to give you a good dance a zig for me. You really helped me. Take care. When you are not buzy, vist shop at www.first-in-line.biz

I can use some feed back :)

 

Ok, I visited your site and found a couple of things to improve:

 

- when I click on pic on top, a frame is showing up. seems to be a CSS feature.

 

- the title on the top left has to be much larger to improve the importance of the merchant

 

- klicking on a pic in the header leads me to random products

 

- the 'first in line' should be closer to the text imho. Should be more meaningful

Archived

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

×
×
  • Create New...