Page 1 of 1

Getting language WARNING in phpwcms templates...

Posted: Mon 30. Apr 2007, 16:33
by antonis
Hi!

I just installed v1.3.2.1 and i chose 8859-7 (greek) at language settings. When I try to edit the default template of try to create a new one I get the following WARNING in every content block (header, footer, left, right, etc):

<br />
<b>Warning</b>: htmlentities(): charset `iso-8859-7' not supported, assuming iso-8859-1 in <b>c:\appserv\www\cms\include\inc_tmpl\admin.templates.tmpl.php</b> on line <b>370</b><br />

Any ideas?

Posted: Tue 1. May 2007, 00:10
by Oliver Georgi
this is the problem of PHP.

I will try to fix it.

At the moment add @ in front of htmlentities( -> @htmlentities(. This avoid display of warning.

Oliver

Posted: Tue 1. May 2007, 09:18
by antonis
Oliver, thanks for your reply!

Everytime the templates are edited, there are more warnings of the same type added to the template blocks. Instead of using "@htmlentites" it would be easier if there was a way to stop the system doing the above check. Is there any piece of code that could be altered in order to stop that kind of check?


I am confident that you will find a permanet solution soon.

Posted: Tue 1. May 2007, 10:22
by Oliver Georgi
yes, change your PHP error settings.

For coming release I have solved this.

Oliver