Module install messed up things

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
nesalc

Module install messed up things

Post 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
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Module install messed up things

Post 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
nesalc

Re: Module install messed up things

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”