You are not logged in.
Pages: 1
Hello,
When I go to one of my phones registered on my inventory, the screen show blank with no data.
I reviewed the table "glpi_phones" on the database and the data is there, but is not showing on the "phone.form.php", so I cannot add new phones or review some Serial numbers or data from the already added ones.
Can I get some help?
Regards
Offline
Hello,
When I go to one of my phones registered on my inventory, the screen show blank with no data.
I reviewed the table "glpi_phones" on the database and the data is there, but is not showing on the "phone.form.php", so I cannot add new phones or review some Serial numbers or data from the already added ones.
Can I get some help?
Regards
Check your error logs if there is any errors about it. (php, apache, db errors)
Regards.
You can mark this thread as [Solved] in the subject of your thread. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
############################################################
Offline
Hello,
If someone happens to have the same error, I fixed it by checking the log in /var/www/htlml/glpi/files/_log/php-error.log
I found in there these errors:
[2025-03-31 08:24:07] glpiphplog.CRITICAL: *** Uncaught Exception RuntimeException: Unable to write in the cache directory (/var/www/html/glpi/files/_cache/templates/4b). in /var/www/html/glpi/vendor/twig/twig/src/Cache/FilesystemCache.php at line 57
Backtrace :
vendor/twig/twig/src/Environment.php:382 Twig\Cache\FilesystemCache->write()
vendor/twig/twig/src/Environment.php:343 Twig\Environment->loadTemplate()
src/Application/View/TemplateRenderer.php:184 Twig\Environment->load()
src/Phone.php:153 Glpi\Application\View\TemplateRenderer->display()
src/CommonGLPI.php:680 Phone->showForm()
ajax/common.tabs.php:120 CommonGLPI::displayStandardTab()
Problem was permissions on the directory so I fixed it by the command:
chown -R www-data:www-data /var/www/html/glpi/files/_cache
Thanks
Offline
Pages: 1