[osCommerce] Register Globals MOD
[osCommerce] Register Globals MOD
Hi,
This link http://www.magic-seo-url.com/oscommerce ... s-off.html
Can it be used for osCommerce RC1?
This link http://www.magic-seo-url.com/oscommerce ... s-off.html
Can it be used for osCommerce RC1?
Re: [osCommerce RC1] Register Globals
Yes, it can be used also with osCommerce 2.2rc1.
-
- Posts: 5
- Joined: Fri Feb 22, 2008 5:04 am
Re: [osCommerce] Register Globals MOD
Hi just installed this on my test server. All looked good until I tried to buy something. We use protx 3d secure contribution in an iframe. When I submit the payment it says your card is being processed but the status line at the bottom of the browser is flickering very fast and nothing happens. Strangely, when I tried to follow the code through with my debugger it worked. Any ideas as everything else seems ok. Thanks
Re: [osCommerce] Register Globals MOD
What is the exact URL of store?
-
- Posts: 5
- Joined: Fri Feb 22, 2008 5:04 am
Re: [osCommerce] Register Globals MOD
Hi, its running on my localhost test machine. It gets in some sort of loop when the action is 'process' I think. I have not promoted changes to live. The 1st line of code after
} elseif ($_GET['action'] == 'process') {
is
global $_POST, $order, $cart, $currency, $currencies;
Could it be this causing the problem with register_globals off?
} elseif ($_GET['action'] == 'process') {
is
global $_POST, $order, $cart, $currency, $currencies;
Could it be this causing the problem with register_globals off?
Re: [osCommerce] Register Globals MOD
englishchrissy wrote:Hi, its running on my localhost test machine.
I was asking you, because you have contact me previously by email and you have specified your web site URL as one store of our real customer. I was little confused...
englishchrissy wrote:Could it be this causing the problem with register_globals off?
Does this problem also occur when you enabled Register Globals in php.ini? It looks like an error in PHP. If you are using PHP5 series please upgrade to the latest version.
-
- Posts: 5
- Joined: Fri Feb 22, 2008 5:04 am
Re: [osCommerce] Register Globals MOD
Hi, yes we do use magic seo urls on the live store and yes we are a real customer. On my test localhost, although I use the same files as live, ie. with the magic seo urls code in. They do not work, which is ok for testing as I can see the real url.
With the 'register globals easy' changes the problem occurred when register_globals was on or off. It made no difference.
On my localhost test machine I am using PHP Version 5.1.2. I think we use a later version on live but I have not put the register_globals changes live so I do not know what effect that might have.
Would upgrading my localhost machine to the latest version resolve the problem?
With the 'register globals easy' changes the problem occurred when register_globals was on or off. It made no difference.
On my localhost test machine I am using PHP Version 5.1.2. I think we use a later version on live but I have not put the register_globals changes live so I do not know what effect that might have.
Would upgrading my localhost machine to the latest version resolve the problem?
Re: [osCommerce] Register Globals MOD
englishchrissy wrote:Would upgrading my localhost machine to the latest version resolve the problem?
Since this MOD is using
Code: Select all
if (!ini_get("register_globals")) {
-
- Posts: 5
- Joined: Fri Feb 22, 2008 5:04 am
Re: [osCommerce] Register Globals MOD
Hi, thanks for the advice. We use PHP 5.2.3 on the live site. I will try the register globals mod on live and see if it works. I will probably have to try just the code changes with register globals on as it is the weekend and we need the host admin to change php.ini. Also I have my son over from Holland tomorrow so can't spend to much time on the computer. Also, off snowboarding in Verbier, Switzerland next week so may have to wait a bit. I will try to get this working as it is a great mod and we want to use it. Just looks like protx is the problem at the moment. Thanks for your help. I will let you know what happens. Cheers.
-
- Posts: 5
- Joined: Fri Feb 22, 2008 5:04 am
Re: [osCommerce] Register Globals MOD
Hi, just copied all the Register Globals Easy files upto Live (PHP 5.2.3). Left register_globals on in php.ini. Tried to buy something and the same thing happens as on test localhost. It seems to be in a loop as protx_process.php is flickering in the status line of the browser. So, it does not have anything to do with PHP 5.1.2 (localhost) and PHP 5.2.3 (LIve). Hope these clues help. If I find out anything more, I will let you know. Cheers.