Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Register globals easy


leveera

Recommended Posts

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!

Link to comment
Share on other sites

  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

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?

Link to comment
Share on other sites

  • 1 month later...

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 ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...