Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

My Store Problem


Lost_Dutchman

Recommended Posts

Posted

I am receiving this error when I go into My Store:

 

Warning: call_user_func(tep_cfg_get_zone_name): First argument is expected to be a valid callback in /hsphere/local/home/lostdutc/journeyinflatables.com/admin/includes/functions/general.php on line 1232

 

I have searched the forums for this error and see that I am not the only one, but I haven't seen anyone getting this error in the My Store Icon.

I also see two Zones one has information in it, and the other doesn't and it doesn't matter if I try to put a state in there for a value or not.

 

Version being used: osCommerce 2.2-MS1

 

Any help with this would be great.

  • 1 month later...
Posted
Same problem here.. I am trying to install the shipping dependency contribution..

*bump*

 

Anyone? Same problem here...

Posted

As in a reply to tweakfreaks.nl's email

 

I manually inserted code into all the payment moduals which works pretty raw but it gets the job done.

 

I will post the how-to l8ter tonight (as I need to write a few more atm, and need to upload my final multipay/teltik payment mod).

Posted

how-to page is taking a little longer then I thought, so I will post the code here:

 

add this to the end of the

function modualname

of the moduals u want to hide and replace rembours_rembours for the value that is given in the form for a shipping (just look at the source in your browser).

 

and add $shipping to the global line

 

                        if ($this->enabled == true) {
                       if ($shipping['id'] == "rembours_rembours") {
                               $this->enabled = false;
               }
       }

 

And add

 

this to the moduals u want to show when selecting a shipping:

 

and don't forget to add $shipping again

 

        if ($this->enabled == true) {
               if ($shipping['id'] <> "rembours_rembours") {
                       $this->enabled = false;
               }
       }

 

One note when I added the last part I did it to the function update_status which seemd to work only for COD.

 

I hope this helps.

Posted

thumbs up :)

 

I'm going to try it in a few hours, keep my fingers crossed...

Archived

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

×
×
  • Create New...