1
magic2k4
Could not open mainfile.php for reading
  • 2014/10/27 11:39

  • magic2k4

  • Just popping in

  • Posts: 7

  • Since: 2004/12/23


I am half way through the install page and I get this error at the save configuration:

********************************
Saving your system configuration
Could not open mainfile.php for reading
********************************

I have no idea how to fix this.Thanks.


I'm sure this is pretty obvious to some of the experts on here hense why I am posting, as I cant for the life of me figure out whats wrong? Any ideas would be apprecatied.

2
luciorota
Re: Could not open mainfile.php for reading
  • 2014/10/27 11:42

  • luciorota

  • Module Developer

  • Posts: 216

  • Since: 2007/4/20


if your site is on a unix/linux server you should check for file permissions and owner...

3
magic2k4
Re: Could not open mainfile.php for reading
  • 2014/10/27 11:47

  • magic2k4

  • Just popping in

  • Posts: 7

  • Since: 2004/12/23


Yes, I am running it on a raspberry pi running raspbian. Ive checked this, and all appears to be ok but if it is like you say, I dont know how to correct it.

4
Mamba
Re: Could not open mainfile.php for reading
  • 2014/10/27 14:16

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


We never tested it on RPi, therefore no guarantees that it will run there.

Few questions:

1) did you originally copy the mainfile.php from /extras

2) if not, did XOOPS create a new mainfile.php in the root directory?

3) If there is now a mainfile.php file, what is the content of it?

Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

5
dbman
Re: Could not open mainfile.php for reading
  • 2014/10/27 23:33

  • dbman

  • Friend of XOOPS

  • Posts: 172

  • Since: 2005/4/28


Just tested this, same error... fixed by copying mainfile.php from extras folder to the xoops install folder and applying read, write, execute permissions (chmod 777).

6
Mamba
Re: Could not open mainfile.php for reading
  • 2014/10/28 10:42

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
fixed by copying mainfile.php from extras folder

So is it working now?

I am very curious how will XOOPS work on Raspberry Pie....
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

417 user(s) are online (328 user(s) are browsing Support Forums)


Members: 0


Guests: 417


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