PDA

View Full Version : Admin login problem after upgrade


fpnjie
10-24-2008, 01:16 PM
Hi,

Can someone help with my 4.0.4 upgrade. I had made the upgrade and now I have this error message [Fatal error: Call to a member function on a non-object in /home/uniquefm/public_html/portal/lib/vivvo/service/login.service.php on line 67] anytime I login to my admin area.

Regards

shketuljko
10-27-2008, 12:10 PM
This problem is related with server.
I can give you quick fix for this problem:

Open VIVVO_ROOT/lib/vivvo/service/login.service.php file and try to find this code (around line 66):


if ($user){
$this->_site_manager->user->set_logins($this->_site_manager->user->get_logins() + 1);


replace with:


if ($user){
$this->_site_manager->set_user();
$this->_site_manager->user->set_logins($this->_site_manager->user->get_logins() + 1);

fpnjie
10-27-2008, 05:08 PM
if ($user){
$this->_site_manager->set_user();
$this->_site_manager->user->set_logins($this->_site_manager->user->get_logins() + 1);


This has solved my problems.

Thanks for the expert help.

shketuljko
10-28-2008, 08:56 AM
No problem.
I'm glad to help.