Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2018-02-08 15:01:06

jensskov
Member
Registered: 2015-08-14
Posts: 24

Problem after upgrade from 2.5 to newest version

Hi

I just perfomed an upgrade as usual.
Now I just get a blank page when going to one of the pages.
When using Chrome I get this on /lhc_web/index.php/site_admin

settings_applications
chat Open my active chats
done Keep my active chats
done Hide nicknames for offline chats
Menumenu
info_outline
place
face
chat{{pending_chats.list.length != false && pending_chats.list.length > 0 ? ' ('+pending_chats.list.length+')' : ''}}
place
chat{{active_chats.list.length != false && active_chats.list.length > 0 ? ' ('+active_chats.list.length+')' : ''}}
chat{{unread_chats.list.length != false && unread_chats.list.length > 0 ? ' ('+unread_chats.list.length+')' : ''}}
chat{{closed_chats.list.length != false && closed_chats.list.length > 0 ? ' ('+closed_chats.list.length+')' : ''}}
account_box ({{online_op.op_cc}}) {{online_op.list.length != false && online_op.list.length > 0 ? online_op.list.length : ''}}

Do you have an idea what I might have done wrong?

Offline

#2 2018-02-08 16:56:47

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Problem after upgrade from 2.5 to newest version

Hi, i am sorry for the issues with your installation of live helper chat.
Please see the FAQ / Guide
» 20 - blank page


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#3 2018-02-08 18:05:45

jensskov
Member
Registered: 2015-08-14
Posts: 24

Re: Problem after upgrade from 2.5 to newest version

Amazing, thanks.
I now get:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'lh_rolefunction.limitation' in 'field list'' in /var/www/lhc_web/lib/core/lhpermission/lhrole.php:99 Stack trace: #0 /var/www/lhc_web/lib/core/lhpermission/lhrole.php(99): PDOStatement->execute() #1 /var/www/lhc_web/lib/core/lhuser/lhuser.php(465): erLhcoreClassRole::accessArrayByUserID(NULL) #2 /var/www/lhc_web/lib/core/lhuser/lhuser.php(449): erLhcoreClassUser->generateAccessArray() #3 /var/www/lhc_web/lib/core/lhuser/lhuser.php(384): erLhcoreClassUser->accessArray() #4 /var/www/lhc_web/lib/core/lhcore/lhmodule.php(42): erLhcoreClassUser->hasAccessTo('lhfront', Array) #5 /var/www/lhc_web/lib/core/lhcore/lhmodule.php(485): erLhcoreClassModule::runModule() #6 /var/www/lhc_web/index.php(27): erLhcoreClassModule::moduleInit() #7 {main} thrown in /var/www/lhc_web/lib/core/lhpermission/lhrole.php on line 99

To me it looks like something missing in the database. Can I upgrade the database without access the website?

Offline

#4 2018-02-08 20:04:21

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Problem after upgrade from 2.5 to newest version

Hi jensskov,
sorry I don't know. Can be an issue in the database, i am not a programmer.

Do you have a backup of the previous LHC?
You should always made a backup of folder and database before upgrade.

From what version to what version are you upgrading?
What steps did you follow? I updated without any issue.

Let me know if you are able to solve this, I can ask a suggestion from the chat owner but the reply will not arrive soon.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#5 2018-02-08 20:09:33

jensskov
Member
Registered: 2015-08-14
Posts: 24

Re: Problem after upgrade from 2.5 to newest version

Hi

The database is not upgraded as I have not been able to do that, so I guess I can just copy the old files back.
The old version was 2.5
I have followed the procedure her:
https://livehelperchat.com/article/view/63
and downloaded the lastest version.
I have done this a number of times before.

Offline

#6 2018-02-08 20:17:14

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Problem after upgrade from 2.5 to newest version

Before upgrade please remember to do always a full backup of folder and database, this will ensure you to be able to restore if something went wrong.
This procedure are not only suggested for LHC but for all web apps before be upgraded.

If you are safe you can try to put file back.
You can try to upgrade database before upload new files and after done check again in the update page for see if there are other database upgrade to do.

Hope you will be able to fix soon.  smile

Sorry for the troubles created.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

Board footer