Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repair_settings.php doesn't work without Load.php #5

Closed
LiroyvH opened this issue Nov 4, 2013 · 0 comments
Closed

repair_settings.php doesn't work without Load.php #5

LiroyvH opened this issue Nov 4, 2013 · 0 comments
Labels

Comments

@LiroyvH
Copy link
Member

LiroyvH commented Nov 4, 2013

As per http://www.simplemachines.org/community/index.php?topic=513754.0, on Oldiesmann's request a copy here.

It appears that repair_settings.php requires Sources/Load.php to work.
Whilst that's not an issue per se, it is an issue when you move SMF to a completely new directory (eg: from "site.com/smf" to "site.com/forum").

Repair_settings.php will throw a require_once error that it cannot access Load.php and dies, making it completely unusable.
Changing the associated variables in Settings.php ($boarddir, $sourcedir, $cachedir) fixes the issue.

However, considering this is meant to be a easy to use tool to fix all kinds of Setting issues, it would help if, should Load.php be inaccessible, that the user can define (and/or let repair_settings attempt to find/guess) the completely new basedir in order to fix any other issues that would normally require repair_settings to be ran.

live627 pushed a commit to live627/tools that referenced this issue Aug 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant