1
a-vision
mainfile.php writable problems
  • 2005/2/5 6:26

  • a-vision

  • Just popping in

  • Posts: 4

  • Since: 2005/2/4 5


I am running XOOPS on a Windows server. Installed fine, but when I go to the admin panel, I get the error:

WARNING: File C:/Program Files/Ensim/Sitedata/arialvision/Inetpub/wwwroot/mainfile.php is writeable by the server.
Please change the permission of this file for security reasons.
in Unix (444), in Win32 (read-only)

So I go to my host admin panel and go to the permissions for mainfile.php and there are two check boxed. Read and Write. I check Read, and uncheck Write. I go to XOOPS admin panel, same error! I try several more times, doble check permissions, still have error! What the heck is the problem?!

2
a-vision
Re: mainfile.php writable problems
  • 2005/2/7 5:59

  • a-vision

  • Just popping in

  • Posts: 4

  • Since: 2005/2/4 5


bump

3
Shine
Re: mainfile.php writable problems
  • 2005/2/7 18:47

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


<bump>
Curious too since my latest install on a (for me 1st time)windowsserver and encoutering the same problem. The red alert bells considering the mainfile.php keep on ringin' within the adminsection.

Grtz., Shine

4
Dave_L
Re: mainfile.php writable problems
  • 2005/2/7 18:57

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I don't know what the "host admin panel" is.

On Windows2000, I remove write-access to mainfile.php using Windows Explorer, by right-clicking on that file, selecting Properties, and then checking the Read-only box.

5
Shine
Re: mainfile.php writable problems
  • 2005/2/7 18:59

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Yeah did that too, but the webhost serversettings overrule my setting when I upload the mainfile again.

Grtz., Shine

6
AAINC
Re: mainfile.php writable problems
  • 2005/2/8 1:04

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Some severs do not allow you to chmod to that low of level.(weird though you are the admin, right?)
Even though through FTP says it is 644 or 444, you still get the warning.
So when all else fails, try to bypass with PHP.

Create a file named chmod.php

Add this:
<?php
chmod
('mainfile.php'0444);
?>



Save, upload to your XOOPS directory and open.

http://www.yoursite.com/chmod.php
Once you open up the file, DELETE it.

No More errors.

PEACE

7
a-vision
Re: mainfile.php writable problems
  • 2005/2/8 3:23

  • a-vision

  • Just popping in

  • Posts: 4

  • Since: 2005/2/4 5


The admin control panel is how I control my hosting. Since it is not my server, I cant use Explorer on it. Also, Im going to try that php script, but I thought you couldnt use chmod on Windows servers?

8
a-vision
Re: mainfile.php writable problems
  • 2005/2/8 3:31

  • a-vision

  • Just popping in

  • Posts: 4

  • Since: 2005/2/4 5


Nope, that doesnt work on my Windows server. Annoying thing is that I cant even use my admin panel while this error is showing up, the menu doesnt show so I cant do anything in the admin panel.

Login

Who's Online

159 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 159


more...

Donat-O-Meter

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

Latest GitHub Commits