Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 01:22:00 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155554 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Error Installing New Modules  (Read 798 times)
batcity

Offline Offline

Posts: 27


« on: November 23, 2006, 06:09:18 PM »

I originally installed WB in a /wb directory, but decided to move it to the root directory.  I moved all of the files/folders up one level and modified the config file to show the new url / path and everything is working with one exception.  When I try to install a new module I get a permissions error pointing to the /language file of the new module and also to the include/pclzip/pclzip.lib.php file.  Here is the error:

[Thu Nov 23 11:52:13 2006] [error] PHP Warning:  is_dir() [<a href='function.is-dir'>function.is-dir</a>]: Stat failed for /home/dacrinc/public_html/modules/faqbaker/languages (errno=13 - Permission denied) in /home/dacrinc/public_html/include/pclzip/pclzip.lib.php on line 4279

I have my permissions set correctly.  Everything else is working great.  Any suggestions?  I really don't want to do a fresh install.... I've done quite a bit of work on the site.
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: November 23, 2006, 06:46:31 PM »

Hello,

this is not a permission problem you have a ownership and permission problem. Moving all pages with ftp causes the all files now are owned from the ftp user. The php scripts (the wwwrun user) have no permissions to edit this files because he is not the owner. so what are the solutions:

1. set all permissions of all files and folders to chmod 777. This is the fastest but i explicitly do not recommand this for security reasons.
2. set the ownerships and the permissions back to the wwwrun user. this only works if your hoster gives you the ability to change the ownership and if you know wich file and wich folder needs wich ownerships and wich permissions. If you forgot something or do something wrong maybe you run into the next errors.

The third and best solution you wrote you don't wanna do. But only with a new clean install you can be shure all ownerships and all permissions are ok.

Matthias
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!