1
fabou78
Issue instaling XOOPS 2.5.7.1
  • 2015/2/8 21:26

  • fabou78

  • Friend of XOOPS

  • Posts: 43

  • Since: 2012/6/16


Hi,

I am having some issues installing 2.5.7.1 on a brand new Linux Ubuntu Server

PHP 5.5.9
mysql 5.5.41

If I run the following commands and launch the webinstall I get a blank page

chmod 777 uploads
chmod 777 uploads/avatars/
chmod 777 uploads/images/
chmod 777 uploads/ranks/
chmod 777 uploads/smilies/
mv mainfile.dist.php mainfile.php
chmod 777 mainfile.php
chmod 777 include/license.php
chmod 777 xoops_lib/modules/protector/configs/
chmod 777 xoops_data/caches
chmod 777 xoops_data/caches/xoops_cache
chmod 777 xoops_data/caches/smarty_cache
chmod 777 xoops_data/caches/smarty_compile
chmod 777 xoops_data/configs
chmod 777 xoops_data/data
mv xoops_data/data/secure.dist.php xoops_data/data/secure.php
chmod 777 xoops_data/data/secure.php


whith this error;

[Sun Feb 08 21:09:05.214629 2015] [:error] [pid 1138] [client 192.168.1.107:57179] PHP Warning: require(/data/secure.php): failed to open stream: No such file or directory in /var/www/html/xoops/mainfile.php on line 68
[Sun Feb 08 21:09:05.214848 2015] [:error] [pid 1138] [client 192.168.1.107:57179] PHP Fatal error: require(): Failed opening required '/data/secure.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/xoops/mainfile.php on line 68

Now if I do not rename "mainfile.dist.php" to "mainfile.php" but make it writable at least the webinstall page is showing fine and I can go through the install process until I get an error message saying that it can't write to mainfile.php

Then I am back to blank page and can' t see error messages on the apache2 log

Please note that I have enabled "display_errors" & "error_reporting" in php.ini

Regards,

Fabou





2
Mamba
Re: Issue instaling XOOPS 2.5.7.1
  • 2015/2/9 5:13

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Hi Fabou,

thank you for you interest in XOOPS.

Some hosts seem to have problems with generating the "mainfile.php" file.

In this case, do not rename any files to "mainfile.php", but instead copy the "mainfile.php" from /extras, and then try to install again.

Also, do NOT rename the "secure.dist.php" to "secure.php". XOOPS needs that and it takes care of everything.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
fabou78
Re: Issue instaling XOOPS 2.5.7.1
  • 2015/2/9 14:50

  • fabou78

  • Friend of XOOPS

  • Posts: 43

  • Since: 2012/6/16


Thanks Mamba,

I did try yesterday to copy the file from /extras and noticed an improvement in a sense that I could get to where the install process created the database and also the tables but still later down the line I got that blank page again (sniff) with no error messages even though I have turned PHP debug on.

I will give it a try again tonight and post updates (I have spent the whole yesterday without success), in the meantime;

1) Should I still make "secure.dist.php" writable?
2) Do you have any idea why some hosts have problems with generating the "mainfile.php" file?

This is a test environment that I have setup in preparation for a complete live re-install from 2.5.0 (no migration) so I can enable anything I want for debugging purpose but would need some guidance.

Fabou

4
Mamba
Re: Issue instaling XOOPS 2.5.7.1
  • 2015/2/9 15:34

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:
1) Should I still make "secure.dist.php" writable?

No, just follow the Installation instructions. We never asked for this file to be writable.

Quote:
2) Do you have any idea why some hosts have problems with generating the "mainfile.php" file?

Follow this thread and the explanations by Richard

Keep us posted on your progress....
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

5
fabou78
Re: Issue instaling XOOPS 2.5.7.1
  • 2015/2/10 16:45

  • fabou78

  • Friend of XOOPS

  • Posts: 43

  • Since: 2012/6/16


Thanks,

The install worked last night, I can't figure out why it failed last time with the file from /extras

I beileve the only thing I was doing differently was to rename the secure.dist.php to secure.php

I can give it try again if you want to confirm. This is easy for me to do since I am using snapshots.

Just let me know?

Fabou

Login

Who's Online

177 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 177


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