XF 2.2 SOLVED: Can access admin page but not forum for test installation

djbaxter

in memoriam 1947-2022
I had beta 5 installed as a test forum in test.domain.com (physically in the test subdirectory on the server).

I deleted the subdomain and the old test.domain.com cookies. Changed the URL in basic board options.

I can now access the ACP at domain.com/test just fine.

I get an error trying to access the test forum though:

The page isn’t redirecting properly
This problem can sometimes be caused by disabling or refusing to accept cookies.
How can I fix this? Do I need to reset the path for cookies to the test site or something?
 
If you have more than one installation in the same domain, then you need to ensure there are no conflicts with regards to cookies, redirection, etc.

It doesn't sound like a cookie issue but ensure you are using a separate cookie prefix for each site anyway.

PHP:
$config['cookie'] = array(
'prefix' => 'test_',
'path' => '/',
'domain' => ''
);
 
Actually I found the solution myself as I was typing out the support ticket:.

The main site is actually www.domain.com so the test installation should be at www.domain.com/test not domain.com/test. Hence the "not redirecting properly" error. I fixed the URL in Basic board options and now everything is fine. :)
 
Top Bottom