1
mphlak
"Not Writable" problem with Sourceforge Web Services and Xoops
  • 2007/10/23 18:37

  • mphlak

  • Just popping in

  • Posts: 4

  • Since: 2007/10/23


I am "trying" to install XOOPS for the MPhlak site which is hosted on Sourceforge.net but during install I keep getting an error that the directories are not writable (cache, templates_c, uploads, mainfile.php) despite them being writable to the best of my knowledge.

I uploaded everything and used GFTP to chmod those directories to 777 and mainfile to 666 and tried again. No dice. So I logged into the shell and used chmod to change the permissions. Redid the install, same deal.

From the way it looks, the files are the proper permissions so I am wondering why the install is saying they are not.

Is there a way to manually install? Is this a known bug? I am not good with PHP or PHP scripts.

2
Will_H
Re: "Not Writable" problem with Sourceforge Web Services and Xoops
  • 2007/10/23 19:23

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


you can manually install by injecting the sql, and modifying your mainfile.php.

However if the installer is having issues seeing that those directories are writable. XOOPS itself will have the same problems.

those directories have to be 777 for XOOPS to function. weird problem.

3
mphlak
Re: "Not Writable" problem with Sourceforge Web Services and Xoops
  • 2007/10/23 20:02

  • mphlak

  • Just popping in

  • Posts: 4

  • Since: 2007/10/23


that's the odd thing, the directories are 777 and the mainfile is 666... that is why i do not get it.

ive seen XOOPS installed on various sourceforge project sites so i'm sure it can be done which is why im asking here because google gives no ideas on how to solve this problem.

later i will try a manual install and see if it works.

4
mphlak
Re: "Not Writable" problem with Sourceforge Web Services and Xoops
  • 2007/10/24 0:14

  • mphlak

  • Just popping in

  • Posts: 4

  • Since: 2007/10/23


yea i just checked again to be sure...

Quote:
-rw-r--r-- 1 katasuka mphlak 5421 Oct 23 2007 admin.php
-rw-r--r-- 1 katasuka mphlak 4053 Oct 23 2007 backend.php
-rw-r--r-- 1 katasuka mphlak 18238 Oct 23 2007 banners.php
drwxrwxrwx 2 katasuka mphlak 4096 Oct 23 16:35 cache
drwxr-sr-x 8 katasuka mphlak 4096 Oct 23 16:35 class
-rw-r--r-- 1 katasuka mphlak 21122 Oct 23 2007 edituser.php
drwxr-sr-x 3 katasuka mphlak 4096 Oct 23 16:35 extras
-rw-r--r-- 1 katasuka mphlak 5486 Oct 23 2007 favicon.ico
-rw-r--r-- 1 katasuka mphlak 4014 Oct 23 2007 footer.php
-rw-r--r-- 1 katasuka mphlak 5451 Oct 23 2007 header.php
-rw-r--r-- 1 katasuka mphlak 13284 Oct 23 2007 imagemanager.php
-rw-r--r-- 1 katasuka mphlak 3719 Oct 23 2007 image.php
drwxr-sr-x 5 katasuka mphlak 4096 Oct 23 16:35 images
drwxr-sr-x 2 katasuka mphlak 4096 Oct 23 16:35 include
-rw-r--r-- 1 katasuka mphlak 95 Oct 23 17:12 index.php
-rw-r--r-- 1 katasuka mphlak 2548 Oct 23 2007 index.php-bak
drwxr-sr-x 6 katasuka mphlak 4096 Oct 23 16:35 install
drwxr-sr-x 2 katasuka mphlak 4096 Oct 23 16:36 kernel
drwxr-sr-x 3 katasuka mphlak 4096 Oct 23 16:36 language
-rw-r--r-- 1 katasuka mphlak 5125 Oct 23 2007 lostpass.php
-rw-r--r-- 1 katasuka mphlak 5248 Oct 23 2007 mainfile.dist.php
-rw-rw-rw- 1 katasuka mphlak 2158 Oct 23 2007 mainfile.php
-rw-r--r-- 1 katasuka mphlak 14220 Oct 23 2007 misc.php
drwxr-sr-x 11 katasuka mphlak 4096 Oct 23 16:36 modules
-rw-r--r-- 1 katasuka mphlak 9696 Oct 23 2007 notifications.php
-rw-r--r-- 1 katasuka mphlak 2993 Oct 23 2007 pda.php
-rw-r--r-- 1 katasuka mphlak 7866 Oct 23 2007 pmlite.php
-rw-r--r-- 1 katasuka mphlak 6740 Oct 23 2007 readpmsg.php
-rw-r--r-- 1 katasuka mphlak 11710 Oct 23 2007 register.php
-rw-r--r-- 1 katasuka mphlak 261 Oct 23 2007 robots.txt
-rw-r--r-- 1 katasuka mphlak 12700 Oct 23 2007 search.php
drwxrwxrwx 2 katasuka mphlak 4096 Oct 23 16:36 templates_c
drwxr-sr-x 4 katasuka mphlak 4096 Oct 23 16:36 themes
drwxrwxrwx 2 katasuka mphlak 4096 Oct 23 16:36 uploads
-rw-r--r-- 1 katasuka mphlak 10049 Oct 23 2007 userinfo.php
-rw-r--r-- 1 katasuka mphlak 7683 Oct 23 2007 user.php
-rw-r--r-- 1 katasuka mphlak 6287 Oct 23 2007 viewpmsg.php
-rw-r--r-- 1 katasuka mphlak 3830 Oct 23 2007 xmlrpc.php
-rw-r--r-- 1 katasuka mphlak 1236 Oct 23 2007 xoops.css


now if im not mistaken, those permissions look right for installing....

5
Will_H
Re: "Not Writable" problem with Sourceforge Web Services and Xoops
  • 2007/10/24 1:33

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


drwxrwxrwx 2 katasuka mphlak 4096 Oct 23 16:36 templates_c

yep, looks right to me.

6
Will_H
Re: "Not Writable" problem with Sourceforge Web Services and Xoops
  • 2007/10/24 1:39

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


perhaps its an ownership issue

try

chown -R user.group /home/yourdomainprefix/public_html/

7
mphlak
Re: "Not Writable" problem with Sourceforge Web Services and Xoops
  • 2007/10/24 23:08

  • mphlak

  • Just popping in

  • Posts: 4

  • Since: 2007/10/23


yea its the right ownership to the best of my knowledge.

im thinking it may be a bug in the installer that is incorrectly telling the installer that the directories are not writable.

then again i cant say for sure as i know little about php or web servers. im more knowledgeable with linux and the core of linux.

Login

Who's Online

449 user(s) are online (393 user(s) are browsing Support Forums)


Members: 0


Guests: 449


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits