You are not logged in.
Pages: 1
Topic closed
Hi,
I'm new to the forum, so I am sorry if I have broken any rules, thank you for understanding.
I have GLPI 9.3 installed on Ubuntu server 16.04.4 LTS on Apache with PHP 7.
I am encountering an error when trying to add a new type or model (actually, whenever I click the + button - attached is a screenshot).
I can do it fine when accessing the "Setup - Dropdown" section, but when I try from the device screen, or the computer - it fails.
Hope I was clear on the issue - please advise
-https://imgur.com/a/GgAkxte
Thank you,
Roy
Offline
can you give the error?
and your exact version of glpi?
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
i,
It is Version 9.3.0
The error is in the image I have attached
In Chrome it says "Refused to connect"
Also happens when I click "Select Default items to show".
Offline
With this button you don't connect something you just create a new item.
Can you try with another browser?
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
With this button you don't connect something you just create a new item.
Can you try with another browser?
From FireFox I get a blank screen
From IE I get this:
This content cannot be displayed in a frame
To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame.
What you can try:
Open this content in a new window
Any suggestions?
Offline
I use firefox without problem.
Have you some errors in Debug mode? in glpi logs (glpi/files/_logs)? in apache logs?
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
In debug mode same issue.
This is from the php-error.log
[2018-12-05 02:09:29] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/glpi/inc/toolbox.class.php line 657
[2018-12-05 04:18:10] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/glpi/inc/toolbox.class.php line 657
[2018-12-05 09:41:10] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/glpi/inc/toolbox.class.php line 657
[2018-12-05 09:54:16] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:54:16] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:54:17] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:54:17] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:54:20] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:54:20] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:54:20] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:54:20] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:54:20] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:54:20] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:54:27] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:54:27] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:57:16] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:57:16] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:57:51] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
[2018-12-05 09:57:51] glpiphplog.DEBUG: Config::getCache() in /var/www/glpi/inc/config.class.php line 2931
Nothing in apache error log
Offline
try to restart your apache service
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
I have already tried this. It did not resolve the issue.
Offline
I dont see the relevance of this answer,
The links you gave me are for hosting suppliers, what does that have to do with my issue?
Offline
Update - In edge it says that "This content can’t be shown in a frame" and offers to open it in a new window, and when I open in in a new window - it works fine!
How can you fix the frame issue?
Offline
Solved!.. -
The solution is suggested in this link:
https://forum.glpi-project.org/viewtopic.php?id=159668
Adding this line to the .htaccess file resolved the issue:
Header always set X-Frame-Options SAMEORIGIN
Offline
Pages: 1
Topic closed