Page 1 of 1
To slow admin system connection?
Posted: Thu Dec 08, 2005 1:29 pm
by thune
I have no trouble navigating the site CMS MS site
http://www.ansimax.no, but when I try to access the admin system it just uses to long time and I get this error (not always)
Fatal error: Maximum execution time of 15 seconds exceeded in /home/ansimax/public_html/lib/convert/ConvertCharset.class.php on line 359
This is the latest release upgraded from beta5. With the beta5 I had no such problem, other than the admin system was slow. (I have Mambo on the same server that runs the admin system fine).
Re: To slow admin system connection?
Posted: Sat Dec 10, 2005 7:41 pm
by siggy
I.
Also I have the same problem. When I use the admin panel I notice that the cpu of my server raises to 94% and after a few second i get the same error.
I use the latest release 0.11.1, installed today.
thanks for help
Re: To slow admin system connection?
Posted: Sat Dec 10, 2005 7:54 pm
by siggy
Normally I used Camino as browser.
And I noticed that there are this problem in admin section.
Now i try to use admin with Firefox (latest releases) and seems being all ok!
It's very strange.
It's possible that are problem with charset use from Camino?
... obviously i use Mac Os X

Re: To slow admin system connection?
Posted: Sat Dec 10, 2005 9:37 pm
by Ted
Well, the issus is that the charset of the content doesn't match the charset of the administration language.
Because all of the translations are in utf-8, but your content isn't, it converting on the fly and slowing down your system.
For a very quick fix, and you don't mind your admin translation having a weird charset, do this:
Look in config.php. There will be a line that the admin is using for it's encoding.
Code: Select all
$config['admin_encoding'] = 'iso-8859-15';
Now, look for the nls file for you language. If you're using German, for example, open up the admin/lang/de_DE.nls.php. In there will be a line saying what the German encoding is. It should be UTF-8.
Code: Select all
$nls['encoding']['de_DE'] = "UTF-8";
Replace the UTF-8 with the encoding in your config.php file.
Code: Select all
$nls['encoding']['de_DE'] = "iso-8859-15";
So, now it's not going to convert your language on the fly anymore, but that does mean that some of the characters may not show up properly. Like I said, it's a quick fix for the moment until we get that converter worked out.
Re: To slow admin system connection?
Posted: Sat Dec 10, 2005 10:12 pm
by siggy
Yes, this is true.
In effects i use Italian lang with Camino and English with Firefox.
I fix with set encoding for italian to UTF-8.
thanks.