You are not logged in.
Pages: 1
Is this something to be concerned about?
Upgrade
Database connection successful
Work in progress...
Update to 0.84.1
Task completed. (1 second)
PHP Warning: error_log(/var/www/glpi/files/_log/migration_to_0.84.1.log): failed to open stream: Permission denied in /var/www/glpi/inc/toolbox.class.php at line 446
PHP Warning: error_log(/var/www/glpi/files/_log/migration_to_0.84.1.log): failed to open stream: Permission denied in /var/www/glpi/inc/toolbox.class.php at line 446
PHP Warning: error_log(/var/www/glpi/files/_log/migration_to_0.84.1.log): failed to open stream: Permission denied in /var/www/glpi/inc/toolbox.class.php at line 446
Thanks,
Dan
Offline
You must add apache right recursively to var/www/glpi/files/
Offline
Do you know the command for that offhand?
Thanks,
Dan
Offline
chown -R www:www glpi/files
Offline
Much appreciated!
Do I have to redo the 84.1 install?
Dan
Thanks,
Dan
Offline
I think it's only warning, so I think it's ok
Offline
User doesn't exist:
helpdesk@glpi:~$ sudo chown -R www:www glpi/files
chown: invalid user: `www:www'
Thanks,
Dan
Offline
user www is for FreeBSD, I don't know the right name on linux distributions (perhaps apache-data or something like this)
Offline
SOLVED:
ubuntu server is www-data
Thanks,
Dan
Offline
I am on shared hosting and have Cpanel, Apache, PHP is run by fastcgi i think.
I tend to notice that php error logs are created in the directory the error happened which i find somewhat silly which could also cause your site to have several error_logs file scattered in different directories; obviously if you code properly enough this won't be a problem but i still don't like the default behaviour i described above.
Is there any other way i can access errors log on shared hosting enviroment instead of having to go through entire site structure to look for error_log files? If you are thinking to have some excesive new then click here Computer repair York pa
Also is there a way i can stop error log files being creating all over the site and just have errors logged to one file only to keep things nice and in order?
I do have access to my own php.ini (i am using PHP version 5.2.16).
Last edited by Daniel Iusha (2013-09-08 08:17:21)
Offline
But for GLPI 0.84, minimal requirement is PHP 5.3 (PHP 5.2 is not supported since 2010!)
Offline
Pages: 1