Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

File and folder permissions test failed

Asked Modified Viewed 3,956 times
S
Singima
S
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
asked
Newbie

I puted all my files on the FTP and when i go on my site to install it this shows on it :
img17.imageshack.us/img17/9766/phpfusionmysite.jpg

So can u help me ?
Edited by Yxos on 19-07-2009 06:52,
0 replies

4 posts

K
KnightHawk
K
  • Member, joined since
  • Contributed 67 posts on the community forums.
  • Started 11 threads in the forums
answered
Member

read the readme that came with phpfusion. The screenshot tells you what you did wrong. You need to set the permissions to some of the folder and or files. You need to chmod them with the ftp client.

The readme tells you what to do for the install.
0 replies
S
Singima
S
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Newbie

how to do that ?

. Unless you are running PHPFusion on a local server, in most cases you will need to CHMOD the following files and folders to 777:

* administration/db_backups/
* images/
* images/imagelist.js
* images/articles/
* images/avatars/
* images/news/
* images/news_cats/
* images/photoalbum/
* images/photoalbum/submissions/
* forum/attachments/
* config.php
Edited by Singima on 18-07-2009 23:11,
0 replies
Y
Yxos
Y
Yxos 10
Yxos

The best solution is not necessarily a technical solution !
  • Senior Member, joined since
  • Contributed 277 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

http://www.stadtaus.com/en/tutorials/...ssions.php

Please don't use the shoutbox to urge for reply in your posts.
Edited by Yxos on 19-07-2009 06:51,
0 replies
C
cartonlao
C
  • Newbie, joined since
  • Contributed 1 post on the community forums.
answered
Newbie

On certain systems (eg. fedora 10, which comes with SELinux in enforcing mode), just setting the files/directories permissions per installation instructions is not enough. This is because SELinux is blocking write access to config.php. setup.php is checking if the file is_writable and the return is false.

After going through the man pages of SELinux, finally find the "right" way to pass the write permissions test, instead of simply disabling SELinux.

# su
# chcon -v -t httpd_sys_content_rw_t /var/www/phpfusion/config.php

where phpfusion is the installed directory. This tells selinux to allow rw on the file.

After a successful setup.php...

#chcon -v --reference=/var/www/phpfusion/setup.php /var/www/phpfusion/config.php

This will reset the file back to the previous setting... no writing.
0 replies

Category Forum

Installation Issues - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

Y
Y
Yxos 10
Yxos

The best solution is not necessarily a technical solution !
  • Senior Member, joined since
  • Contributed 277 posts on the community forums.
  • Started 28 threads in the forums
K
K
  • Member, joined since
  • Contributed 67 posts on the community forums.
  • Started 11 threads in the forums
S
S
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
C
C
  • Newbie, joined since
  • Contributed 1 post on the community forums.

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet