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

Di più
07/01/2014 17:21 - 07/01/2014 17:57 #3039 da 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.
Allegati:
Ultima Modifica 07/01/2014 17:57 da workandclean.

Si prega Accedi a partecipare alla conversazione.

Di più
07/01/2014 18:37 #3040 da 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.

Si prega Accedi a partecipare alla conversazione.

Tempo creazione pagina: 0.171 secondi