Error: open_basedir restriction in effect
I have created a website that works fine, but when I try creating an image gallery I get this error message on the page for each image:
Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/media/Galleri3//AdamBskud.jpg) is not within the allowed path(s): (/var/www/vhosts/4601.linux7.testsider.dk/httpdocs:/tmp) in /var/www/vhosts/4601.linux7.testsider.dk/httpdocs/modules/foldergallery/view.php on line 343
It should be the correct path.
I found this link, but I don't really understand what I should do:
And would this work?
I hope someone can help.