Getting language WARNING in phpwcms templates...

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
antonis
Posts: 35
Joined: Mon 7. Jun 2004, 14:55

Getting language WARNING in phpwcms templates...

Post 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?
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
antonis
Posts: 35
Joined: Mon 7. Jun 2004, 14:55

Post 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.
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

yes, change your PHP error settings.

For coming release I have solved this.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply