Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

takenote

Archived
  • Posts

    9
  • Joined

  • Last visited

Posts posted by takenote

  1. Well, I re-installed and tried doing the changes step-by-step, checking for the "install" button each time.

     

    It seemed to disappear after the following step from the documentation: Editing catalog/admin/categories.php, going down to the replace around line 298.

     

    The "replace" code was:

     

    tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model, products_image, products_price, products_date_added, products_date_available, products_weight, products_dim_type, products_weight_type, products_length, products_width, products_height, products_ready_to_ship, products_status, products_tax_class_id, manufacturers_id) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "',  now(), '" . tep_db_input($product['products_date_available']) . "', '" . tep_db_input($product['products_weight']) . "', '" . tep_db_input($product['products_length']) . "', '" . tep_db_input($product['products_width']) . "', '" . tep_db_input($product['products_height']) . "', '" . tep_db_input($product['products_ready_to_ship']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')");

     

    The items "products_dim_type" and "products_weight_type" seemed to be causing the problem. When I deleted them, but replaced the rest of the code "as is", the "install" button and info panel on the shipping modules remained intact.

     

    So... I've got the info panel back, but... Have I just deleted part of the code that is essential for this shipping module to work?!?

     

    Thanks,

    Alyssa

     

    Hi folks,

     

    I've run into the same problem twice now with this add-on, and can't figure out what I'm doing wrong -- or, unfortunately, how to fix the mistake after the fact, without re-loading the whole application. (Re-uploading the originals of the altered files, for some reason, doesn't fix it...) Essentially, I'm losing the "Install" key / panel when I go into Admin - Modules - Shipping (it's there for the other modules still, just not shipping).

     

    I upload the new files -- everything is fine.

    I run the command on the database -- everything is fine

    I edit and upload the files in the "automated labels" section of the documentation -- everything is fine

    I edit and upload the files in the "shipping module" section of the documentation -- "install" key disappears

    I upload the backed-up original versions of those files -- "install" key still missing

     

    ***I re-upload the entire site from my back-up -- "install" key still missing!***

     

    Any ideas?!?

     

    I'm tempted to just go live without the shipping module and add it later -- but since I can't even restore from backup at the moment, I don't want to lose months of work down the road.

     

    Thanks,

    Alyssa

  2. Thanks Jim,

     

    I hadn't touched the modules .php file, so I'm thinking it was a module file with errors.

     

    It's the Canada Post shipping module, and in the discussions about it, I haven't seen reference to such a problem, so it seems weird that I'm the only one experiencing it.

     

    BUT... I did find some questionable edits in the catalog/admin/categories.php file, which seemed to be calling on table headings that didn't exist -- I've taken those edits out, and the "install" panel has come back. Not sure if the shipping module still works, though. :-)

     

    Thanks again,

    Alyssa

     

     

    The Info panel is at the bottom of the code page, so the page is stopping before it gets to that point in the code. Look at the page source and you can see where it is stopping. This can be caused by errors in editing catalog/admin/modules.php or by a module file with errors. If you have recently edited the modules.php file, replacing that file with your backup should solve the problem temporarily. If you need to edit the file for whatever reason, you will need to fix the errors in your edit for this to work.

     

    If you have recently added a shipping module, this can be fixed temporarily by removing the broken module file. A permanent fix will require fixing the errors in the module file or by replacing it with a good copy of the file. If your server has error reporting turned on, you should see an error message that will give you a hint where to find the problem. You may need to look at the page source to read the message. If errors are not displayed, look at your server error log for the error messages.

     

    Regards

    Jim

  3. Thanks, Muhammad, but that didn't do the trick for me, unfortunately. Still working on it...

     

    Alyssa

     

    For me, the solution offered by Ron has worked. I deleted the shipping modules folder along with the module files (e.g. flat.php, item.php, usp.php, etc) on the server and uploaded an old folder from the backup I had taken somewhile back.

     

    All seems to be working fine now.

     

    I hope this solution works for others too.

     

    Cheers.

  4. Hi folks,

     

    I've run into the same problem twice now with this add-on, and can't figure out what I'm doing wrong -- or, unfortunately, how to fix the mistake after the fact, without re-loading the whole application. (Re-uploading the originals of the altered files, for some reason, doesn't fix it...) Essentially, I'm losing the "Install" key / panel when I go into Admin - Modules - Shipping (it's there for the other modules still, just not shipping).

     

    I upload the new files -- everything is fine.

    I run the command on the database -- everything is fine

    I edit and upload the files in the "automated labels" section of the documentation -- everything is fine

    I edit and upload the files in the "shipping module" section of the documentation -- "install" key disappears

    I upload the backed-up original versions of those files -- "install" key still missing

     

    ***I re-upload the entire site from my back-up -- "install" key still missing!***

     

    Any ideas?!?

     

    I'm tempted to just go live without the shipping module and add it later -- but since I can't even restore from backup at the moment, I don't want to lose months of work down the road.

     

    Thanks,

    Alyssa

  5. That's been happening to me too -- now TWICE. Each time has been after I've tried to install the Canada Post shipping module.

     

    Each time, I've painstakingly gone back and tried to re-upload the original files, but it's not fixing the problem -- I can't figure it out. Last time, I just re-installed the whole thing (the site hasn't gone live yet, so that was a possibility, but I'd rather not have to keep doing that!!!).

     

    On one hand, I'm glad it's not just me, but... I have yet to find the solution. Please share if you find one!!!

     

    Thanks,

    Alyssa

×
×
  • Create New...