Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    May 2008
    Posts
    19
    Plugin Contributions
    0

    Default My shiipping modules disappeared

    My shipping module page has gone haywire!
    I added a shipping zone allowing only the contiguous 48 states to the zenpwtable add-on shipping module, and now the shipping module page is all screwed up.

    I'm running:

    Zen Cart 1.3.9f
    Patch: 1::
    Database Patch Level: 1.3.9a

    Now, when I click on Modules>Shipping all that show up are:
    Modules Sort Order Action
    Flat Rate flat 0
    Free Shipping Options freeoptions
    FREE SHIPPING! freeshipper 0
    Per Item item 0
    Per Unit

    The buttons for editing, deleting, or installing modules are all gone.

    When I try to go to checkout in the store, I get HTTP500 internal server error.

    Any ideas?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: My shiipping modules disappeared

    Look in the directory:
    /includes/modules/shipping

    and see if you have any backup files or duplicates as this is an autoloading directory ...

    Also peek in the /cache directory to see what the debug logs say ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    May 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: My shiipping modules disappeared

    Quote Originally Posted by Ajeh View Post
    Look in the directory:
    /includes/modules/shipping

    and see if you have any backup files or duplicates as this is an autoloading directory ...

    Also peek in the /cache directory to see what the debug logs say ...
    No duplicate files in /includes/modules/shipping.

    Today's debug log:
    [18-Jan-2012 13:33:23] PHP Fatal error: Cannot redeclare display_table() (previously declared in /home3/rainfor4/public_html/zencart/includes/functions/cost_weight_table.php:15) in /home3/rainfor4/public_html/zencart/includes/functions/cost_weight_table.php on line 42

    Thanks for any help you can provide.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: My shiipping modules disappeared

    Sounds like the shipping module listed is using the same code as another shipping module ...

    Go to your Tools ... Developers Tool Kit ... and in the bottom input box enter:
    display_table

    and select Catalog ... then click SEARCH ... and see what files are using that ...

    They are in conflict with one another ...

    Where did you get the file:
    cost_weight_table.php

    from that is displayed in the error message?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    May 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: My shiipping modules disappeared

    Quote Originally Posted by Ajeh View Post

    Where did you get the file:
    cost_weight_table.php

    from that is displayed in the error message?
    From this thread: http://www.zen-cart.com/forum/showthread.php?t=180398

  6. #6
    Join Date
    May 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: My shiipping modules disappeared

    /home/rainfor4/public_html/zencart/includes/functions/cost_weight_table.php

    Line #13 : function display_table() {

    Line #19 : $display_table = '<table border="1" width="400" class="smalltable">';

    Line #20 : $display_table .= '<tr align="center">';

    Line #21 : $display_table .= '<th colspan="7">' . MODULE_SHIPPING_PWTABLE_TEXT_TABLE_ROW_HEAD . '</th></tr>';

    Line #22 : $display_table .= '<tr align="center"><th>' . MODULE_SHIPPING_PWTABLE_TEXT_TABLE_COLUMN_HEAD . '</th>';

    Line #24 : $display_table .= '<th>' . $weight_matrix[0][$i] . '</th>';

    Line #26 : $display_table .= '</tr>';

    Line #31 : $display_table .= '<tr align="center"><th>' . $currency_symbol . $table_costtable[$j] . '</th>';

    Line #34 : $display_table .= '<td ' . (($table_pointer==$j && $weight_pointer==$i)?"class=\"smalltablebackhighlight\"":"") . '>' . $currency_symbol . $weight_matrix[$j][$i+1] . '</td>';

    Line #36 : $display_table .= '</tr>';

    Line #38 : $display_table .= '</table>';

    Line #40 : return $display_table;



    /home/rainfor4/public_html/zencart/includes/modules/shipping/pwtable.php

    Line #94 : $display_table = display_table();

    Line #105 : 'table' => $display_table,


    Match Lines found: 14

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: My shiipping modules disappeared

    I am not sure why it would be loading twice based on what you are displaying ...

    I loaded the code and I am not having any problems with it ...

    What files do you see in:
    /includes/modules/shipping

    make sure that they are all code files ...

    What files do you see in:
    /includes/languages/english/modules/shipping

    make sure that they are all language files ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    May 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: My shiipping modules disappeared

    Quote Originally Posted by Ajeh View Post
    I am not sure why it would be loading twice based on what you are displaying ...

    I loaded the code and I am not having any problems with it ...

    What files do you see in:
    /includes/modules/shipping

    make sure that they are all code files ...

    What files do you see in:
    /includes/languages/english/modules/shipping

    make sure that they are all language files ...
    What files do you see in:
    /includes/modules/shipping
    flat.php
    freeoptions.php
    freeshipper.php
    item.php
    perweightunit.php
    pwtable.php
    storepickup.php
    table.php
    ups.php
    usps.php
    zones.php

    What files do you see in:
    /includes/languages/english/modules/shipping
    classic(folder containing empty.txt)
    flat.php
    freeoptions.php
    freeshipper.php
    item.php
    perweightunit.php
    pwtable.php
    storepickup.php
    table.php
    ups.php
    usps.php
    zones.php

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: My shiipping modules disappeared

    Could you go to the Developers Tool Kit and do a search on:
    display_table()

    select Catalog ... click SEARCH ...

    What comes up?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    May 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: My shiipping modules disappeared

    Quote Originally Posted by Ajeh View Post
    Could you go to the Developers Tool Kit and do a search on:
    display_table()

    select Catalog ... click SEARCH ...

    What comes up?
    Searching 651 files ... for: display_table()

    /home/rainfor4/public_html/zencart/includes/functions/cost_weight_table.php

    Line #13 : function display_table() {



    /home/rainfor4/public_html/zencart/includes/modules/shipping/pwtable.php

    Line #94 : $display_table = display_table();


    Match Lines found: 2

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Shipping Page & Modules Disappeared
    By dat311 in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 17 May 2013, 04:13 PM
  2. Shipping/Payment Modules Disappeared
    By clarkeyi in forum General Questions
    Replies: 2
    Last Post: 18 Mar 2009, 10:58 PM
  3. Modules/Payments: Modules not 'clickable' !?! What now?
    By hva in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 2 Oct 2008, 08:38 PM
  4. PLEASE HELP! Payment modules disappeared!
    By clr550 in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 13 Feb 2008, 06:01 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR