Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23
  1. #21
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Cloned shipping module problem

    I don't really know how to tell you this. If the class cannot be redeclared, this is because the class has already been initiated once already. I suggest you find out where the line

    class storepickup

    exists within your store code, and go from there.

    Using the Developer's Toolkit in the admin, under tools, paste "class storepickup", without the "s, into the last textbox, and select Catalog from the dropdown, and tehn click search. Please paste here EXACTLY what the return fines.

    Absolute

  2. #22
    Join Date
    Feb 2007
    Posts
    90
    Plugin Contributions
    0

    Default Re: Cloned shipping module problem

    /home/pow10934/public_html/includes/modules/shipping/storepickup.php
    Line #12 : class storepickup extends base {


    I did the same for "class cod" and got

    /home/pow10934/public_html/includes/modules/payment/cod.php
    Line #22 : class cod {
    /home/pow10934/public_html/includes/modules/shipping/cod.php
    Line #12 : class cod extends base {

  3. #23
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Cloned shipping module problem

    Well, there is your problem. You have the cod payment module installed, which has a class called cod. Change the name of your shipping file to scod.php, and then change the 3 cod references within that file to scod.

    That will fix your problem.

    Absolute

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. v154 Help with cloned shipping module
    By gwynwyffar in forum Addon Shipping Modules
    Replies: 2
    Last Post: 17 Feb 2016, 03:36 PM
  2. Help...weird problem with cloned UPS shipping module
    By nomoremoo in forum Addon Shipping Modules
    Replies: 0
    Last Post: 7 Sep 2010, 01:12 AM
  3. Using a cloned shipping module
    By Verne in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 2 Aug 2009, 10:13 PM
  4. Cloned Shipping Module problem?
    By slannesh in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 19 Jun 2009, 04:18 PM
  5. Cloned Shipping Module not working
    By Sake in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 24 Sep 2007, 04:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg