Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sign in to follow this  
leveera

[Contribution] Register globals easy

Recommended Posts

Guest

Like others before, I get this error message at the bottom of the page when the page is first loaded. Then it disappears. But every visitor sees it at first. <_<

 

Warning: extract() [function.extract]: First argument should be an array in /home/***/includes/application_top.php on line 220

 

Did anyone find the solution to this problem?

 

Thanks a lot!

Share this post


Link to post
Share on other sites
Guest

Like others before, I get this error message at the bottom of the page when the page is first loaded. Then it disappears. But every visitor sees it at first. <_<

 

 

 

Did anyone find the solution to this problem?

 

Thanks a lot!

 

Sorry, I couldnt find a way to edit my previous post.

I just found the solution to my problem below.

http://www.magic-seo-url.com/board/oscommerce-register-globals-mod-21-10.html

Simply change the problematic line to

if(!empty($_SESSION)) extract($_SESSION, EXTR_SKIP);

Hope it helps!

 

But I still have an error message at the bottom of the page...

Warning: Invalid argument supplied for foreach() in /home/WwwBSD/machja.fr/includes/functions/sessions.php on line 111

An idea anyone?

Share this post


Link to post
Share on other sites

I'm running this great mod, and have some of the same problems with the admin-section.

 

But I have encountered antoher Issue:

 

When user put items in the Shopping-basket they are shown correctly.

When the users log off and on again, the shopping-basket is empty.

Have checked the database, and the records are stored correctly.

 

Does anyone have an Idea to get this to function ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×