drgroove Posted February 16, 2003 Posted February 16, 2003 My site's ISP upgraded to PHP4.3 - now I'm receiving errors on the osc, on every page! Here's the error msg: Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/username/public_html/catalog/includes/languages/english.php on line 12 Any ideas as to how to approach this? Using OSC v2.1 Line 12 in english.php is: setlocale('LC_TIME', 'en_US.ISO_8859-1'); ??? what to change ???
Paul_C Posted February 17, 2003 Posted February 17, 2003 Remove the quotes from around LC_TIME "It's a damn poor mind that can only think of one way to spell a word." -- Andrew Jackson
drgroove Posted February 18, 2003 Author Posted February 18, 2003 Thank you - that worked! :) However, now I've run into another problem: If a customer is not logged in, when trying to 'checkout', the checkout button does not forward them to the normal screen where they are asked to Login or Create an Account... it just basically refreshes the page that they're on, the Shopping Cart page. What to do for this ??? Any suggestions ? Thank you!!!
smiley Posted February 18, 2003 Posted February 18, 2003 Hi, My server uses 4.2.3 so I asked them. Their reply. We have servers running PHP 4.2.3 without any problems for OSCommerce. What I know it has to do with the earlier versions of 4.2.3, the current release that we use do give any problems. Don't reinvent the wheel. Ask your server if they can help. :) HTH Neil Common sense is genius dressed in working clothes. Ralph Waldo Emerson
dreamscape Posted February 18, 2003 Posted February 18, 2003 see my solution to problems that may be encountered with PHP v4.3 here: http://www.oscommerce.com/forums/viewtopic.php?t=34417 it may or may not help your problem, but certainly should be done since PHP 4.3 doesn't use certain globals anymore that OSC still uses for PHP 3 compatibility. The only thing necessary for evil to flourish is for good men to do nothing - Edmund Burke
drgroove Posted February 22, 2003 Author Posted February 22, 2003 Hi,My server uses 4.2.3 so I asked them. Their reply. We have servers running PHP 4.2.3 without any problems for OSCommerce. What I know it has to do with the earlier versions of 4.2.3, the current release that we use do give any problems. Don't reinvent the wheel. Ask your server if they can help. :) unfortunately, the hosting company are essentially useless when it comes to supporting their customers... I'm currently in search of a new hosting service as a result of their lack of support. but, i digress... i do sincerely appreciate your taking the time to help out! :)
drgroove Posted February 22, 2003 Author Posted February 22, 2003 None of the $HTTP_*_VARS fixes in the referenced forum post have any effect on resolving the issue w/ my OSC... is it a v2.2 vs v2.1 issue, perhaps?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.