Error When Changing Lang file

16.01.2012 19:29
#1
rolyat100
Joomshopping forum user no avatar
Name: Taylor Ruble
16.03.2009
Сообщения: 44
Quote
Error When Changing Lang file

I have tried to edit the en-gb lang file so that "kg" is changed to "lb" and "country" is changed to "state."

When I tested the cart i get several errors.

Warning: Cannot modify header information - headers already sent by (output started at /home/ncranger/public_html/patriotprovisions.com/components/com_jshopping/lang/en-GB.php:1) in /home/ncranger/public_html/patriotprovisions.com/components/com_jshopping/lib/functions.php on line 399


and,

Warning: Cannot modify header information - headers already sent by (output started at /home/ncranger/public_html/patriotprovisions.com/components/com_jshopping/lang/en-GB.php:1) in /home/ncranger/public_html/patriotprovisions.com/components/com_jshopping/models/tempcart.php on line 22


The real problem has come now that I have returned the file to its original state and I am still getting the errors.

I have cleared my chache on both the site and on my computer, but still the errors appear.

Please help with this issue.


Joomla: 1.7.3
JoomShopping: 3.3.1
PHP: 5.2.17
MySQL: 5.1.56
Website Url: www.patriotprovisions.com

Последнее изменение: 16.01.2012 19:38
 
16.01.2012 19:40
#2
rolyat100
Joomshopping forum user no avatar
Name: Taylor Ruble
16.03.2009
Сообщения: 44
Quote
Aw: Error When Changing Lang file

I should add also that there also errors in the controllers/cart.php

And checkout.php.

Oddly though the system still sends it to checkout through Paypal.

I would really like to make the changes listed above to the language file without these errors.

 
16.01.2012 19:50
#3
rolyat100
Joomshopping forum user no avatar
Name: Taylor Ruble
16.03.2009
Сообщения: 44
Quote
Aw: Error When Changing Lang file

i read where file should be saved as a utf-8 file, which is how it is saved using standard notebook editor.

is this possibly a permissions issue?

 
16.01.2012 20:06
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25919
Quote
Aw: Error When Changing Lang file

use notepad ++ (save as utf-8 without BOM)

 
17.01.2012 02:34
#5
rolyat100
Joomshopping forum user no avatar
Name: Taylor Ruble
16.03.2009
Сообщения: 44
Quote
Aw: Error When Changing Lang file

Thanks for the reply. Babel pad also worked. Users here should be warned of using windows notepad.

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.