Jump to content


Corporate Sponsors


Latest News: (loading..)

scandic_outlet

Member Since 20 Nov 2004
Offline Last Active Oct 24 2011, 12:06
-----

Topics I've Started

pls help me understand the tech aspects of langauge in OSC and develop a fix

02 October 2011, 19:33

hi guys
hope a real expert will offer some help here..

Briefly explained, on a live shop with many orders, i made a mistake in OSC 2.3 when adding a new language, by adding a wrong iso code (2 digit), when adding it in admin.
The shop went live with the new language, and everythinig worked great.

Then i had to install a new payment module, which is restricted to some specific languages, which it checks based on the 2-digit language iso code, and now i can not use this module, unless i change/correct the wrongly installed language to the propper iso code.

The problem is, if i change the iso code now, every shop visitor who enters the store, now gets a blank page. Do you have any idea why this is? and what i could do to fix it?

Put wrong ISO code and went live.. now changing F*CKS up site

19 August 2011, 12:23

hi guys
i made a bad mistake.

When installing the language pack for Danish language, i added the language in admin and put "dk" as the iso code... It should have been "da"

After a month of being "live" i discovered this mistake, because of some payment modules, who needs the correct iso code "da".
I tried chaning the admin setting to DA - but then most customers who visited the site before the change - now just gets a BLANK PAGE.

i dont know if its because most computers caches something or where i am going wrong.. but could anyone of you offer me any kind of solution how to get around this problem??
I realliy need to set the proper iso code - but at the same time, dont want to give all my returning customers a blank screen :(


please help me.

regards and many thanks
Michael

PHP 5.3 issue - pls help

09 August 2011, 07:35

hi All php experts..

iv'e installed the stats module available here:
http://addons.oscommerce.com/info/8078/v,23

Its otuputting a php error, that iv'e tried to resolve using my friend google,but without luck :(

I hope one of you guys, can help me fix this simple line.. updating it to work with propper php 5.3 code (the line marked in bold)

<!-- footer_eof //-->
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php');

function mirror_out ($field) {
global $csv_accum;
echo $field;
$field = strip_tags($field);
$field = ereg_replace (",","",$field);
if ($csv_accum=='') $csv_accum=$field;
else
{if (strrpos($csv_accum,chr(10)) == (strlen($csv_accum)-1)) $csv_accum .= $field;
else $csv_accum .= "," . $field; };
return;
};


Hope you can help me.

Thanks
Michael