I just migrated a locally (MAMP) installed CMSms 1.5.1 to another server (running win 2000 with apache and mysql). But now when we're done none of the graphics showin and I Cant login to Adminpanel.
When I login it starts loading and shortly after just goes back to the login page. When trying it with a none existing login it comes back as invalid. So the connection/validation must be ok. It just wont get me to the adminpanel.
- the database was exported and imported like you're supposed to
- the paths are changed to the supposed right one (all of them) where root's http://www.domain.com/V2 for example.
- the permissions should be right
Anyone who might know whats wrong? Sort of desperate here :/
[solved] Cant login after Migration to new location
-
- Forum Members
- Posts: 50
- Joined: Fri Jan 16, 2009 1:07 pm
[solved] Cant login after Migration to new location
Last edited by superstoffe on Mon Mar 02, 2009 10:37 am, edited 1 time in total.
Re: Cant login after Migration to new location
check the config file
probably it's got one path incorrect
also check error log in PHP.
can you post latest errors?
thx
probably it's got one path incorrect
also check error log in PHP.
can you post latest errors?
thx
-
- Forum Members
- Posts: 50
- Joined: Fri Jan 16, 2009 1:07 pm
Re: Cant login after Migration to new location
Hi streever,
Sure thing I'll take a look and come back to you. Thanks for your time!
Sure thing I'll take a look and come back to you. Thanks for your time!
-
- Forum Members
- Posts: 50
- Joined: Fri Jan 16, 2009 1:07 pm
Re: Cant login after Migration to new location
I tried putting the install folder back in there.. and when doing so it returns:
"Session not working, you have problem with some modules and functionality! Ask your provider, exiting!"
.. when browsing to: www.domain.com/V2/install/
And here comes a snippet out of the Apache log:
"Session not working, you have problem with some modules and functionality! Ask your provider, exiting!"
.. when browsing to: www.domain.com/V2/install/
And here comes a snippet out of the Apache log:
and one more..[Fri Feb 27 14:41:48 2009] [error] [client 0.0.0.0] PHP Warning: include_once(class.mailEncryptor.php) [function.include-once]: failed to open stream: No such file or directory in C:\\Program\\Apache Software Foundation\\Apache2.2\\htdocs\\V2\\lib\\content.functions.php(857) : eval()'d code on line 1
[Fri Feb 27 14:41:48 2009] [error] [client 0.0.0.0] PHP Warning: include_once() [function.include]: Failed opening 'class.mailEncryptor.php' for inclusion (include_path='.;C:\\php5\\pear') in C:\\Program\\Apache Software Foundation\\Apache2.2\\htdocs\\V2\\lib\\content.functions.php(857) : eval()'d code on line 1
[Fri Feb 27 14:41:48 2009] [error] [client 0.0.0.0] PHP Fatal error: Class 'MailEncryptor' not found in C:\\Program\\Apache Software Foundation\\Apache2.2\\htdocs\\V2\\lib\\content.functions.php(857) : eval()'d code on line 2
[Fri Feb 27 14:41:48 2009] [error] [client 0.0.0.0] PHP Warning: Unknown: open(C:\\DOCUME~1\\ADMINI~1.KPH\\LOKALA~1\\Temp\\php\\upload\\sess_f7nfi6c0jqgp86gbubjtk5mkc6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
[Fri Feb 27 14:41:48 2009] [error] [client 0.0.0.0] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\\DOCUME~1\\ADMINI~1.KPH\\LOKALA~1\\Temp\\php\\upload) in Unknown on line 0
[Fri Feb 27 14:41:48 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 14:43:04 2009] [error] [client 0.0.0.0] PHP Warning: Unknown: open(C:\\DOCUME~1\\ADMINI~1.KPH\\LOKALA~1\\Temp\\php\\upload\\sess_f7nfi6c0jqgp86gbubjtk5mkc6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
[Fri Feb 27 14:43:04 2009] [error] [client 0.0.0.0] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\\DOCUME~1\\ADMINI~1.KPH\\LOKALA~1\\Temp\\php\\upload) in Unknown on line 0
[Fri Feb 27 14:43:23 2009] [error] [client 0.0.0.0] PHP Warning: include_once(class.mailEncryptor.php) [function.include-once]: failed to open stream: No such file or directory in C:\\Program\\Apache Software Foundation\\Apache2.2\\htdocs\\V2\\lib\\content.functions.php(857) : eval()'d code on line 1
[Fri Feb 27 14:43:23 2009] [error] [client 0.0.0.0] PHP Warning: include_once() [function.include]: Failed opening 'class.mailEncryptor.php' for inclusion (include_path='.;C:\\php5\\pear') in C:\\Program\\Apache Software Foundation\\Apache2.2\\htdocs\\V2\\lib\\content.functions.php(857) : eval()'d code on line 1
[Fri Feb 27 14:43:23 2009] [error] [client 0.0.0.0] PHP Fatal error: Class 'MailEncryptor' not found in C:\\Program\\Apache Software Foundation\\Apache2.2\\htdocs\\V2\\lib\\content.functions.php(857) : eval()'d code on line 2
[Fri Feb 27 14:43:23 2009] [error] [client 0.0.0.0] PHP Warning: Unknown: open(C:\\DOCUME~1\\ADMINI~1.KPH\\LOKALA~1\\Temp\\php\\upload\\sess_f7nfi6c0jqgp86gbubjtk5mkc6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
[Fri Feb 27 14:43:23 2009] [error] [client 0.0.0.0] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\\DOCUME~1\\ADMINI~1.KPH\\LOKALA~1\\Temp\\php\\upload) in Unknown on line 0
[Fri Feb 27 15:13:53 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/uploads/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:53 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:53 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:53 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:53 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:53 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:15:06 2009] [error] [client 0.0.0.0] PHP Warning: Parameter dateformat is not known... dropped in C:\\Program\\Apache Software Foundation\\Apache2.2\\htdocs\\V2\\lib\\misc.functions.php on line 1347
[Fri Feb 27 15:15:06 2009] [error] [client 0.0.0.0] PHP Warning: Unknown: open(C:\\DOCUME~1\\ADMINI~1.KPH\\LOKALA~1\\Temp\\php\\upload\\sess_f7nfi6c0jqgp86gbubjtk5mkc6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
-
- Forum Members
- Posts: 50
- Joined: Fri Jan 16, 2009 1:07 pm
Re: Cant login after Migration to new location
To add is that we have had a older version of CMS running, and still do, one directory down. So it have worked before. So the question is why it doesnt now. If the version differ that much.. or if theres just astupid misstake.
Either way Im lost :p
Either way Im lost :p
-
- Forum Members
- Posts: 50
- Joined: Fri Jan 16, 2009 1:07 pm
Re: Cant login after Migration to new location
I tried putting the install folder back in there.. and when doing so it returns:
"Session not working, you have problem with some modules and functionality! Ask your provider, exiting!"
.. when browsing to: www.domain.com/V2/install/
And here comes a snippet out of the Apache log:
"Session not working, you have problem with some modules and functionality! Ask your provider, exiting!"
.. when browsing to: www.domain.com/V2/install/
And here comes a snippet out of the Apache log:
[Fri Feb 27 14:41:48 2009] [error] [client 0.0.0.0] PHP Warning: include_once(class.mailEncryptor.php) [function.include-once]: failed to open stream: No such file or directory in C:\\Program\\Apache Software Foundation\\Apache2.2\\htdocs\\V2\\lib\\content.functions.php(857) : eval()'d code on line 1
[Fri Feb 27 14:41:48 2009] [error] [client 0.0.0.0] PHP Warning: include_once() [function.include]: Failed opening 'class.mailEncryptor.php' for inclusion (include_path='.;C:\\php5\\pear') in C:\\Program\\Apache Software Foundation\\Apache2.2\\htdocs\\V2\\lib\\content.functions.php(857) : eval()'d code on line 1
[Fri Feb 27 14:41:48 2009] [error] [client 0.0.0.0] PHP Fatal error: Class 'MailEncryptor' not found in C:\\Program\\Apache Software Foundation\\Apache2.2\\htdocs\\V2\\lib\\content.functions.php(857) : eval()'d code on line 2
[Fri Feb 27 14:41:48 2009] [error] [client 0.0.0.0] PHP Warning: Unknown: open(C:\\DOCUME~1\\ADMINI~1.KPH\\LOKALA~1\\Temp\\php\\upload\\sess_f7nfi6c0jqgp86gbubjtk5mkc6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
[Fri Feb 27 14:41:48 2009] [error] [client 0.0.0.0] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\\DOCUME~1\\ADMINI~1.KPH\\LOKALA~1\\Temp\\php\\upload) in Unknown on line 0
[Fri Feb 27 14:41:48 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 14:43:04 2009] [error] [client 0.0.0.0] PHP Warning: Unknown: open(C:\\DOCUME~1\\ADMINI~1.KPH\\LOKALA~1\\Temp\\php\\upload\\sess_f7nfi6c0jqgp86gbubjtk5mkc6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
[Fri Feb 27 14:43:04 2009] [error] [client 0.0.0.0] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\\DOCUME~1\\ADMINI~1.KPH\\LOKALA~1\\Temp\\php\\upload) in Unknown on line 0
[Fri Feb 27 14:43:23 2009] [error] [client 0.0.0.0] PHP Warning: include_once(class.mailEncryptor.php) [function.include-once]: failed to open stream: No such file or directory in C:\\Program\\Apache Software Foundation\\Apache2.2\\htdocs\\V2\\lib\\content.functions.php(857) : eval()'d code on line 1
[Fri Feb 27 14:43:23 2009] [error] [client 0.0.0.0] PHP Warning: include_once() [function.include]: Failed opening 'class.mailEncryptor.php' for inclusion (include_path='.;C:\\php5\\pear') in C:\\Program\\Apache Software Foundation\\Apache2.2\\htdocs\\V2\\lib\\content.functions.php(857) : eval()'d code on line 1
[Fri Feb 27 14:43:23 2009] [error] [client 0.0.0.0] PHP Fatal error: Class 'MailEncryptor' not found in C:\\Program\\Apache Software Foundation\\Apache2.2\\htdocs\\V2\\lib\\content.functions.php(857) : eval()'d code on line 2
[Fri Feb 27 14:43:23 2009] [error] [client 0.0.0.0] PHP Warning: Unknown: open(C:\\DOCUME~1\\ADMINI~1.KPH\\LOKALA~1\\Temp\\php\\upload\\sess_f7nfi6c0jqgp86gbubjtk5mkc6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
[Fri Feb 27 14:43:23 2009] [error] [client 0.0.0.0] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\\DOCUME~1\\ADMINI~1.KPH\\LOKALA~1\\Temp\\php\\upload) in Unknown on line 0
-
- Forum Members
- Posts: 50
- Joined: Fri Jan 16, 2009 1:07 pm
Re: Cant login after Migration to new location
and one more..
[Fri Feb 27 15:13:53 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/uploads/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:53 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:53 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:53 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:53 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:53 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:13:54 2009] [alert] [client 0.0.0.0] C:/Program/Apache Software Foundation/Apache2.2/htdocs/V2/images/.htaccess: order not allowed here, referer: http://www.kph.se/v2/
[Fri Feb 27 15:15:06 2009] [error] [client 0.0.0.0] PHP Warning: Parameter dateformat is not known... dropped in C:\\Program\\Apache Software Foundation\\Apache2.2\\htdocs\\V2\\lib\\misc.functions.php on line 1347
[Fri Feb 27 15:15:06 2009] [error] [client 0.0.0.0] PHP Warning: Unknown: open(C:\\DOCUME~1\\ADMINI~1.KPH\\LOKALA~1\\Temp\\php\\upload\\sess_f7nfi6c0jqgp86gbubjtk5mkc6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
-
- Forum Members
- Posts: 50
- Joined: Fri Jan 16, 2009 1:07 pm
Re: Cant login after Migration to new location
In debug mode I get this on the admin login page:

After clicking through the debug mode I actually get in. I will update as I go.
Warning: Unknown: open(C:\DOCUME~1\ADMINI~1.KPH\LOKALA~1\Temp\php\upload\sess_qiblta3c4aqag3k7me3bsvkpc6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\DOCUME~1\ADMINI~1.KPH\LOKALA~1\Temp\php\upload) in Unknown on line 0

After clicking through the debug mode I actually get in. I will update as I go.
Last edited by superstoffe on Mon Mar 02, 2009 8:54 am, edited 1 time in total.
-
- Forum Members
- Posts: 50
- Joined: Fri Jan 16, 2009 1:07 pm
Re: Cant login after Migration to new location
Solved.
For the images it was a simple permission miss by myself.
Then for the PHP error it was set to write to a local folder, that a webuser obviosuly didnt have permission to. That was changed to apaches own temp folder instead and now i works just fine.
For the images it was a simple permission miss by myself.
Then for the PHP error it was set to write to a local folder, that a webuser obviosuly didnt have permission to. That was changed to apaches own temp folder instead and now i works just fine.