Joomla 2.5.17 broken installation error jimport() not defined

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
jlcbg
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jan 23, 2019 7:07 am

Joomla 2.5.17 broken installation error jimport() not defined

Post by jlcbg » Wed Jan 23, 2019 7:17 am

I am trying to get this Joomla site admin back end up and running, the site itself works as should be but on trying to log into the administrator panel /administrator/index.php looks for a template in a folder that didn't exist when I started to look for the problem. I have created the folder and placed the standard login.php file in it.
On line 20 of the login.php file the is a jimport call jimport('joomla.filesystem.file'); which is the standard call at this point.
This is the error that is being thrown.
Fatal error: Call to undefined function jimport() in /home/mayvisio/public_html/administrator/templates/joomla_admin/login.php on line 20
login.php is being called via index.php in the administrator directory so I don't know why I am getting this error.
Can anybody shed some light on this?
Last edited by toivo on Wed Jan 23, 2019 8:11 am, edited 1 time in total.
Reason: mod note: moved, not related to 2.5 Performance

User avatar
JTema
Joomla! Guru
Joomla! Guru
Posts: 733
Joined: Sun Apr 13, 2008 8:10 pm

Re: Joomla 2.5.17 broken installation error jimport() not defined

Post by JTema » Wed Jan 23, 2019 7:59 am

Hello after a backup of your site files+db download a fresh joomla installation of 2.5.x version that your site have. Then unzip files and replace administrator folder with fresh joomla administrator folder.
http://www.joomlatema.net - Joomla Extensions and Templates
https://asgardia.joomlatema.net - Asgardia Joomla Gardening Template

annahersh
Joomla! Guru
Joomla! Guru
Posts: 734
Joined: Wed Aug 15, 2018 8:23 pm

Re: Joomla 2.5.17 broken installation error jimport() not defined

Post by annahersh » Wed Jan 23, 2019 8:08 am

It may be best to download a 2.5 package and upload the entire admin template via file manager. Get it at https://downloads.joomla.org/cms/joomla25


Locked

Return to “General Questions/New to Joomla! 2.5”