1
dniezby
Accidently Deleted Mainfile.php
  • 2006/6/20 2:49

  • dniezby

  • Just popping in

  • Posts: 54

  • Since: 2006/6/1 2


I accidently deleted the mainfile.php but wasn't worried about it because I had a copy of it on my computer. However, when I uploaded the file to my server everything is lost.

It gives me a "page not found" error.

Any idea what I can do to fix this?

2
iHackCode
Re: Accidently Deleted Mainfile.php

so far i noticed that the domain is wrong.

it looks like the domain is spelled wrong. in XOOPS_URL in mainfile.php
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

3
Bassman
Re: Accidently Deleted Mainfile.php
  • 2006/6/20 3:27

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


mainfile.dist.php is meant to be a backup for mainfile.php. make a copy of it and rename it mainfile.php.

4
leostotch
Re: Accidently Deleted Mainfile.php
  • 2006/6/20 3:46

  • leostotch

  • Just popping in

  • Posts: 76

  • Since: 2006/4/1 1


Quote:
mainfile.dist.php is meant to be a backup for mainfile.php. make a copy of it and rename it mainfile.php.


That doesnt work... mainfile.dist.php is an "empty" mainfile used as a template by the installer.

If you lost mainfile.php there are two solutions to make it again:
1) Make a copy of mainfile.dist.php as you said and after that edit it to fill the values manually
or
2) Re-upload the /install folder to the server, relaunch the installer, enter the correct values when asked, continue the installation until the "mainfile generation" page (I think it's the one that says something like "generating constants" but I'm not sure), and stop the install procedure here: the installer should have re-generated a fresh new mainfile.php

5
dniezby
Re: Accidently Deleted Mainfile.php
  • 2006/6/20 3:50

  • dniezby

  • Just popping in

  • Posts: 54

  • Since: 2006/6/1 2


OMG!!!

I can't believe I did that.

Good catch.

Thanks.


It was a typeo in my domain name.

Login

Who's Online

93 user(s) are online (54 user(s) are browsing Support Forums)


Members: 0


Guests: 93


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits