PHP Fatal error: Class 'JTree' not found - php

I'm not a coder, so please let me know if I'm in the wrong place. I'm an office manager who has managed to recover our Joomla website from being hacked. However I can't get into the backend of the website and our web host is not able to help. I can log in but then a blank page appears. This is the message I got from the our web host.
20160421T120205: creativelc.com.au/administrator/index.php
PHP Fatal error: Class 'JTree' not found in /hermes/bosnaweb15a/b931/ipg.creativelearning/administrator/modules/mod_menu/menu.php on line 18
I have tried to resolve it by restoring from a fresh installation. However, it is still loading the blank page. Thus, I suggest you please contact your application vendor on this and seek their assistance further.
Thanks

I am not sure how you reinstalled Joomla, but I recommend you to do it this way:
Back-up everything needed
Install Joomla on a subdomain/different domain/localhost or similar, as testing purpose.
Upload a copy of your database and connect it to the subdomain/domain/localhost.
If this solution doesn't work, then your database is affected. If you get different error messages, that may be because of the missing plug-ins, you should install them from scratch.

Related

Getting Page loading error after successful Plugin installation in Moodle

I have installed Moodle 3.7.1 with XAMPP. The installation had been successful and problem-free. I followed the below video for installation:
https://www.youtube.com/watch?v=Ov2dGoOBmSI&t=436s
Now my main objective is moodle plugin development. Since I am relatively new to this I was exploring plugins and trying to build a simple one first.
But whenever I am trying to install plugin (my own or from Moodle directory) I receive the SUCCESS message but then get 'Page Loading Error' and thereafter I am not able to go to any page
I found this thread on Moodle forums and have tried most of the solutions they offered.
https://moodle.org/mod/forum/discuss.php?d=355930
I dont wish to work on older XAMPP version
My cache folder under Xampp's moodledata folder is empty and i tried clearing my browser cache and restarting the servers.
But the issue still persists
Any ideas what maybe causing this? I have a feeling that its some kind of configuration issue but I dont know where to look and what to look for.
Thanks for all the help. It took me alot of installation and uninstallations but finally when I downloaded the full Windows installer package--it worked.
I guess it was some kind of deeprooted version conflict between xampp and moodle or some configuration issue.

Login error on Joomla 2.5.28 installation

After installing a Joomla plugin called “Digi Template Switch” on a live server everything seemed fine until my session expired and I tried accessing the dashboard with my credentials, only this time I got a php error -
Fatal error: Call to undefined method JUserHelper::verifyPassword() in /home/mysite/public_html/plugins/authentication/joomla/joomla.php on line 56
Read up on some people who have had this issue in the past and they suggested replacing the adminstrator, libraries and include folders with that from a fresh download of same Joomla version but I have installed quite a few plugins already which would make my replacing the administrator folder a little tricky.
Would really appreciate an assistance as the Joomla installation is on a live server at the moment without access to the backend.
You can download joomla version 2.5.28 and replace that file con your server, the plugins you have installed will not be touched.

Mediawiki database error after update

I hope for some help on the problem I have trying to update my Wiki from 1.21 to 1.25. I,m don't have experience doing this but I followed the manual in Mediawiki doing this.
Create a new folder and put in the new fileset. Add the Images folder with content, moved the Localsettings.php from old to new. And renamed the folder to the right sitename. As result i get this:
a database query error has occurred. this may indicate a bug in the
software.
I'm a beginner and hope for some help, I read some things about using command-line scripts but don't know how to do that, maybe I forgot something in this actions.
I must get this update online soon because my hosting provider is going to use only PHP5.4 in 2 weeks what makes my current wiki stop working.
Thanks in advance.
Updating the database is a required step anytime you upgrade your MediaWiki version. If you cannot run SSH on the server, then you can use the web updater:
http://www.mediawiki.org/wiki/Manual:Upgrading#Web_updater
If this doesn't resolve the issue, try adding some debug code to your LocalSettings to get a real error message:
http://www.mediawiki.org/wiki/Manual:How_to_debug#SQL_errors

Magento connect manager error "Unsupported resource type" when uploading *.tgz package

We developed a magento extension and it seems to be working just fine but suddenly a couple of customers contacted us stating that they get an error when trying to install our extension by uploading *.tgz package through magento connect manager.
The error in the console says: CONNECT ERROR: Unsupported resource type
I think this might be somehow related to archiving/dearchiving process but I'm not quite sure.
Any ideas what might be causing this?
They also said that other extensions installed fine. As well as our extension installed fine to many others.
Thank you
UPDATE
After more customers complained about this I tried some more cases out. It looks like the package was somehow corrupted. I would find everything the way it should be after extracting the package manually but the magento connect manager couldn't somehow detect headers in the archive file.
I solved it by repackaging same files once again using another magento copy but why this is happening stays unclear.
have you try use direct extension downloader? such as
http://freegento.com/ddl-magento-extension.php

Component K2 is damaged, says class K2HelperHTML not found

My Joomla powered website was hacked several days ago, after it was cleaned and restored, a problem emerged.
On back-end, when I click Components -> k2 and an fatal error appears:
Fatal error: Class 'K2HelperHTML' not found in ~/administrator/components/com_k2/k2.php on line 77
I compare this k2.php file with a working site's k2.php but no differenced was found.
Then I inpsected the file where class K2HelperHTML was defined, which I believe is ~\administrator\components\com_k2\helpers\html.php, it doesn't show any differenct from a working site's corresponding file.
Now I'm stuck here, what should I do next to repair this.
Have you tried reinstalling the most recent version? That would be a good place to start. Simply use the Joomla installer to install the latest version.
I just encountered same problem with fresh installed component and solution for me was pretty easy. All I had to do, was clear application cache.
To do it go to System -> Clear Cache and then click Delete all.

Categories