Page 1 of 1

OS Image Gallery problem in my page

Posted: Fri Mar 15, 2019 1:49 pm
by eaduniversity
Hello,
When I go to the edpuroa.net address I get an error - Fatal error: Call to undefined method JSite :: getBody () in /home/edpuroa/public_html/plugins/system/osgallery_system/osgallery_system.php on line 31.

I also get an error when I go to the edpuroa.net/administrator page - Fatal error: Call to undefined method JAdministrator :: getBody () in /home/edpuroa/public_html/plugins/system/osgallery_system/osgallery_system.php on line 62 .

Re: Problem in my page

Posted: Fri Mar 15, 2019 2:35 pm
by toivo
Which version of OS Responsive Image Gallery are you using?

The free version was updated in December and it works at least in Joomla 3.9.4 and PHP 7.3.2.

Re: Problem in my page

Posted: Fri Mar 15, 2019 2:41 pm
by eaduniversity
I was using this version: OS Gallery 4/5/2018 12.05 Joomla 2.5

The problem is that I can not access any of the two pages. how could he fix this problem

Re: OS Image Gallery problem in my page

Posted: Fri Mar 15, 2019 2:46 pm
by toivo
You can disable the system plugin. Edit the extensions table in the database using phpMyAdmin from the cPanel of your host, locate the row where the column 'element' has the value 'osgallery_system' and change the column 'enabled' from 1 to 0.

Re: OS Image Gallery problem in my page

Posted: Fri Mar 15, 2019 3:16 pm
by eaduniversity
I get to the phpMyAdmin and look for sgj_osgallery. Where I see to change it to "enabled". It's my first time in this part it's phpmyadmin

Re: OS Image Gallery problem in my page

Posted: Fri Mar 15, 2019 3:30 pm
by eaduniversity
I get it done but I still get the same error.

Fatal error: Call to undefined method JAdministrator::getBody() in /home/edpuroa/public_html/plugins/system/osgallery_system/osgallery_system.php on line 62

Fatal error: Call to undefined method JSite::getBody() in /home/edpuroa/public_html/plugins/system/osgallery_system/osgallery_system.php on line 31

Re: OS Image Gallery problem in my page

Posted: Fri Mar 15, 2019 3:42 pm
by toivo
The screenshot has the list of database tables and the tables highlighted in the screenshot were created by the OS Image Gallery. The table you need to find is sqj_extensions.

Scroll up the page or go to the previous page and list the rows from the table sgj_extensions until you find the row where the column 'element' has the value 'osgallery_system'.

Re: OS Image Gallery problem in my page

Posted: Fri Mar 15, 2019 3:55 pm
by eaduniversity
Thank you very much, I was able to fix the problem and I was able to access it.

Re: OS Image Gallery problem in my page

Posted: Fri Mar 15, 2019 4:10 pm
by toivo
Glad to hear that. It is good to learn new skills, isn't it?