Hello,
I was trying to bulk import students photo, and when i submitted the file i don’t think it was working properly it says “The database was successfully locked” . Please check on the screen shot of what i see from my screen, and i check on student’s photo it still have the old photo. Do you know what that i have missed here?
The code is getting as far as locking the database, and then something is causing a PHP error: probably a missing dependency of some kind. Gibbon should deal with this more elegantly (something else for the todo list ; ), but does not. Sorry! To get to the bottom of this, please check your error log. Please can you share the error and solution with us, so that we can add details to the config guide. I guess it is something to do with the ability to deal with ZIP files.
Good question : ) It depends on your operating system. In Linux (like Ubuntu), this is usually found under /var/log/apache2/error.log. This log is maintained by the OS, via PHP, not by Gibbon.
Hi, This is what we found :
error log : /var/log/nginx/error.log.1
PHP message: PHP Notice: Undefined index: 1-matchAddress in /var/www/gibbon/modules/User Admin/user_manage_editProcess.php on line 531
Opened the user_manage_editProcess.php line 531, contain
($_POST[$i.‘-matchAddress’] != ‘’) {
Ayu, the issue above is not the cause of the problem you are seeing on the imports, but rather is a minor issue (that will not cause any negative effects in practice) when processing the editing a user. Please can you check the error log again, looking for errors from the file /modules/User Admin/import_users.php. Ross.
Hi, I have trace the code by adding some echo text to see until which line the code stop.
I have see the php file : import_userPhotos.php
it stop at line 146: $zip = new ZipArchieve();
my echo test below this line is not shown, so I think this line is not showing an error for me.
Would you mind advise, do we have some package missing on our linux?
Thanks for your help