XF 1.4 Copied DB, copied site to subdomain: no one can login, what have I missed?

slewis1972

Member
As per previous post, I am moving my site from a root folder to a subdomain.

While I get my htaccess file sorted, I thought, copy database and start to test - that went all ok

But no one can login. Keep getting password incorrect. Tried main super admins, and not normal users passwords that I know. Proved it by going back to main site and they worked all ok there.

Checked FAQ, not seen this, so not sure if related to my htaccess file or something else.
Everything works if I move it to a subfolder of my root, just not to a subdomain.

Any ideas?
 
This can happen if your site has been downgraded to PHP 5.2. PHP 5.2 doesn't support the more secure password system we use for PHP 5.3 upwards. Given that PHP 5.2 is no longer supported (nor is PHP 5.3), I would strongly recommend contacting your host regarding the PHP version in use.
 
This can happen if your site has been downgraded to PHP 5.2. PHP 5.2 doesn't support the more secure password system we use for PHP 5.3 upwards. Given that PHP 5.2 is no longer supported (nor is PHP 5.3), I would strongly recommend contacting your host regarding the PHP version in use.

Not aware of this, and moved dbs before all ok, just not to subdomian. Even have the test one on same mysql server. PHP is 5.2.6
 
PHP 5.2.6 doesn't actually meet XenForo's own basic requirements (which are currently 5.2.11). It sounds like you may have the ability to choose the PHP version in use. Your host should be able to provide guidance though.
 
In the root XenForo directory, create a file called info.php with this in it:
Code:
<?php phpinfo();
When you access it, what PHP version does it show?
 
Back
Top Bottom