1
Dante7237
New 2.5.9 install path problem
  • 2017/10/11 16:59

  • Dante7237

  • Friend of XOOPS

  • Posts: 294

  • Since: 2008/5/28


It's been a while but not that long.
Like the subject says fresh 2.5.9 install, updated mainfile to reflect the lib and data paths, but installer looks in wrong folder and declares them missing.

What did I forget? hehehe

2
Bleekk
Re: New 2.5.9 install path problem
  • 2017/10/12 10:38

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


Are you sure you have overwritten the old mainfile with the new one? Look if the mainfile is writable

3
Dante7237
Re: New 2.5.9 install path problem
  • 2017/10/12 11:14

  • Dante7237

  • Friend of XOOPS

  • Posts: 294

  • Since: 2008/5/28


Yeah, I have.
The installer keeps looking in cms root instead of what I declared in mainfile.

4
Dante7237
Re: New 2.5.9 install path problem
  • 2017/10/12 11:46

  • Dante7237

  • Friend of XOOPS

  • Posts: 294

  • Since: 2008/5/28


So I looked at my last cms install and noticed a difference in mainfile names.
The previous installed cms had the file named "mainfile.php".

The 2.5.9 install has the file named as "mainfile.dist.php".
Renaming the file to "mainfile.php" throws a server error on access....

I recall some subtle thing about this, just not exactly what.

(I will mention here that the installer guide has 0 info about editing this file before install. Which makes those instructions useless to newcomers.)

5
Mamba
Re: New 2.5.9 install path problem
  • 2017/10/13 9:06

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


1) the install process creates the "mainfile.php" for you. If you don't have it, i.e. that the installation was NOT successful. You do NOT use/modify the "mainfile.dist.php" - that's only for XOOPS.

2) During installation, you specify where the lib and data paths are, so the system can check if they exist. If they are not, the process will not continue. So making changes after the installation manually is risky, unless you know what you're doing.

My recommendation: install again, with the correct paths provided to XOOPS during installation.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

6
Dante7237
Re: New 2.5.9 install path problem
  • 2017/10/13 10:20

  • Dante7237

  • Friend of XOOPS

  • Posts: 294

  • Since: 2008/5/28


As long as I've used xoops the mainfile needed to be edited to reflect paths "before" the installer runs.
So you're telling me that the installer will prompt me for input rather than expecting paths to be present in mainfile?

7
geekwright
Re: New 2.5.9 install path problem

Quote:

Dante7237 wrote:
...
So you're telling me that the installer will prompt me for input rather than expecting paths to be present in mainfile?


Right! There is no mainfile.php before the installer runs. Enter the correct paths when prompted, and it will verify them. After that, the installer will create the new mainfile.php once all the needed information has been gathered.

Here is the relevant documentation on GitBook.

8
Dante7237
Re: New 2.5.9 install path problem
  • 2017/10/14 12:07

  • Dante7237

  • Friend of XOOPS

  • Posts: 294

  • Since: 2008/5/28


Thanks for the help guys.
I just replaced the mainfile with an empty stock one and the installer still fails at step 4.
There is no prompt for input, and it continues to look in cms root for the lib and data folders.

Shux. I just noticed the fields on step 4 are editable. It isn't exactly easy to tell..
Gimme a second.

Yup, that was it.... hahaha
Thanks again.

9
Mamba
Re: New 2.5.9 install path problem
  • 2017/10/15 4:54

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Good to hear that everything is working now!
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

237 user(s) are online (183 user(s) are browsing Support Forums)


Members: 0


Guests: 237


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