[osCommerce] Register Globals MOD (Invalid argument supplie)

Discussions about MODs and Tips published on our web site.

[osCommerce] Register Globals MOD (Invalid argument supplie)

Postby ticinosoft » Fri Mar 07, 2008 3:45 am

I've this problem with register globals easy:

I receive this error:

Warning: Invalid argument supplied for foreach() in /home/xxxxxx/web/includes/functions/sessions.php on line 141


This is the code in sessions.php around line 141

code at line 141:

Code: Select all
// Register Globals MOD - http://www.magic-seo-url.com  function tep_session_close() {    foreach($_SESSION as $key => $value) {      global $$key;      $_SESSION[$key] = $$key;    }  }
ticinosoft
 
Posts: 1
Joined: Fri Mar 07, 2008 3:39 am

Re: [osCommerce] Register Globals MOD (Invalid argument supplie)

Postby marker » Tue Dec 09, 2008 1:24 pm

I have the same problem.

Any help appreciated, thanks.

Regards
marker
 
Posts: 2
Joined: Tue Dec 09, 2008 1:23 pm

Re: [osCommerce] Register Globals MOD (Invalid argument supplie)

Postby marker » Wed Dec 24, 2008 3:43 am

Any help, please?
marker
 
Posts: 2
Joined: Tue Dec 09, 2008 1:23 pm

Re: [osCommerce] Register Globals MOD (Invalid argument supplie)

Postby ~J~ » Mon Oct 05, 2009 4:29 pm

Code: Select all
// Register Globals MOD - http://www.magic-seo-url.com  function tep_session_close() {    foreach($_SESSION as $key => $value) {      global $$key;      $_SESSION[$key] = $$key;    }  }


This has been fixed.

http://www.magic-seo-url.com/oscommerce ... s-off.html
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe


Return to MODs and Tips Support

Who is online

Users browsing this forum: No registered users and 1 guest