Zen Cart Logo
Forums / Basic Configuration / Unable to INSTALL modules

Unable to INSTALL modules

Locked

Views: 1,670

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
28 Oct 2010, 4:23 PM
#1
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Unable to INSTALL modules

I have installed an add-on on my test store and everything works fine. Now, time to install it on the live store and i run into a problem. I need to "INSTALL" it, but i am not seeing the right side of the panel in the Module > Order Total (i see it on all other panels though). Here is what i get:

Here is my Module > Order Total when i try to access it:

And from there, if i switch to French, this is what appears:

That made me think it was the French part that was corrupt but it turns out that from there, if i switch to English, i get this:

Whenever i click on Module > Order Total i am back to the first image (be it in French or in English).

I have already replaced all the files in the module/order_total by those from the test store (which is working fine). But it does not solve the problem. I am pretty sure that problem was there BEFORE i installed the add-on cause i remember noticing that one page was different than the others, however, i didn`t know it should have been the same (meaning with somethin on the right side).

Any idea where my problem is and mostly how to fix it? I really dont want to reinstall everything from scratch! :no:

28 Oct 2010, 4:33 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Unable to INSTALL modules

Could you look, with your FTP program, at all of the filenames in the directory;
/includes/modules/order_total

and post them ...

Could you then look at all of the files, on your server, in the directory:
/includes/modules/order_total

and confirm that all of these are the code for each order total module and not the language file ...

Could you then look at all of the files, on your server, in the directory:
/includes/languages/english/modules/order_total

and confirm that all of the files are the language files and not the code files ...

Could you then look at all of the files, on your server, in the directory:
/includes/languages/french/modules/order_total

and confirm that all of the files are the language files and not the code files ...

28 Oct 2010, 5:02 PM
#3
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Unable to INSTALL modules

Detail question: how do i confirm that all of these are **the code for each order total module **and not the **language file **...? and vice versa? (especially since i copied all the files from those folders from the test store to the live store)

28 Oct 2010, 5:13 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Unable to INSTALL modules

Code files will contain a line similar to:

  class ot_total {

where the class name matches the filename ...

Language files will contain just define statements such as:

  define('MODULE_ORDER_TOTAL_TOTAL_TITLE', 'Total');
28 Oct 2010, 5:22 PM
#5
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Unable to INSTALL modules

Thanks for the clear explanation. I checked all the files, one by one, and the code ones are in the right place and the language ones are in the right place.

So, i guess the problem is somewhere else. I am sure it is likely a little thing, but with my limited knowledge, i rely heavily on your help.

28 Oct 2010, 5:27 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Unable to INSTALL modules

Look, via FTP, at the directory:
/includes/modules/order_total

what are the filenames that you see?

Look in the directory:
/cache

do you see any debug logs in there? If so, what are the errors that are created when you go to the Modules ... Order Total ...

28 Oct 2010, 5:34 PM
#7
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Unable to INSTALL modules

The filenames i see are these:

ot_better_together.php
ot_cod_free.php
ot_coupon.php
ot_group_pricing.php
ot_gv.php
ot_loworderfree.php
ot_shipping.php
ot_subtotal.php
ot_tax.php
ot_total_freegifts.php

In the Cache directory, i see **a ton **of files: adminDebug, catalogueDebug, index.php (only one of this), myDEBUG.

Should i delete them all (or move them somewhere) and create one when i go in the admin panel?

28 Oct 2010, 5:50 PM
#8
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Unable to INSTALL modules

OK, after posting the previous message, i thought of maybe checking one of the adminDebug log (in case i could understand something), and well... it seems to refer to the freegift module!

I am not sure i could do much edition in this (since the module DOES work correctly) but i can recheck with the tech who coded it and installed it. Unless you have another idea for something I could do?

Thanks for directing me to the cache folder. I never thought of checking that since i didn`t know about those.

28 Oct 2010, 6:01 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Unable to INSTALL modules

I do not see the filename ot_total.php in your list of files on the server for:
/includes/modules/order_total

What is the class line in the:
ot_total_freegifts.php

file that is on there server?

28 Oct 2010, 6:06 PM
#10
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Unable to INSTALL modules

Oops... ot_total.php was there (typing error)

As for the class line (hoping i know what you mean), i have this:
class ot_total {
var $title, $output;

And the third question, i do not understand (about the server)

28 Oct 2010, 6:16 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Unable to INSTALL modules

This file ot_total_freegifts.php the problem ...

It is trying to use the same class name as the ot_total.php module ...

Where did you get that add on? :unsure:

28 Oct 2010, 6:18 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Unable to INSTALL modules

NOTE: the references to the server are to get information from the server to confirm if issues are with files on the server vs what you on your computer as sometimes this can be a problem where a file is loaded incorrectly to a directory ...

28 Oct 2010, 6:28 PM
#13
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Unable to INSTALL modules

The add-on Free Gift was purchased and installed by the developper. I just emailed him about this. His products are great. I know he had a bit of a hard time with my store and had to edit a file (in the end it turned out that his module was not at fault). So maybe the edited file to try to fix a problem was just left there. Strangely, the module works fine though.

I am not sure if i should post his name since this one error might sound like a bad thing for him while he is still highly recommanded for add-ons and service. I could, howver let you know in a PM if you want.

Thank you Linda for your help. Now, i know i didn`t mess up anything (which i surely can do!)