Module Customer portal error: Invalid argument supplied for foreach()

More
07 Jan 2014 17:21 - 07 Jan 2014 17:57 #3039 by workandclean
Good evening, I wanted to point in the customer portal, the customer side, when you click on the ticket, the system generates the following error:
- Warning: Invalid argument supplied for foreach() in /portal/HelpDesk/TicketDetail.php on line 52

This is the line of code 52

foreach($ticketinfo as $key=>$value) {

Looking forward to your feedback, best regards.
Attachments:
Last edit: 07 Jan 2014 17:57 by workandclean.

Please Log in to join the conversation.

More
07 Jan 2014 18:37 #3040 by workandclean
Solved.
The issue was due to different $default_charset between config.inc.php and PortalConfig?.php files.
In the first file was 'ISO-8859-1', in the second 'UTF-8' like in the MySql? database.
Setting $default_charset='UTF-8' in config.inc.php solve this issue.
Regards.

Please Log in to join the conversation.

Time to create page: 0.122 seconds