4951 Posts in 14058 Topics by 1491 members
|Go to End|
8 December 2009 at 7:56am
worked fine, changed theme in _config.php and now I'm getting redirected to install.php (no longer exists since i trashed it) and getting this error: Too many redirects occurred trying to open â€œhttp://XX.XX.XXX.XX/â€. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.
Tried loading http://XX.XX.XXX.XX/dev/build to force the db to rebuild, but no dice.. same redirect nonsense!
8 December 2009 at 8:35pm
Check the redirection isn't just cached - try another browser or by CTRL + F5. Another thing to check is does the $database variable exist in your _config file. If SS cannot *see* that its installed in a database it may think it hasn't been installed yet so double check your mysite/_config db details.
16 July 2010 at 6:14pm
I just ran into the same problem yesterday. I upgraded to 2.4.0 and it was running fine, then I built my own template and wanted to give it a test run. So, I uploaded the template and changed the _config in "mysite" and now the site's going through endless redirect loops.
I've dumped the cache, ran dev/build/?flush=all, tried opening the site on different browsers to make sure it wasn't a cache issue, and I've fiddled around with the _config file some more in hopes that I could get the site to stop redirecting. No luck so far. If it helps any, the following is the content of my _config file:
$project = 'mysite';
$database = '';
// enable nested URLs for this site (e.g. page/sub-page/)
// This line set's the current theme. More themes can be
// downloaded from http://www.silverstripe.org/themes/
"cunardclassic" is the name of the theme I'm trying out and have uploaded into the templates folder, so I'm pretty sure it's in the right place. I've also thought that maybe it was a template issue and tried redirecting _config to the default Blackcandy, but I still run into the redirect loop.
Right now am I running SilverStripe as a future platform for my website (the conversion process is ongoing) and haven't been able to move over the content since the redirect loop. The temporary site is available for viewing here: http://ren.cnwcentral.com/silverstripe/
Any pointers would be much, much appreciated!
17 July 2010 at 5:50pm
It looks like your _config.php file isn't filled out correctly. For example, $database = '' means it will always try to access the install.
Perhaps it would be a good idea to run the SilverStripe 2.4 installer, so that it will out this file for you with the correct database details, etc?
|Go to Top|