Fatal error: in /homepages/28/d497735292/htdocs/index.php

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
xanterra
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Apr 08, 2010 8:50 pm

Fatal error: in /homepages/28/d497735292/htdocs/index.php

Post by xanterra » Fri Dec 27, 2013 12:59 am

Hello,
I was using Joomla v3.1.5 under a subdomain to test my site.
Then I decided to use the newest version 3.2.1 and install it under my root directory. I can login to my control panel as admin however when i launch my frontpage, i get following error.

Fatal error: Call to protected method JApplicationSite::route() from context '' in /homepages/28/d497735292/htdocs/index.php on line 37

I have enclosed index.php file into thsi message for further details.

System Information
PHP Version 5.4.23
Database Version 5.1
Joomla! Version Joomla! 3.2.1

Thanks in advance for your feedback.
You do not have the required permissions to view the files attached to this post.
Cheers,
XanterRa

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17438
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Fatal error: in /homepages/28/d497735292/htdocs/index.ph

Post by toivo » Fri Dec 27, 2013 7:21 am

The file you attached is not a Joomla 3.2.1 version of index.php, which may explain the error. The file is probably from an early version of Joomla 2.5.
Toivo Talikka, Global Moderator

xanterra
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Apr 08, 2010 8:50 pm

Re: Fatal error: in /homepages/28/d497735292/htdocs/index.ph

Post by xanterra » Fri Dec 27, 2013 3:53 pm

well, that is bizarre!
As i have uploaded joomla v3.2.1 into my root directory, unzip then run the installation. Here is what i see in my control panel:
Joomla! Version Joomla! 3.2.1 Stable [ Ember ] 18-December-2013 14:30 GMT

So how i can fix this , should i delete all files&folders and re-run the installation again? and originally there was no any other file under root directory so not sure where this old version coming from!
Cheers,
XanterRa

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17438
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Fatal error: in /homepages/28/d497735292/htdocs/index.ph

Post by toivo » Fri Dec 27, 2013 4:23 pm

You may have uploaded the index.php file from a wrong folder, but that is unlikely because the error message seems to originate from line 37 of the file you attached. The version information in the back end can still be work and show 3.2.1 because the administrator functions are loaded from a different index.php file.

It is best to check the version information from the first few lines of the file and also the file size.

The file you attached has Copyright (C) 2005 - 2011 at the top and its size is 56 lines, 1449 bytes.

The 3.2.1 version of index.php file has Copyright (C) 2005 - 2013 and its size is 41 lines, 1011 bytes.

Copy the correct index.php file from the installation zip archive to the main folder and see if that fixes the problem. Otherwise it is best to re-install from scratch.
Toivo Talikka, Global Moderator

xanterra
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Apr 08, 2010 8:50 pm

Re: Fatal error: in /homepages/28/d497735292/htdocs/index.ph

Post by xanterra » Sun Dec 29, 2013 9:25 pm

Thank you so much for your input and all the best in new year to you and to joomla family :)
Cheers,
XanterRa


Locked

Return to “Installation Joomla! 3.x”