Page 1 of 1

Module install messed up things

Posted: Sat Feb 10, 2007 9:46 pm
by nesalc
I downloaded the xml file Album-0.8.2.xml and started module install with this file.
After running for a while I got:

Warning: main() [function.main]: open_basedir restriction in effect. File(/classes/module/class.Album.php) is not within the allowed path(s): (/home/web/web81100:/var/tmp:/usr/local/lib/php:/usr/local/share/pear) in /usr/home/web/web81100/modules/Album/Album.module.php on line 33

Warning: main(classes/module/class.Album.php) [function.main]: failed to open stream: Operation not permitted in /usr/home/web/web81100/modules/Album/Album.module.php on line 33

Fatal error: main() [function.require]: Failed opening required 'classes/module/class.Album.php' (include_path='.:') in /usr/home/web/web81100/modules/Album/Album.module.php on line 33

After this, the stylesheet has gone from the admin pages and I get the above error every time I call http://www.xxxx.dk/admin/listmodules.php

So I thought, log on with ftp and delete the Album folder in modules folder.
But apparently somethings gone wrong, I have no permissions to delete or change user rights on the Album folder.
Tried making a little php script to unlink the Album, but again no permissions to do anything to the Album folder.

Any ideas what to do?

Thank you,
Claus

Re: Module install messed up things

Posted: Sun Feb 11, 2007 1:35 am
by Dee
nesalc wrote: Any ideas what to do?
1. Ask your webhost to disable the safe mode / open_basedir restrictions that are in effect.
2. The FTP user is not allowed to delete files created by the webserver. Try changing permission/ownership of the files or use another method than FTP to delete the files (most hosting providers offer SSH access or a web-based control panel that has a filemanager)

Regards,
D

Re: Module install messed up things

Posted: Mon Feb 12, 2007 5:42 pm
by nesalc
ThanksĀ  ;D

I installed a filemanager and was able to delete the Album folder.

So I'm up and running.

Having the webhost disable safe_mode is not an option, so I guess I will have to find some other album system.

/Claus