Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Internal server error when imported file

2 years 3 months ago #211869 by IsJamesnew
How are you doing?
I have exactly the same problem as this user had a few years ago. The discussion link is : [url] forums.limesurvey.org/forum/installation...oader_filesystem-php [/url]
When I want to import an audio/video file on the server (to finally insert in the questionnaire) I receive the following message:" Erreur interne du serveuris_file(): open_basedir restriction in effect. File(/var/packages/PEAR/target/Imagick.php) is not within the allowed path(s): (/var/services/web:/var/services/tmp)=9ptUne erreur interne est apparue lorsque le serveur web traitait votre requete. Veuillez contacter the webmaster pour signaler ce problème.=9pt =9ptMerci.=28px"
Mr. Denischu had given a tip that worked. It was to update a config.php file of the server by adding a line of code at the top of the file. I managed to go to the server (see attached picture), but when I launch a search, many files with the same name ("config.php") are displayed. I can't identify the file concerned. Can you give me the path to the file that needs to be updated?
Moreover, I am not a computer scientist; I am a statistician. I don't know how to update these types of files. Can you please help me?
It's for a project due this weekend.
Thank you in advance for your help.
The topic has been locked.
2 years 3 months ago #211873 by Joffm
In "application/config" there should be only one file called "config.php".
The others (like "config-sample-mysql.php") are sample files of the several database types or the default settings for LimeSurvey ("config-defaults.php").


Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
2 years 3 months ago #211877 by IsJamesnew
Thanks you very much.

I see the file.

But how can i update it ?

I need help please !
The topic has been locked.
2 years 3 months ago - 2 years 3 months ago #211902 by DenisChenu
You need a FTP access or a SSH acces.

How do you setup LimeSurvey ?

Else : path and open_base_dir are related : your hoister made a big error here …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 2 years 3 months ago by DenisChenu.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose