Jump to content
  • 0

Gohost

Question

Hi all,

I have many lines of the same error in log files:

[2020-01-11 15:40:04] general.ALERT: Fatal Error (E_ERROR): Call to a member function read() on null {"code":1,"message":"Call to a member function read() on null","file":"/home/gohosting/domains/gohosting.cc/public_html/billmgr/app/app_controller.php","line":0,"trace":null}

Issues:

1. DirectAdmin module is installed and server configured but it's not showing any module logs.

2. A client can register, login and order, and receive email confirmation that the service is activated.

    The clients are shown in Blesta but no client is shown in DirectAdmin. 

3. The client does not receive email about server or control panel access

Other info which may help:

  • This is new installation. Packages are configured and also the order forms.
  • Blesta version 4.7.2  (Licensed version)
  • PHP version 7.3.13
  • TLS version 1.2

 

What else to check to troubleshoot the error?  Please help.

Thanks

 

 

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Continuing my post, I reinstalled Blesta manually and now it's giving a different error.  Because the log is a very long string I picked these items whcih seem important:

  • open_basedir restriction in effect
  • app/controllers/admin_system_automation.php

 

The log file I broke into separate lines:

 [2020-01-18 22:08:47] general.ERROR: UnknownException: file_exists(): open_basedir restriction in effect.
File(/opt/alt/php73/usr/bin/php) is not within the allowed path(s):
(/home/gohosting/:/tmp:/var/tmp:/opt/alt/php56/usr/share/pear/:
/dev/urandom:/usr/local/lib/php/:/usr/local/php56/lib/php/) in /home/gohosting/domains/gohosting.cc/public_html/billmgr/app/controllers/admin_system_automation.php:
110 Stack trace:
#0 [internal function]: UnknownException::setErrorHandler(2, 'file_exists(): ...', '/home/gohosting/...', 110, Array)
#1 /home/gohosting/domains/gohosting.cc/public_html/billmgr/vendors/monolog/monolog/src/Monolog/ErrorHandler.php(173):
call_user_func(Array, 2, 'file_exists(): ...', '/home/gohosting/...', 110, Array)
#2 [internal function]: Monolog\ErrorHandler->handleError(2, 'file_exists(): ...', '/home/gohosting/...', 110, Array)
#3 /home/gohosting/domains/gohosting.cc/public_html/billmgr/app/controllers/admin_system_automation.php(110): file_exists('/opt/alt/php73/...')
#4 /home/gohosting/domains/gohosting.cc/public_html/billmgr/app/controllers/admin_system_automation.php(143): AdminSystemAutomation->getPathToPhp(false)
#5 /home/gohosting/domains/gohosting.cc/public_html/billmgr/app/controllers/admin_system_automation.php(96): AdminSystemAutomation->createCronCommand()
#6 /home/gohosting/domains/gohosting.cc/public_html/billmgr/vendors/minphp/bridge/src/Lib/Dispatcher.php(142): AdminSystemAutomation->index()
#7 /home/gohosting/domains/gohosting.cc/public_html/billmgr/index.php(21): Dispatcher::dispatch('/billmgr/admin/...')
#8 {main}  

 

Here is the raw log:
[2020-01-18 22:08:47] general.ERROR: UnknownException: file_exists(): open_basedir restriction in effect. File(/opt/alt/php73/usr/bin/php) is not within the allowed path(s): (/home/gohosting/:/tmp:/var/tmp:/opt/alt/php56/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php56/lib/php/) in /home/gohosting/domains/gohosting.cc/public_html/billmgr/app/controllers/admin_system_automation.php:110 Stack trace: #0 [internal function]: UnknownException::setErrorHandler(2, 'file_exists(): ...', '/home/gohosting/...', 110, Array) #1 /home/gohosting/domains/gohosting.cc/public_html/billmgr/vendors/monolog/monolog/src/Monolog/ErrorHandler.php(173): call_user_func(Array, 2, 'file_exists(): ...', '/home/gohosting/...', 110, Array) #2 [internal function]: Monolog\ErrorHandler->handleError(2, 'file_exists(): ...', '/home/gohosting/...', 110, Array) #3 /home/gohosting/domains/gohosting.cc/public_html/billmgr/app/controllers/admin_system_automation.php(110): file_exists('/opt/alt/php73/...') #4 /home/gohosting/domains/gohosting.cc/public_html/billmgr/app/controllers/admin_system_automation.php(143): AdminSystemAutomation->getPathToPhp(false) #5 /home/gohosting/domains/gohosting.cc/public_html/billmgr/app/controllers/admin_system_automation.php(96): AdminSystemAutomation->createCronCommand() #6 /home/gohosting/domains/gohosting.cc/public_html/billmgr/vendors/minphp/bridge/src/Lib/Dispatcher.php(142): AdminSystemAutomation->index() #7 /home/gohosting/domains/gohosting.cc/public_html/billmgr/index.php(21): Dispatcher::dispatch('/billmgr/admin/...') #8 {main}  

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...