Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Sign in to follow this  

Callback deprecated function problems?

Recommended Posts

Hi folks,


Our oscommerce store is quite old and our kind hosting company decided to move it and upgrade the php and mysql, anyway we had a lot of issues most of which resulted due to the old server having registers globals on and the new one having them off. I've fixed most of it using the instructions here:-




I've installed the latest Worldpay contribution, running it in test mode, its not quite working though, when the callback page is displayed before the meta refresh, there is a warning at the bottom of the page which says:-


Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively in Unknown on line 0


Can anyone help with curing this?


The page does meta refresh ok and the checkout completes however on the final checkout_success page the print order URL linked to the Print Order button is missing the order ID, eg it ends:-




Please help,



Share this post

Link to post
Share on other sites

paste your printeorder.php file and the file that resulted in post to this( probably should be printorder.php itself)




Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.


Check My About US For who am I and what My company does.

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