Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No Modules available Payment/Shipping after register globals change


dnjweb

Recommended Posts

Posted

Hosting company changed the register globals last weekend, so I applied the Register Globals contribution and all sems to be working fine. Went into the Admin section to take a look/make some changes, and I notice that now under the modules section there are no shipping/payment/order total modules available. Cany anyone point me to what might have changed, and how I would get these back? Thanks!

Posted
Hosting company changed the register globals last weekend, so I applied the Register Globals contribution and all sems to be working fine. Went into the Admin section to take a look/make some changes, and I notice that now under the modules section there are no shipping/payment/order total modules available. Cany anyone point me to what might have changed, and how I would get these back? Thanks!

 

 

Hosting company may not have done a complete job.

 

Look for your php.ini file. One in admin/ one in catalog/ open them and make sure that the lines do indeed say "register_globals = on.

 

If there is not one in both of those directories copy/paste into them.

 

Although it shouldn't be needed, and you believe the company change is the culprit also copy/past one into both your shipping module files.

 

If that doesn't do the trick, I'd start checking paths and permissions.

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Posted
Hosting company may not have done a complete job.

 

Look for your php.ini file. One in admin/ one in catalog/ open them and make sure that the lines do indeed say "register_globals = on.

 

If there is not one in both of those directories copy/paste into them.

 

Although it shouldn't be needed, and you believe the company change is the culprit also copy/past one into both your shipping module files.

 

If that doesn't do the trick, I'd start checking paths and permissions.

As I was/am digging, I find the the configuration table in the MySQL database has had the options removed. Looking at my backup for certian variables, the existed in my backup and do not in the current database. Get even better, edited the database and pasted the variables back in only to see them disapear, must be something else I am missing.

Posted
Hosting company may not have done a complete job.

 

Look for your php.ini file. One in admin/ one in catalog/ open them and make sure that the lines do indeed say "register_globals = on.

 

If there is not one in both of those directories copy/paste into them.

 

Although it shouldn't be needed, and you believe the company change is the culprit also copy/past one into both your shipping module files.

 

If that doesn't do the trick, I'd start checking paths and permissions.

As I was/am digging, I find the the configuration table in the MySQL database has had the options removed. Looking at my backup for certian variables, the existed in my backup and do not in the current database. Get even better, edited the database and pasted the variables back in only to see them disapear, must be something else I am missing.

Posted
As I was/am digging, I find the the configuration table in the MySQL database has had the options removed. Looking at my backup for certian variables, the existed in my backup and do not in the current database. Get even better, edited the database and pasted the variables back in only to see them disapear, must be something else I am missing.

 

 

If register_globals are on in your php.ini, it is my recollection that you don't need them turned on in your db or configuration file. I may be wrong about that, but I do believe that is the case.

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Posted

Hi folks,

 

I have the same problem - all "modules" have disappeared - Payment, Order Total and Shipping.

 

Have just transplanted the site to a dedicated server and early tests worked. Made some changes to get VirtualHost working on Apache on W2K3 Server, but find out today that modules are no longer there.

 

DB was restored from dump from other host and early order tests worked fine.

 

Module options are still in the Config table in the DB - which credit cards we accept, shipping rates etc, but the site doesn't see the module as installed, or even list it so I can remove and re-add it.

 

Can anyone explain how the Modules actually work so I can start to troubleshoot this?

 

Many thanks,

 

Simon

Posted
Hi folks,

 

I have the same problem - all "modules" have disappeared - Payment, Order Total and Shipping.

 

Have just transplanted the site to a dedicated server and early tests worked. Made some changes to get VirtualHost working on Apache on W2K3 Server, but find out today that modules are no longer there.

 

DB was restored from dump from other host and early order tests worked fine.

 

Module options are still in the Config table in the DB - which credit cards we accept, shipping rates etc, but the site doesn't see the module as installed, or even list it so I can remove and re-add it.

 

Can anyone explain how the Modules actually work so I can start to troubleshoot this?

 

Many thanks,

 

Simon

That sounds exactly what is happening to me. More information, when I went into the cart as a customer, there was no options for shipping or payment. I was able to get the cart functioning again by updating the Configuration file in the DB I think it was entries 67-69. Something in the Adnim section is deleting these variables (among other things) from the DB.

Posted

Probaly has quite a bearing on this - the new server is running PHP 5 and MySQL 5 and I know there are a lot of differences - the LEFT JOIN issue being one.

 

Saying that, the fact that it worked when in a subfolder under htdocs on the server (with the path to the subfolder included in the config etc) but fails when VirtualHosts set up (that was the last change I made at 3am last night!) indicates that it might not be that relevant.....

 

Any help much appreciated!

 

I have 5 orders but no payment details!

 

Simon

Posted

OK, open your eyes before you start.......

 

Just spotted this.....

 

Module Directory: c:\apache2triad\htdocs\farcanal\catalogincludes/modules/payment/

 

So time to troubleshoot paths......

Posted

Well, that fixed it.

 

A point to remember when working with Apache, even on Windows, that you use / in paths not \ and make sure that if "/pathtofiles/catalog/" ends with a / you don't need / at the beginning of "includes/" coz it's already there!

 

The path(s) that were incorrect were the ones in the admin/includes/configure.php btw.

Posted
Well, that fixed it.

 

A point to remember when working with Apache, even on Windows, that you use / in paths not \ and make sure that if "/pathtofiles/catalog/" ends with a / you don't need / at the beginning of "includes/" coz it's already there!

 

The path(s) that were incorrect were the ones in the admin/includes/configure.php btw.

Found my problem - In the configure.php file there were many relative paths - when I changed those to absolute pahts, the problem seems to be fixed. Hope this might help someone else out!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...