Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error in Reinstall


piropeator

Recommended Posts

I reinstalled Oscommerce several times in my localhost but now I get an error.

I using Xampp 1.7.3 for Windows.

See error

thanks

I had the same issue when i upgraded my xampp

which uses php 5.3.1

 

i had a search on the forum for the error messages that i got, and found the fixes for them

 

these functions would be removed from php in the future.

and are just telling you, that you should be aware of this

 

anyway change

        if (eregi('^(' . $value . ')(;q=[0-9]\\.[0-9])?, $this->browser_languages[$i]) && isset($this->catalog_languages[$key])) {
           $this->language = $this->catalog_languages[$key];
           break 2;

 

 

to

 


       if (preg_match('/^(' . $value . ')(;q=[0-9]\\.[0-9])?$/i', $this->browser_languages[$i]) && isset($this->catalog_languages[$key])) {
                       $this->language = $this->catalog_languages[$key];
           break 2;

 

 

another way to remove the error is to add

& ~E_DEPRECATED

 

to the error reporting part of the code in application_top.php

 

 

so it would become

// set the level of error reporting 
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);

Phoenix support now at https://phoenixcart.org/forum/
App created for phoenix
TinyMCE editor for admin

 

Link to comment
Share on other sites

  • 1 month later...
another way to remove the error is to add

& ~E_DEPRECATED

 

to the error reporting part of the code in application_top.php

 

 

so it would become

// set the level of error reporting 
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);

 

that worked for me, thx

But i am still having errors with my tekquote_functions.php

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...