Post by Adrian » Thu Jun 18, 2009 12:52 am

Doesn't work for me.

It might be useful to say that the warnings are present only on the home page of the administration interface.

New member

Posts

Joined
Sat Jun 06, 2009 9:22 pm

Post by gavin m » Thu Jun 18, 2009 3:27 am

I started to have this issue today. Disabled the 'update currency' setting, and made the change in the home.php file and it's fixed the error for now.

Will keep an eye on it...

Active Member

Posts

Joined
Thu Jun 04, 2009 3:23 pm

Post by diatomin » Thu Jun 18, 2009 12:40 pm

Hi Guys!

Here's what I figured out about this array_combine() issue relating to the currency.php file. it's caused by a function that's supposed to automatically do an update on your currencies from the currencysource website (XML feed). The way I see it, currencysource has made some policy changes to accessing their XML file and while it's still possible to retrieve the file, you can only do so within a certain time frame. Let's say you can only grab it every 10 minutes (I'm not sure about the specific time, but when you do a refresh of the homepage with a reasonable time gap, the error does not appear). Try accessing the xml file link directly like the following:

http://feeds.currencysource.com/AUD.xml

See the RSS display properly? Try refreshing your browser - it'll give you a 403 access forbidden error / abuse.

So for now it's not a serious problem to panic about. However, there needs to be some sort of catch for this error as during the time of development, I don't think the developers expected currencysource to tighten its noose on their xml file :P.

Just my two cents and hope it helps peeps here. O0

Cheers,
L

Newbie

Posts

Joined
Thu Jun 18, 2009 12:33 pm

Post by georgekrastev » Sat Jun 20, 2009 8:37 pm

Hi *,

As I already mentioned in some of my former reply I have been getting some warnings from user side, but never on admin one:
http://forum.opencart.com/viewtopic.php?t=4417

Where the problem is comming from:
Since I am using as additional language the German one there are some simboles which have been shown incorrect (like Ü,Ö,ß,Ä), therefore I convert all php files (in .\opencart\catalog\language\german\) to UFT-8 fortmat (original ones are in ASCII). This solve the problem with visualisation, but unfortunately "warning" message pops up :( .

Solution:
Keep all files in ASCII format, but wherever you have a special chars replace them with a HTML numbers like:
Instead of "Züruck" just use 'Z&#252ruck'.
On this case the warning messages are gone, and the visualization is correct again. ;)
The web side looks like: http://www.oniart.eu

The ACSII table you can find under:
http://ascii.cl/htmlcodes.htm

P.S. From my point of view opencart is a very good platform and I would like to thanks to all contributors and developers to make it happen.

Best regards,
George

Newbie

Posts

Joined
Wed May 06, 2009 3:43 am

Post by Daniel » Sat Jun 20, 2009 9:51 pm

update to the latest version to fix the currency issue.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by georgekrastev » Sun Jun 21, 2009 3:45 am

Hi Danile,

Could you please comment UTF-8 and ASCII issue as well?

Thanks and regards,
George

Newbie

Posts

Joined
Wed May 06, 2009 3:43 am

Post by Daniel » Sun Jun 21, 2009 4:38 am

i've had this problem before when downloading using ftp. its somethign to do with ascci and binary when i'm downloading all the docuemnts from the development server.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by AndreasT » Tue Nov 17, 2009 1:55 am

Hello.

Saving the files as UTF-8 without BOM works for me. Seems the byte order markers are interpreted as content and thus the error.

Cheers,

Andreas

Newbie

Posts

Joined
Tue Oct 23, 2007 6:51 am

Post by ab330ci » Wed Jan 11, 2012 4:06 am

hello every body, i had the same problem with

the Cannot modify header information - headers already sent by (output started at.............

and i found the problem, when you edit a *.php file using txt editor you have to check under what format ur saving the file after editing , i used to change the footer.php in catalog/language/bulgarian/common/footer.php with a text editor so i received this problem , i just used the orginal file and made my correction under dreamweaver and the error message did'nt appear anymore

Newbie

Posts

Joined
Wed Jan 11, 2012 4:01 am
Who is online

Users browsing this forum: No registered users and 114 guests