Joomla website wont run on virtualmin

5 posts / 0 new
Last post
#1 Wed, 10/30/2019 - 01:15
adamjedgar

Joomla website wont run on virtualmin

Hi guys, i have no idea about programming... I have recently cloned a joomla website from siteground across to my virtualmin server. whilst joomla was set to auto update, many of the extensions were not updated in more than 2 years.

Siteground hosting was only running php5.6...so i also installed php5.6 on my system to compensate for that, however,

I have struck the following error...in browser it just shows a white screen with "error"

virtualmin>logs and reports>apache error log

[Wed Oct 30 12:24:45.975018 2019] [proxy_fcgi:error] [pid 2305:tid 140468650178304] [client 1xx.xx6.1x5.xxx:56374] AH01071: Got error 'PHP message: PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/flystanwell/public_html/plugins/system/gantry/gantry.php on line 406'

and corresponding line of code in joomla

// wether to load bootstrap jui or not
if (($this->_contains($buffer, $this->bootstrapTriggers) || count($messages)) && version_compare(JVERSION, '3.0.0') >= 0) {
JHtml::_('bootstrap.framework');

any ideas?

Fri, 11/01/2019 - 08:34
dimitrist

PHP Warning is just a warning.. something else is failing (PHP Fatal Error or something else). check access_log, error_log, php log, or try to run index.php by hand. for joomla i would check configuration.php for things missing in your server..

Fri, 11/01/2019 - 13:43
Dibs

Do you have the Joomla bootstrap framework installed?

https://docs.joomla.org/J3.x:Javascript_Frameworks

Might be of some use.

HIH

Dibs

Mon, 11/11/2019 - 07:50
adamjedgar

It turns out that Gantry version 4 cannot be directly updated to Version 5.

Also, gantry v4 will only run on php 5.6...not php 7 or higher.

So what I have is a joomla 3.9 website, running with an outdated plugin on php5.6.

A bit of a nightmare combination really.

The solution was to forget about updating Gantry joomla extension (because this essentially means a website rebuild, get php 5.6 working, ensure that all the right php modules joomla needs are installed, then I got it working. Took me many hours/days of trial and error.

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

https://ajecreative.com.au

Mon, 12/02/2019 - 19:57
philrogen

Gantry version 4 cannot be directly updated to Version 5