Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: setlocale() [function.setlocale]: Passing locale ca


slam

Recommended Posts

In admin/default I get this? what do I need to do?

 

 

 

Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /usr/local/apache/htdocs/catalog/includes/languages/english.php on line 12

Link to comment
Share on other sites

you can either ignore the warning and set your error_reporting to a lower level. Better yet yould be to change the strings in setlocale from "LC_*" to the defined constants LC_*

 

Just search in the sources for setlocale and replace "LC_ALL" with LC_ALL (without the quotes) for each occurrence.

 

I wonder which version you are using. With the latest version you should not get this warning.

 

Marian

Link to comment
Share on other sites

tep-admin-pr2.1 is the zip file. version 2.1?

Whats the easiest way to search and replace in all of the files.?

or would it be better to dl the newest version.

I've been playing with this on and off for a while and don't remember all the steps I've taken to get it working this much.

Link to comment
Share on other sites

If you don't have a reason to stick to the old version, I would suggest to use the current version. I downloaded the snapshot at May 5th and did not encounter any problem with that.

 

Marian

Link to comment
Share on other sites

I downloaded snapshot may 15.

its quite different at lease in the configure.

before I was editing default.php and application_top

now its configure.php and application_top and what else?

now I get different errors?

I have 2.1 kind of working. I changed english.php and the deprecation error is gone. I can setup a new account and that works . now I need help with setting up ssl on apache2 .. If I try to check out I get an error opening https://localhost since https is not setup right or started.

do I need to start https like apachectl for http?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...