Go to your Tools ... Developers Tool Kit ...
in the bottom input box enter:
class item
select Catalog ... and click SEARCH ...
What files come up for this?
Go to your Tools ... Developers Tool Kit ...
in the bottom input box enter:
class item
select Catalog ... and click SEARCH ...
What files come up for this?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
this is what I found...Code:/home/user/public_html/includes/languages/english/modules/shipping/item.php Line #10 : class item { /home/user/public_html/includes/modules/shipping/item.php Line #10 : class item {
This line:
indicates that you have the item.php code file copied in the language directory ...Code:/home/user/public_html/includes/languages/english/modules/shipping/item.php
Check the original files and you want to load the language file for the:
/home/user/public_html/includes/languages/english/modules/shipping/item.php
this is the one with all of the define statements in it ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
I have... and I still get the error
Code:[26-Jun-2011 16:04:54] PHP Fatal error: Cannot redeclare class item in /home/USER/public_html/includes/modules/shipping/item.php on line 11
Go back and re-read what Ajeh posted, and follow her instructions.
You've got a class file loaded in your language folder. The file in the language folder needs to contain defines, not classes. Reload the original files.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Dr. Byte-
I have downloaded a clean copy from the website and uploaded the contents of /languages/english/modules/
I am still getting this error... I don't know if it's related to my new template (ABlueGrill) or if it is something else..![]()
Redo the search Ajeh recommended in post 5. What are the results now?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.