Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Clean 2.6 Install > Dashboard URLs = Something Wrong
Trying without success to update my main live forum to 2.6
(Was initially displaying 500 errors so worth a shot. Files and DB backed up prior to update attempt)
Set up a dev forum subdirectory for a clean install.
- Renamed and edited htaccess to reflect correct subdirectory
- Forum Installed. Taken to */forumnew/settings/gettingstarted - OK
- */forumnew/dashboard/settings/home - "Something has gone wrong" error
- */forumnew/dashboard/settings/branding - "Something has gone wrong" error
- */forumnew/dashboard/message - Tested and working
- Set debug to 'true' in config.php
- Looked through the community posts, can't find anything similar
Still none the wiser.
0
Comments
What was the error report when you set debug to true?
Where would I see the debug message?
Typically, when you set debug to true, you should see a detailed error report in place of the 'Something has gone wrong' message in your browser.
Just checked the URL and it’s the same “Something is wrong” message.
Then debug isn't set correctly, I would say, or you have a cache issue stopping you seeing the change.
Ok as soon as I’m back on my computer (on my phone right now) I’ll clear the cache and update this post.
Thanks for the assist so far.
Cleared the cache folder apart from the htaccess file - still showing the same error message.
Double checked debug is set to true: https://i.imgur.com/bMmha6P.png (assuming that's the correct setting
Just to confirm, you are editing config. php
Correct. config.php
Sorry, I'm officially baffled, so it feels like time to mention @R_J
Some things working and some other not could be a hint for not fulfilling the requirements. Could you please dive into the readme and make sure that your setup satisfies the requirements?
If yes, what platform and what versions of php and mysql are you using?
Hi @R_J
Server OS: CentOS 7.5 KVM
WHM: 70.0.51
Apache: 2.4.33
PHP: 7.0
MySQL: 10.1.34-MariaDB
And do you have the php extension mbstring enabled?
For test environments, you can edit the /index.php and search for
ini_set('display_errors', 0);
and change it toini_set('display_errors', 1);
, but remeber to change it to zero again as soon as possibleI checked EasyApache in my WHM and PDO and CURL were already installed for PHP7.0 and I just had my host support install mbstring.
I'm not testing this on a live forum right now as I'm aiming to migrate all the previous posts and users over via a MySQL import (hopefully)
I've changed "ini_set" and there are no errors showing.
And it's definitely the correct index.php I've edited.
The screenshot above shows that you have added
'Garden']['Debug'] = true;
to the config-defaults.php.$Configuration['Garden']['Debug'] = true;
as your last line in "/conf/config.php"If you are on cPanel, the default .htaccess file did not work for me at all. Can you post your .htaccess file between these characters:
~~~ <your .htaccess file> ~~~
@R_J I had renamed config-defaults.php to config.php and manually entered the various DB connecting settings.
Cache folder = unable to completely clear the cache via FTP or CPanel File Manager as I cannot delete the 'Smarty' and 'theme' folders and some files within 'theme' due to permission being denied for some reason (screenshot attached)
@donovanb the .htaccess is the default one that comes with 2.6 apart from me changing the first line to # Modified and 'Rewritebase /forumnew'
I couldn't get the whole .htaccess file to display properly in the comment so I've added it here:
https://pastebin.com/xhMa9MvQ
The config.php will automatically be created during the installation process. The config-defaults file should never be touched nor copied.
And the db information must be entered during the setup process which starts when you first visit the page. You only have to copy all files and rename the htaccess, keep the db information at hand and follow the (few) instructions during the web based installation process
@camstudio cPanel adds it's own .htaccess file to get PHP7 to work (for it's multi-php feature)... did you delete that?
If you open up shell and go to the directory of your forum and type:
php -v
You can be sure of what php version you are running in that directory. (without the .htaccess entry by WHM, your mult-php entry may be lying to you).
Anyway, here is my working .htaccess with WHM v68.0.36 and Vanilla 2.6.. note the cPanel PHP part.
Hope this helps:
@donovanb @R_J
Apologies for the delay ...
Decided to wipe that installation and start again using the info from this thread.
Installed fine. Dashboard settings URL still broken - no error details shown in browser (same as before).
Now unable to completely clear cache via CPanel File Manager or FTP - I now get Permission Denied messages (attached)
Any thoughts?