1
jstratton
WARNING: mainfile.php writeable by server - Can I skip this check?
  • 2005/11/2 4:49

  • jstratton

  • Just popping in

  • Posts: 1

  • Since: 2005/11/2


My windows server has *never* correctly identified file permissions. The mainfile.php is definitely read-only...

When I had this problem with Zen-Cart, I was able to go in to the application and tell it to skip the permissions check on this file - is there any way to do this here? I have no other way to get this thing working (although I'd like to; it looks pretty cool....)

Thanks...

2
iver2435
Re: WARNING: mainfile.php writeable by server - Can I skip this check?
  • 2006/1/20 6:00

  • iver2435

  • Just popping in

  • Posts: 10

  • Since: 2006/1/19


In the admin.php file, here is the code that issues the warning:

if ( is_writable(XOOPS_ROOT_PATH."/mainfile.php" ) ) {
xoops_error(sprintf(_WARNINWRITEABLE,XOOPS_ROOT_PATH.'/mainfile.php'));
echo '
';
}

You could just be able to comment out that block and be done with it.

3
mawi27
Re: WARNING: mainfile.php writeable by server - Can I skip this check?
  • 2006/1/20 8:55

  • mawi27

  • Friend of XOOPS

  • Posts: 103

  • Since: 2006/1/1 1


Hi jstratton,

Quote:
My windows server has *never* correctly identified file permissions.


Xoops does not check the file permissions on a windows server, but the "read-only" flag.
You set the mainfile.php read-only and there you go!

Marco
--
Match Dart!
Darts Ranking, News, Videos, Forum and more

Login

Who's Online

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


Members: 0


Guests: 247


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