i have it loaded now via the autoloader
config.ot_hazmatfee.php
i have it loaded now via the autoloader
config.ot_hazmatfee.php
.
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.
.
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. Bytes,
what i did was, created an autoload config. file to load ot_hazmatfee.php
but then when i saw your last post i got rid of it and went into the admin.
when i installed i got an error saying the languages file was missing. ..
languages/english/modules/order_total/ot_hazMatProduct.php
which is not what you're file was named, so i went into that dir and renamed
ot_hazmatfee.php to ot_hazMatProduct.php
now, when i go into the admin, it's not even showing up,
what should i do?
in fact, that page in the admin doesn't look right now, not sure but seems the right hand column is now missing, where you update and edit
i went back and renamed the language file and now that admin page is showing correctly.
i think if i just put in an empty language file ..
ot_hazMatProduct.php
that might resolve??
that did not work and it caused the admin page to not load correctly as before. so i deleted that empty file.
now, on admin/modules the module appears but indicates, with red circle it is not loaded.
this error message appears as before...
ERROR: module not loaded due to missing language file: /var/www/www.starlight.com/includes/languages/english/modules/order_total/ot_hazMatProduct.php
I'm confused. The zip I posted contained 2 files named ot_hazmatfee.php ... one for the modules folder and one for the languages folder. Where did ot_hazMatProduct.php come from?
When I posted earlier about not using an autoloader script to load an OT module, it was the ot_hazmatfee.php I posted that I was meaning should not be loaded that way.
.
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.
it's WORKING!!,
thanks so much!!!