Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Framework » https-server not defined - Access denied
https-server not defined - Access denied [message #7408] Tue, 14 January 2020 06:27 Go to next message
htManager is currently offline  htManager
Messages: 439
Registered: May 2014
Senior Member
Hi Tony, since I uploaded the new tcpdf files I have problems with accessing Radicore on the internet server.

In FireFox I get the following error message:

This application has encountered an unrecoverable error
Please contact your system administrator for details

The error message, generated by Radicore, says that no string value has been designed for the https server.

2020-01-14 11:10:27
Fatal Error: No value has been defined for 'https_server' (# 256)
Error in line 1346 of file '/var/www/vhosts/mgh-saar.de/includes/include.session.inc'.
PHP_SELF: /htmanager/menu/logon.php
CURRENT DIRECTORY: /var/www/vhosts/mgh-saar.de/htmanager.de/htmanager/menu
SERVER_ADDR: 88.128.88.103
SERVER_NAME: www.htmanager.de
HTTP_HOST: www.htmanager.de
REMOTE_ADDR: 88.128.88.103
REQUEST_URI: /htmanager/menu/logon.php?csxslt=off

My ISP says that this would be an php or an application error. Do I have to define a https server? And if yes, where? Or can you tell me where I have to look for a solution?
Re: https-server not defined - Access denied [message #7409 is a reply to message #7408] Wed, 15 January 2020 05:41 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2371
Registered: April 2006
Location: Surrey, UK
Senior Member
If you installed files from the latest update, version 2.14.0, I accidentally included a copy of my config.inc file which may have overwritten your version. You need to check this file to ensure that it is correct for your server.

That error message is generated in line 1357 of file include.session.inc which says that if the value for $_SERVER['HTTPS'] is true then a value must be supplied for $GLOBALS['https_server']. You need to check the settings in your config.inc file.


Re: https-server not defined - Access denied [message #7410 is a reply to message #7409] Wed, 15 January 2020 09:37 Go to previous messageGo to next message
htManager is currently offline  htManager
Messages: 439
Registered: May 2014
Senior Member
I can access the application again when disabling directing http to https in the web hosting configuration. Then I have access via http.
When activating this button and setting $GLOBALS['https_server'] = 'www.htmanager.de' (which has the same name as the http server) I can open the login site. If I want to login I get an error message: redirection error. The request can't be finished.

Do I have to change something else i.e. $GLOBALS['https_server_suffix']?
Re: https-server not defined - Access denied [message #7411 is a reply to message #7410] Wed, 15 January 2020 10:13 Go to previous message
htManager is currently offline  htManager
Messages: 439
Registered: May 2014
Senior Member
I changed $GLOBALS['use_https'] from false to true. Now everything is working fine again. Thank you.
Previous Topic: Key values change after popup call
Next Topic: Image size
Goto Forum:
  


Current Time: Wed Nov 27 15:31:56 EST 2024

Total time taken to generate the page: 0.01033 seconds