View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
17855Bug reportsInstallationpublic2022-04-11 13:55
Reportermike73rn Assigned Toollehar  
PrioritynoneSeveritycrash 
Status closedResolutionfixed 
Product Version3.25.20 
Summary17855: Error 500 during installation "is_file(): open_basedir restriction in effect."
Description

After the "licence" step the installer breaks with the following message
Internal Server Error
is_file(): open_basedir restriction in effect. File(/ldap_connect.php) is not within the allowed path(s): (/home/osstur22/:/opt/cpanel/ea-php74/root/usr:/usr/local/lib/php:/tmp:/etc/pki/tls/certs/ca-bundle.crt:/var/cpanel/php/sessions:/usr/local/bin/wp)

Other installations (in different domains) on the same VPS are running without problems, but I can't make new installations (already opened a ticket to the VPS hosting).

Steps To Reproduce

Installer breaks after
https://osservatorio-turistico.it/questionari/limesurvey/index.php?r=installer/license

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)3.27.33
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMYSQL 5.6.51-log - MySQL Community Server (GPL)
Server OS (if known)
Webserver software & version (if known)
PHP Version7.4

Users monitoring this issue

mike73rn

Activities

ollehar

ollehar

2022-01-27 12:28

administrator   ~68127

Last edited: 2022-01-27 12:28

Probably a server setting. Try check the forum, too.

DenisChenu

DenisChenu

2022-01-27 12:34

developer   ~68129

File(/ldap_connect.php) ?

https://github.com/LimeSurvey/LimeSurvey/blob/1f516ba77908efda39b0dbb5c742dc15ef67a5f1/application/controllers/InstallerController.php#L780

We try to import with autoloader …
Maybe not a good idea when just need to check a PHP function …

galads

galads

2022-04-11 13:54

reporter   ~68989

Hello mike73rn,
I checked this with the latest version and could not reproduce, so this is most likely fixed for good.
Therefore, I am closing this issue. If you still can reproduce the issue using the latest version, please feel free to re-open the issue.
Thank you!

galads

Issue History

Date Modified Username Field Change
2022-01-27 12:26 mike73rn New Issue
2022-01-27 12:28 ollehar Note Added: 68127
2022-01-27 12:28 ollehar Bug heat 0 => 2
2022-01-27 12:28 ollehar Note Edited: 68127
2022-01-27 12:34 DenisChenu Note Added: 68129
2022-01-27 12:34 DenisChenu Bug heat 2 => 4
2022-01-27 14:31 mike73rn Issue Monitored: mike73rn
2022-01-27 14:31 mike73rn Bug heat 4 => 6
2022-01-27 14:41 ollehar Product Version => 3.25.20
2022-01-27 14:41 ollehar Assigned To => ollehar
2022-01-27 14:41 ollehar Status new => feedback
2022-04-11 13:54 galads Note Added: 68989
2022-04-11 13:54 galads Bug heat 6 => 8
2022-04-11 13:55 galads Status feedback => closed
2022-04-11 13:55 galads Resolution open => fixed