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.
fresh install front page change, then page not found
simontyszko
New
i am new to vanilla and have now installed several times with the same error occurring each time...
hopefully it's a schoolboy error, please advise.
so..
new database,
new site subdirectory,
fresh install = everything works as expected.
yet, if i change either the theme or any setting on the homepage i get (home) page not found when viewing the forum.
when setting the option to have either discussion or categories from dashboard, this will not save hence page not found error.
anyone?
thanks very
s
0
Comments
@simontyszko
Welcome to the community.
Can you check that your conf/config.php file is writeable?
That's really weird. I would advice to make a copy of /conf/config.php, then change some homepage setting and compare the new /conf/config.php with the old one.
Doing this should at least show if the changes in the config are those that are expected.
It might also be a strange .htaccess problem that I have never seen before. You could try to use the file from an older version:
https://raw.githubusercontent.com/vanilla/vanilla/release/2.1/.htaccess
If your forum is in a subfolder, you need to change the
# RewriteBase /
toRewriteBase /thepathofyoursubfolder
the config does appear writable, as i am changing various options then loading the remote file locally to check... and cannot see any reference to homepage settings in the config file... i shall try the older htaccess too.
thanks for your response
http://www.theculture.net/25hertz/
http://www.theculture.net/hertz/
i tried the old htaccess file yet no joy. homepage settings still disappearing (not even sticking to default)
by subfolder are you talking about a subfolder within the designated formun folder. ie,
website.com/forum. which is how i have it or
website.com/forum/forum ?
Your forums address is theculture.net/hertz/ and so the line must read
RewriteBase /hertz
it appears to be set correctly or should the last commented instance also have /hertz ?
hang on tho... i need to check this...
ta very
RewriteEngine On
RewriteBase /hertz
Comments are only comments and do not matter
okay.... fresh install (just really make sure) 7
directly after setup the access file was.
Original
If you modify this file then change the above line to: # Modified
RewriteEngine On
# RewriteBase /
and when i selected discussions as homepage view saved it and then moved menu and returned to homepage neither option selected.
i manually altered the access file to
yet the issue remains.....
Original
If you modify this file then change the above line to: # Modified
RewriteEngine On
RewriteBase /25hertz
ive not added modified........ i shall
gosh... i was trying to screen record this happening and logged in on my iPhone. this time the option sticks....... what on earth could be causing notebook browser to fail yet mobile to succeed?
curious
ha
Possibly a cache issue?
Could you try to access on the notebook using your browser's incognito mode?
i tried that and i also used opera with vpn, same result......
i have successfully changed other settings (deleting and adding users) from the browser with no loss of homepage. yet any changes of main page options from browser causes loss of homepage?
i have managed to repeat error this several times now.
i can edit homepage from mobile but not in a browser.
if i edit from my laptop then some field do not get written in the routes section..
fail=.
// Routes
$Configuration['Routes']['DefaultController'] = array('', 'Internal');
// Vanilla
$Configuration['Vanilla']['Version'] = '2.3.1';
$Configuration['Vanilla']['Discussions']['Layout'] = '';
$Configuration['Vanilla']['Categories']['Layout'] = '';
// Last edited by tyszko (5.70.17.102)2017-10-18 19:22:29
working =
// Routes
$Configuration['Routes']['DefaultController'] = array('categories', 'Internal');
// Vanilla
$Configuration['Vanilla']['Version'] = '2.3.1';
$Configuration['Vanilla']['Discussions']['Layout'] = 'modern';
$Configuration['Vanilla']['Categories']['Layout'] = 'modern';
// Last edited by tyszko (5.70.17.102)2017-10-18 15:45:07
damn curious..... it's a machine specific issue... editing the installation from another machine is also fine...
phew
Look at the JavaScript console of the browser. Maybe it is saved via AJAX and something is going wrong there?