Page 1 of 1

Softaculous no longer loads (after update??)

Posted: Sat Aug 17, 2019 10:57 pm
by siniztr
I have 3 Vesta CP servers, one is a dev and the other two are live.

Both live servers run on UBUNTU18.04, dev website on Debian Stretch

On srv01 I have had it turned off for a while, so I was not sure if it was because of this, but Softaculous stopped working. When you click on APPS, I get a white screen with
ERROR LOADING DATA
.

After looking around and not finding any similar issues and/or solutions, I bit the bullet and reinstalled Vesta on the server today.

However, while updating the helpdesk articles for my hosting site, I realized that I have the EXACT same issue on my second (active) server. I have recently used Softaculous on this server, so I know it was working fine up to (give or take) 2 weeks ago. This server now also gives a
ERROR LOADING DATA
when I go to APPS.

The nginx-error.log contains the following lines (repeatedly):

Code: Select all

PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 70
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 81
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 90" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
Unfortunately, I have active websites and customers on this site, so reinstalling vesta is not a possibility.

What I have already tried:
  • Removing and then re-adding Softaculous, both via CLI and GUI
  • Checking Softaculous/VestaCP for updates
  • Confirmed that ionCube Loader is still loaded and running
Any idea's? The server is live, so I am in need of an answer soon.

Re: Softaculous no longer loads (after update??)

Posted: Sat Aug 17, 2019 11:00 pm
by siniztr
Ahh nvm I found the answer that worked!
In related articles below my post had a similar article. The answer to this issue can be found here:
viewtopic.php?f=10&t=18023#p75033