1
Shin-Ra
How fix this ??
  • 2007/7/26 13:52

  • Shin-Ra

  • Just popping in

  • Posts: 3

  • Since: 2007/7/26


Quote:
WARNING: File /home/vol2/byethost18.com/b18_422428/rfoid.byethost18.com/htdocs/rfoid/mainfile.php is writeable by the server.


Anyone can help me ?

2
christian
Re: How fix this ??
  • 2007/7/26 13:59

  • christian

  • Just can't stay away

  • Posts: 401

  • Since: 2002/2/24


Hi and welcome on xoops.org

Look this FAQ!

3
Shin-Ra
Re: How fix this ??
  • 2007/7/27 7:50

  • Shin-Ra

  • Just popping in

  • Posts: 3

  • Since: 2007/7/26


I must change at mainfile.php or create a new file ?

Quote:
Create a file with the following script and name it with a .php extension.

<?php chmod("mainfile.php", 0444) ?>

Replace 'mainfile.php' with whatever file/folder you require.

Upload the file (ie: changeperm.php) to the directory that holds your file or folder that requires chmod change. In the case of mainfile.php, this is of course
, in the root of your XOOPS installation.


This word make me confuse, because im still new at php.

It must replace mainfile.php or upload new file like on the faq ?

4
davidl2
Re: How fix this ??
  • 2007/7/27 8:00

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Don't call this new file mainfile.php

Give it a new name - example: changeperm.php

5
Shin-Ra
Re: How fix this ??
  • 2007/7/27 8:21

  • Shin-Ra

  • Just popping in

  • Posts: 3

  • Since: 2007/7/26


I got blank page

And how can i login into admin page ?

6
attock
Re: How fix this ??
  • 2007/7/27 15:30

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


First create a file changeperm.php with the following code :

<?php chmod("mainfile.php"0444?>


This file, changeperm.php, should be located in the same directory that contains mainfile.php. In my case it would be sumthing like this -> /home/my_user_name/public_html/HERE. And I can access my XOOPS site viahttp://www.mywebite.com.

Second step is to run\execute this file, and you do so by going to the websitehttp://www.mywebsite.com/changeperm.php. You only have to do it once.


Another example of file location would be: /home/my_user_name/public_html/myxooops_site/HERE. In this case I can access my XOOPS site viahttp://www.mywebsite.com/myxoops_site and so on. However in this case I would gotohttp://www.mywebsite.com/myxoops_site/changeperm.php to excute.

I hope this will help.

7
vaughan
Re: How fix this ??
  • 2007/7/27 16:12

  • vaughan

  • Friend of XOOPS

  • Posts: 680

  • Since: 2005/11/26


or use your servers CPANEL or PLESK file manager to change the permission.. saves having to write scripts..

8
raymia
Re: How fix this ??
  • 2008/12/11 13:08

  • raymia

  • Quite a regular

  • Posts: 221

  • Since: 2008/8/25


thank you worked for me.

Login

Who's Online

212 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 212


more...

Donat-O-Meter

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

Latest GitHub Commits