You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2025-03-28 11:51:47

victor.noya
Member
Registered: 2024-03-12
Posts: 3

Phone.form.php blank

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

#2 2025-03-28 14:59:19

lordbat
Member
From: Spain
Registered: 2016-02-12
Posts: 188

Re: Phone.form.php blank

victor.noya wrote:

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.
############################################################

Online

#3 Yesterday 10:31:45

victor.noya
Member
Registered: 2024-03-12
Posts: 3

Re: Phone.form.php blank

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

Board footer

Powered by FluxBB