Page 1 of 1

[osCommerce] Register Globals MOD (Invalid argument supplie)

Posted: Fri Mar 07, 2008 4:45 am
by ticinosoft
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;    }  }

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

Posted: Tue Dec 09, 2008 2:24 pm
by marker
I have the same problem.

Any help appreciated, thanks.

Regards

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

Posted: Wed Dec 24, 2008 4:43 am
by marker
Any help, please?

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

Posted: Mon Oct 05, 2009 5:29 pm
by inveo

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

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
  • [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
  • [phpBB3] Chinese language support
    Hi, i bought magic seo for phpbb because it says that it supports a wide range of alphabets and UTF-8, however i found that it doesn't. I'm preparing a website in Chinese and all forums having a...
    by iwsmike
  • [WP2PS] Yoast SEO plugin
    Thanks for your support installing the PS-WP integration. However there is some errors when PS-WP integration is activated. 1. Error generating sitemap with Yoas SEO plugin (it disappears when...
    by argidomin
Join our support forum » Pre-Sales Questions »
Featured Testimonials

I am loving the speed! Hope this helps bounce rate and more sales :)

Andy, the owner of Lipgloss Clubwear

Thank you so much for getting it setup!

Jonathan, the owner of Foster's Point

More Testimonials »