Zen Cart Logo
Forums / General Questions / Cant remove module

Cant remove module

Views: 624

Results 1 to 8 of 8
13 Jan 2011, 9:27 AM
#1
ashadweb avatar

ashadweb

New Zenner

Join Date:
Oct 2009
Posts:
11
Plugin Contributions:
0

Cant remove module

I have a module called "Buy 2 Get 1 Free". It works perfectly but the problem is that i want it removed from my modules. When i try to remove it i get a blank page and im unable to remove it.

Is there another way to remove that module manually?

13 Jan 2011, 9:55 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Cant remove module

A blank screen usually means that there's a PHP error.

Without understanding what the error is and indeed what changes the mod may have made to your site, it's not possible to give good advice on alternative ways to remove it.

That's not a mod I've heard off, and doesn't seem to be available from the downloads area here. Where did you get it from?

13 Jan 2011, 9:58 AM
#3
ashadweb avatar

ashadweb

New Zenner

Join Date:
Oct 2009
Posts:
11
Plugin Contributions:
0

Re: Cant remove module

It was custom coded :( Is there a way to see the error rather than just seeing the blank page?

13 Jan 2011, 10:40 AM
#5
ashadweb avatar

ashadweb

New Zenner

Join Date:
Oct 2009
Posts:
11
Plugin Contributions:
0

Re: Cant remove module

This is the error that im getting

PHP Fatal error:  Call to a member function Execute() on a non-object in /var/www/vhosts/xxxxx/httpdocs/includes/modules/order_total/ot_3for2.php on line 83
13 Jan 2011, 11:04 AM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Cant remove module

You probably have a PHP function in there with a line something like $db->Execute(...); without first declaring $db as a global variable, but since this is a custom mod, that's just a guess.

13 Jan 2011, 11:25 AM
#7
ashadweb avatar

ashadweb

New Zenner

Join Date:
Oct 2009
Posts:
11
Plugin Contributions:
0

Re: Cant remove module

Could give me a small hint how am i supposed to fix it?

13 Jan 2011, 1:08 PM
#8
ashadweb avatar

ashadweb

New Zenner

Join Date:
Oct 2009
Posts:
11
Plugin Contributions:
0

Re: Cant remove module

Thanks for ur help... finally fixed it :)