Page 1 of 2

[osCommerce] Register Globals MOD

Posted: Thu Feb 14, 2008 2:35 am
by GriJo
Hi,

This link http://www.magic-seo-url.com/oscommerce ... s-off.html

Can it be used for osCommerce RC1?

Re: [osCommerce RC1] Register Globals

Posted: Thu Feb 14, 2008 6:43 am
by inveo
Yes, it can be used also with osCommerce 2.2rc1.

Re: [osCommerce] Register Globals MOD

Posted: Fri Feb 22, 2008 5:12 am
by englishchrissy
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

Posted: Fri Feb 22, 2008 8:24 am
by inveo
What is the exact URL of store?

Re: [osCommerce] Register Globals MOD

Posted: Fri Feb 22, 2008 10:15 am
by englishchrissy
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?

Re: [osCommerce] Register Globals MOD

Posted: Fri Feb 22, 2008 2:31 pm
by inveo
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.

Re: [osCommerce] Register Globals MOD

Posted: Fri Feb 22, 2008 3:35 pm
by englishchrissy
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?

Re: [osCommerce] Register Globals MOD

Posted: Fri Feb 22, 2008 4:02 pm
by inveo
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")) {
everywhere there is high probability it is caused by used PHP version.

Re: [osCommerce] Register Globals MOD

Posted: Fri Feb 22, 2008 4:14 pm
by englishchrissy
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.

Re: [osCommerce] Register Globals MOD

Posted: Sat Feb 23, 2008 6:23 am
by englishchrissy
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.

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [Zen Cart] Can't execute Magic SEO URLs sitemaps
    I installed Magic SEO URLs Sitemaps Add-On for ZenCart MSU4.x/MSU5.x 2.0 on my server, when I try to generate sitemaps using: https://www.pechesudv155.owally.com/sitemaps.php I received :...
    by peter@pechesud.com
  • [phpBB3] Sharing users between phpBB / PrestaShop
    Hi i have 2 question 1- prestashop module support phpBB 3.3 ? 2- why we can not login in prestashop and phpbb with same user?
    by zohall
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
Join our support forum » Pre-Sales Questions »
Featured Testimonials

Thank you very much, the loading times of both the web and the back office have been considerably reduced.

Manuel, the owner of Motos Manu

The support provided by the Inveostore.com team was top-notch! I had some questions regarding installation and they provided fast and friendly help. I’ll be recommending Magic SEO URLs to anyone who needs a quality URL re-write application from a great company.

Andrew, the owner of Right Channel Radios

More Testimonials »