[SOLVED] PHP error after upgrade from 2.7.2 to 2.8

Ask your questions here.
Post Reply
andrewhotlab
Posts: 14
Joined: 09 Jun 2020, 13:29
Name: Andrew Hotlab
Location: Italy

[SOLVED] PHP error after upgrade from 2.7.2 to 2.8

Post by andrewhotlab »

It's the first major upgrade I do (I started using Ruko 2.7). I followed these instructions, and the web page stops loading after login with this error:

Code: Select all

PHP Fatal error:  Uncaught Error: Class 'global_search' not found in /usr/local/www/apache24/data/apps.mydomain.com/html/crm/template/header.php:15\nStack trace:\n#0 /usr/local/www/apache24/data/apps.mydomain.com/html/crm/template/layout.php(110): require()\n#1 /usr/local/www/apache24/data/apps.mydomain.com/html/crm/index.php(32): require('/usr/local/www/...')\n#2 {main}\n  thrown in /usr/local/www/apache24/data/appsmydomain.com/html/crm/template/header.php on line 15, referer: http://apps.mydomain.com/crm/index.php?module=users/login
I wasn't able to guess the cause yet... someone can kindly suggest what I might have done wrong?
Last edited by andrewhotlab on 24 Jan 2021, 22:03, edited 1 time in total.

User avatar
support
Site Admin
Posts: 3775
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: PHP error after upgrade from 2.7.2 to 2.8

Post by support »

global_search function available in extension. Looks like Extension files are missed.

andrewhotlab
Posts: 14
Joined: 09 Jun 2020, 13:29
Name: Andrew Hotlab
Location: Italy

Re: PHP error after upgrade from 2.7.2 to 2.8

Post by andrewhotlab »

support wrote:
24 Jan 2021, 13:59
global_search function available in extension. Looks like Extension files are missed.
Thank you very much Sergey, but rukovoditel_ext_2.8.zip has been uncompressed in the plugin directory, as for point 3/1 of these instructions. I checked and all Extension file seem to be at their place! I really cant stand what it can be... :(
If I put back the old v2.7.2 dir I have no error.

User avatar
support
Site Admin
Posts: 3775
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: PHP error after upgrade from 2.7.2 to 2.8

Post by support »

Well can be issue with files permission I think.

andrewhotlab
Posts: 14
Joined: 09 Jun 2020, 13:29
Name: Andrew Hotlab
Location: Italy

Re: PHP error after upgrade from 2.7.2 to 2.8

Post by andrewhotlab »

Wow, thank you so much: in effect the unzip set the 700 permission on ext subfolder... :S Now all is working like a charm!

Post Reply