0
Solucionado

[GLPI 0.90] PHP error

Javier Samaniego hace 9 años actualizado por glpi hace 9 años 4

I'm having this error in my testing server:

PHP Fatal error: Call to a member function fetch_assoc() on a non-object in /var/www/html/glpi/inc/dbmysql.class.php on line 288, referer: http://myglpiserver/glpi/front/computer.php


GLPI Version: 0.90

Server: Centos 6.7

PHP version: php54w


Thank you!

Can you provide more informations about the context: what were you doing to make this error happens?

Which web server are you using?

Is it returned to the browser? Is it in the web server logs? Is it in the application logs?

Can you provide more informations about the context: what were you doing to make this error happens?

This error happens when i'm view a single computer, monitor, user, etc.

Which web server are you using?

Apache2.2.

Exactly the packet is named: httpd.x86_64 (2.2.15-47.el6.centos)

Is it returned to the browser? Is it in the web server logs? Is it in the application logs?

The error is returned to the web server log. In the browser only loads the top of the page .

Solved!! (I just needed the steps 2, 3 and 4)


1 - Installation du plugin Purgelogs sous glpi
2 - Réparation de la table glpi_logs sous mysql: mysqlcheck -r glpi -u root -p
3 - Optimisation des tables: mysqlcheck -oA -u root -p
4 - Redémarrage des service apache + mysql


See: http://forum.glpi-project.org/viewtopic.php?id=34917