Lost_Dutchman Posted April 13, 2004 Posted April 13, 2004 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.
Lost_Dutchman Posted April 14, 2004 Author Posted April 14, 2004 Thought I would give this a bump...I really need a answer Thanks
HQ Secure Posted April 19, 2004 Posted April 19, 2004 call_user_func(tep_cfg_get_zone_name) What gives?
crusade Posted May 30, 2004 Posted May 30, 2004 Same problem here.. I am trying to install the shipping dependency contribution..
Guest Posted June 6, 2004 Posted June 6, 2004 Same problem here.. I am trying to install the shipping dependency contribution.. *bump* Anyone? Same problem here...
ScvWebFire Posted June 6, 2004 Posted June 6, 2004 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).
ScvWebFire Posted June 9, 2004 Posted June 9, 2004 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.
Guest Posted June 9, 2004 Posted June 9, 2004 thumbs up :) I'm going to try it in a few hours, keep my fingers crossed...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.