SachinPanda
New member
- Joined
- Jul 24, 2022
- Messages
- 7
Hi,
DirectAdmin were kind enough to install and migrate my site from cPanel to DirectAdmin.
However, I seem to now be running into an oAuth issue with Twitter Login [HTTP ERROR 500]. Something to do with cabunndle not within allow path? I've tried multiple Google searches and none of the suggestions seem to fix (inc php.php/Custom HTTPD Configurations etc)
Any ideas?
Code:
How do I allow the path? And do I allow the folder (/etc/pki/tls/certs/) or the .crt file directly?
Have tried:
Thanks.
DirectAdmin were kind enough to install and migrate my site from cPanel to DirectAdmin.
However, I seem to now be running into an oAuth issue with Twitter Login [HTTP ERROR 500]. Something to do with cabunndle not within allow path? I've tried multiple Google searches and none of the suggestions seem to fix (inc php.php/Custom HTTPD Configurations etc)
Any ideas?
Code:
Code:
Aw, snap! Internal Server Error [debug @ print,error_log]
** errorId #xxxxxxxxxxxxxxxx **
>> Exception [400]: is_file(): open_basedir restriction in effect. File(/etc/pki/tls/certs/ca-bundle.crt) is not within the allowed path(s): (/home/admin/:/tmp/:/var/tmp/:/opt/alt/php74/usr/share/pear/:/dev/urandom:/usr/local/php74/lib/:/usr/local/php74/lib/:/usr/local/lib/php/)
At /app/routes/route.connect.php:190
Stack trace:
#0 /lib/G/classes/class.handler.php(230): G\Handler->{closure}()
#1 /lib/G/classes/class.handler.php(130): G\Handler->processRequest()
#2 /app/web.php(410): G\Handler->__construct()
#3 /app/loader.php(242): require_once('/app/web.php')
#4 /index.php(20): include_once('/app/loader.php')
How do I allow the path? And do I allow the folder (/etc/pki/tls/certs/) or the .crt file directly?
Have tried:
Code:
rm -f /etc/ssl/certs/ca-bundle.crt
rm -f /etc/pki/tls/certs/ca-bundle.crt
yum reinstall -y ca-certificates
curl https://curl.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt
results in curl: (77) Problem with the SSL CA cert (path? access rights?)
Thanks.