Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / clone shipping module got blank page

clone shipping module got blank page

Locked

Views: 2,269

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
31 Aug 2008, 7:10 PM
#1
cheng avatar

cheng

New Zenner

Join Date:
Nov 2005
Posts:
18
Plugin Contributions:
0

clone shipping module got blank page

Dear All:
I cloned a shipping module storepickup.php to usemyaccount.php and change all the exsited storepickup with usemyaccount and STOREPICKUP text with USEMYACCOUNT. I uploaded the two new usemyaccount.php in the following module

includes/module/shipping/usemyaccount.php
includes/language/english/modules/shipping/usemyaccount.php

and I went back to the admin to install the new usemayaccount.php and everything working fine until
I log on to the regular store and try to check out, but I got blank page
on the step

Step 1 of 3 - Delivery Information
Shipping Information
I could see all the choice of shipping method come out for me to choose, but after I click the continue button. It gave me a blank page and say done. However, if I turn off the usemyaccount shipping, all should be okay. I attached the usemyaccount.php here. Any comments will be a help.
Thanks
Cheng

31 Aug 2008, 8:38 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: clone shipping module got blank page

/me peeks around for the attached file ... :unsure:

1 Sep 2008, 2:13 AM
#3
cheng avatar

cheng

New Zenner

Join Date:
Nov 2005
Posts:
18
Plugin Contributions:
0

Re: clone shipping module got blank page

Hi Ajei:
I attached two files as txt from the original php file, my zentcart is
Zen Cart 1.3.8a
Database Patch Level: 1.3.8
v1.3.8 [2008-08-12 22:54:48] (Fresh Installation)
v1.3.8 [2008-08-12 22:54:48] (Fresh Installation)
and PHP
PHP Version 4.4.9

Please review the two clone files.

thanks
Cheng

1 Sep 2008, 3:00 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: clone shipping module got blank page

Works fine ...

Just remove the blank line(s) and space(s) that are after the closing php tag** ?>** at the bottom of the files ... :cool:

1 Sep 2008, 4:05 AM
#5
cheng avatar

cheng

New Zenner

Join Date:
Nov 2005
Posts:
18
Plugin Contributions:
0

Re: clone shipping module got blank page

Modified as instructed and it working now.
thanks
Cheng

1 Sep 2008, 4:22 AM
#6
ajeh avatar

ajeh

Oba-san

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

Re: clone shipping module got blank page

You are most welcome ... thanks for the update ... :smile:

24 Sep 2010, 2:55 PM
#7
keneb avatar

keneb

New Zenner

Join Date:
Sep 2010
Posts:
17
Plugin Contributions:
0

Re: clone shipping module got blank page

v1.3.9d
Hi, I would appreciate some help with cloning zones.php to zonesair.php in cushionsfromafrica dot com /zen

I changes all occurrences of zones to zonesair and ZONES to ZONESAIR and uploaded both the module and language files.

When I click on install zonesair the options that show are Update and Cancel. The module will not install.

24 Sep 2010, 3:37 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: clone shipping module got blank page

Zones is a difficult shipping module to clone ...

You might peek in the Free Software Add Ons where there are add ons for Zone Shipping that have them cloned already ...

26 Sep 2010, 3:17 PM
#9
keneb avatar

keneb

New Zenner

Join Date:
Sep 2010
Posts:
17
Plugin Contributions:
0

Re: clone shipping module got blank page

Thanks for the advice. I used "Zone Rates Clone" from the free add-ons and it installed perfectly.:clap:

26 Sep 2010, 4:18 PM
#10
keneb avatar

keneb

New Zenner

Join Date:
Sep 2010
Posts:
17
Plugin Contributions:
0

Re: clone shipping module got blank page

Just testing my signature. Please feel free to delete this message

26 Sep 2010, 4:23 PM
#11
ajeh avatar

ajeh

Oba-san

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

Re: clone shipping module got blank page

Glad to hear that you have this working now ... and that your signature is working ... :smile: