Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Problems with db/build during installation of module gallery ... I get warnings


Reply


2 Posts   1581 Views

Avatar
smordi

9 Posts

26 August 2007 at 8:41am

Edited: 26/08/2007 8:59am

Hello,

I try to install the Module "Gallery".
In the documentation is written, that I have to
1.
Download the gallery module
2.
After extraction, place this directory in the root of your SilverStripe installation
3.
Run db/build
4.
The CMS should now have “FileRepository” and “GalleryPage” page types

... if I type in the URL http://www.mysite.com/db/run?flush=1 there appears these warnings:

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/www/htdocs/v155019/..) is not within the allowed path(s): (/www/htdocs/v155019/:/tmp:/usr/bin:/www/htdocs/v155019:/bin:/usr/local/bin:/usr/share/php) in /www/htdocs/v155019/sapphire/core/ManifestBuilder.php on line 50

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/www/htdocs/v155019/..) is not within the allowed path(s): (/www/htdocs/v155019/:/tmp:/usr/bin:/www/htdocs/v155019:/bin:/usr/local/bin:/usr/share/php) in /www/htdocs/v155019/sapphire/core/ManifestBuilder.php on line 64

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/www/htdocs/v155019/..) is not within the allowed path(s): (/www/htdocs/v155019/:/tmp:/usr/bin:/www/htdocs/v155019:/bin:/usr/local/bin:/usr/share/php) in /www/htdocs/v155019/sapphire/core/ManifestBuilder.php on line 82

Warning: scandir(/www/htdocs/v155019/logs) [function.scandir]: failed to open dir: Permission denied in /www/htdocs/v155019/sapphire/core/ManifestBuilder.php on line 146

Warning: scandir() [function.scandir]: (errno 13): Permission denied in /www/htdocs/v155019/sapphire/core/ManifestBuilder.php on line 146

Warning: scandir(/www/htdocs/v155019/mail) [function.scandir]: failed to open dir: Permission denied in /www/htdocs/v155019/sapphire/core/ManifestBuilder.php on line 146

Warning: scandir() [function.scandir]: (errno 13): Permission denied in /www/htdocs/v155019/sapphire/core/ManifestBuilder.php on line 146
Please enter a username and password.

Any suggestions?
Thanks in advance!

Cheers

smordi

Avatar
smordi

9 Posts

26 August 2007 at 9:03am

I made it, lol.
Don't know exactly how, but think I gave some files the "777" permission and
typed in the URL http://www.mysite.com/db
without /run?flush=1 at the end.
Well... somehow it works now :)