After making many changes to the project I uploaded the files to my clients computer (also Linux)
I have added tables, changed many things. It all works on my computer (Linux Ubuntu)
But on my clients computer I now get:
On top of the edit page:
Warning: Invalid argument supplied for foreach() in /var/www/html/xataface/Dataface/QuickForm.php on line 444
On details tab:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/html/xataface/Dataface/ResultController.php on line
After save: (new and edit)
Warning: Invalid argument supplied for foreach() in /var/www/html/xataface/Dataface/QuickForm.php on line 444
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/xataface/Dataface/QuickForm.php:444) in /var/www/html/xataface/actions/edit.php on line 189
Also there was an error stating the 'Cannot modify header information' and giving the line number 78 of tablename.php and on that line I had:
function after_action_edit()
{
header('Location: '.DATAFACE_SITE_HREF.'?-table=Agenten&-action=list');
exit;
}
I removed that function the error stayed it just didn't mention the line number any more.
Possible solutions already checked:
I found on this forum that there are no empty lines allowed after the closing tag "?>" I have double checked it there are no spaces behind the closing tags.
Also all tables have an ID, Uniq key.
I have checked the value list php but there are no errors found it .
The errors aren't on all tables, only 2. And not on my computer.
Anyone?
With regards,
PolderBoy