News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Deleted the folder and now major problem

Started by vaesir, November 08, 2014, 07:45:24 PM

Previous topic - Next topic

vaesir

Hi there,
I've deleted by mistake the folder where I had the SMF install but not the DB.
Now I've managed to restore it from old Backup.
However if I try to access it I get a 404 error
404 Not found.
Unable to resolve the request "forums".

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.


However if I add the "index.php" is fine.

http://moneyfreeparty.net/forums - 404 error

http://moneyfreeparty.net/forums//index.php - OK

$boardurl = 'http://moneyfreeparty.net/forums';


Any ideas why?
Thanks
http://romaniavirtuala.info - Romanian Community from eRepublik
http://stargateromania.com - Stargate Romanian Community
http://stargateworlds.ro - Stargate  Worlds Romanian Community

Kindred

It looks to me as if you have added the / to the end of the url in settings, even though you have no listed it here...   The URL in settings.pho should not have the slash at the end.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Illori

might be a good idea to run What is repair_settings.php? to verify that all the paths are correct.

vaesir

http://romaniavirtuala.info - Romanian Community from eRepublik
http://stargateromania.com - Stargate Romanian Community
http://stargateworlds.ro - Stargate  Worlds Romanian Community

kat

"Did not work" doesn't tell us much.

What happened, exactly?

vaesir

Quote from: K@ on November 09, 2014, 01:41:10 PM
"Did not work" doesn't tell us much.

What happened, exactly?

It says everything is ok
But is not :(
http://romaniavirtuala.info - Romanian Community from eRepublik
http://stargateromania.com - Stargate Romanian Community
http://stargateworlds.ro - Stargate  Worlds Romanian Community

kat

Quote from: Kindred on November 08, 2014, 07:55:14 PM
It looks to me as if you have added the / to the end of the url in settings, even though you have no listed it here...   The URL in settings.pho should not have the slash at the end.

http://moneyfreeparty.net/forums//index.php is just weird.

vaesir

I've managed to do it via .htaccess file :|
http://romaniavirtuala.info - Romanian Community from eRepublik
http://stargateromania.com - Stargate Romanian Community
http://stargateworlds.ro - Stargate  Worlds Romanian Community

kat

Why not just change the path, in Settings.php?

The way you've done it could result in other errors manifesting themselves, in the future.

Illori

Quote from: K@ on November 09, 2014, 04:27:46 PM
Why not just change the path, in Settings.php?

The way you've done it could result in other errors manifesting themselves, in the future.

according to what he posted in the first post, it is correct in Settings.php and repair_settings.php does not show anything wrong either.

Advertisement: