After configuring everything ok on a debian server, when i try to create a new survey I get the message
Warning: Invalid argument supplied for foreach() in /var/www/limesurvey/classes/adodb/adodb-lib.inc.php on line 806
Notice: Undefined variable: isrquery in /var/www/limesurvey/admin/database.php on line 1331
Query was empty
I think that everything is configured ok as I installed Limesurvey on different servers and I never had any issue.
php.ini is well configured
config.php also
and the database is created.
I don't know what to think. Please any ideas of what I should be looking for?
Thanks!
EDIT: If I try to import an already done survey, the following message appears
Error
An error occurred uploading your file. This may be caused by incorrect permissions in your /var/www/limesurvey/tmp folder.
Of course I changed all the permissions of the folder and the error keeps popping.