1
thermopyl
Could not write into mainfile.php. Please check the file permission and try again
  • 2004/7/17 8:22

  • thermopyl

  • Just popping in

  • Posts: 1

  • Since: 2004/7/16


Hi

Running MySQL, PHP 4.3.8, IIS 5 on Win XP. During the install I receive the following message:

PHP Warning: copy(../mainfile.php): failed to open stream: Permission denied in C:\Webapps\Xoops\install\class\mainfilemanager.php on line 52

Can someone tell me where I have gone wrong please

Thanks guys

2
tjnemez
Re: Could not write into mainfile.php. Please check the file permission and try again
  • 2004/7/17 10:25

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


During the install XOOPS informs the user which folders and files needs to have writeable permissions added. is your mainfile.php chmod(ed) 666

3
dawilby
Re: Could not write into mainfile.php. Please check the file permission and try again
  • 2004/7/17 12:29

  • dawilby

  • Module Developer

  • Posts: 31

  • Since: 2002/1/3 0


therm:

Open your Windows Explorer and find 'mainfile.php' Then rightclick and call the 'properties' and goto tab 'security' You will find a '|USR_*' user with permissions. Just give the |USR_* 'write' permissions and your set.

chmod() is a great command but only used on a linux/unix platform

4
tedsmith
Re: Could not write into mainfile.php. Please check the file permission and try again
  • 2004/7/17 12:37

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Also check that the 'Read-Only' tick box is not ticked. If it is, clear it to make it writable (the equivalent of 666 chmod).

5
noelmaster
Re: Could not write into mainfile.php. Please check the file permission and try again
  • 2005/11/21 17:59

  • noelmaster

  • Just popping in

  • Posts: 23

  • Since: 2004/10/28


any other solution for this problem? as i bought a hosting in a windows platform...upset don't know what to do...is it true that you cannot install XOOPS on windows platform? HELP!

Login

Who's Online

326 user(s) are online (265 user(s) are browsing Support Forums)


Members: 0


Guests: 326


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