404 - Component not found on XAMPP (Windows 7) | Joomla Support | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_TopicIcon
404 - Component not found on XAMPP (Windows 7)
January 21, 2013
7:23 am
Avatar
kavery327
Member
Members
Forum Posts: 5
Member Since:
September 30, 2010
sp_UserOfflineSmall Offline

When I install an xcloner backup to my XAMPP localhost I can't login in to the Administrator portion of Joomla 2.58. This site works fine from localhost. When I try to login to Administrator it goes back to the path localhost/index.php rather than localhost/administrator/index.php and gives the error 404 - Component not found. I have looked at the configuration file and I don't see a path problem and I have searched the forum for clues, but none of the things I find seem to make a difference.

My live site is working fine although it has always had this quirk that you need to click the login button twice to login into the administration side and it will show me as logged in twice. I have poked around the Joomla site for answers, but nobody else seems to have that issue.

I am using XAMPP 3.1.03.1.0 on Windows 7, the hosted site is on Godaddy (whollyscriptture.com)

Can anyone give me some suggestions to get the localhost working?

 

Thanks,

Ken

January 21, 2013
8:59 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Hi Ken, do you have any security plugins installed that might affect the administrator login area? if so, try and uninstall/remove them and see if it helps!

January 21, 2013
9:30 pm
Avatar
kavery327
Member
Members
Forum Posts: 5
Member Since:
September 30, 2010
sp_UserOfflineSmall Offline

No, I don't have any security plugins, just what is standard on Joomla.

January 22, 2013
12:19 am
Avatar
Alan
New Member
Members
Forum Posts: 2
Member Since:
January 21, 2013
sp_UserOfflineSmall Offline

Hi,

 

I have the same problem.

To test, I've installed Joomla 2.5.8 and Xcloner 3.2 only on the webserver.

I've downloaded a backup and restored locally, using uniformserver/Windows 7, and I have the same error message.

The front of the Joomla website is fine.

The administrator login page is fine but after putting in the username and password it comes up with the error message 

======

An error has occurred.
The requested page cannot be found.

If difficulties persist, please contact the System Administrator of this site and report the error below.

#404 Component not found

======

In the apache logs it comes up with trying to access 

testxclonerstd/templates/bluestork

I think it should be trying to access

testxclonerstd/administrator/templates/bluestork

 

Any ideas what might be going wrong?

 

Thanks

January 22, 2013
12:32 am
Avatar
kavery327
Member
Members
Forum Posts: 5
Member Since:
September 30, 2010
sp_UserOfflineSmall Offline

I just found a fix on the Joomla site, at least it seems to fix my problem.

On my live site I always had to login twice for the backend to Joomla and I couldn't login to the backend when it was cloned to localhost. I changed the following line in my configuration.php file on both my live server and localhost:

public $live_site ='mydomain.com'; to public $live_site ='';

This solved both problems. I can now login to localhost and I don't get the double login on my live site.
I am not sure I totally understand it, but it seems to work.
January 22, 2013
10:21 am
Avatar
Alan
New Member
Members
Forum Posts: 2
Member Since:
January 21, 2013
sp_UserOfflineSmall Offline

Hi kavery327,

 

Thanks for that. It has worked for me too.

I didn't get the double login for the backend though.

 

On my local machine, I changed

public $live_site ='http://localhost/tes.....';# '';

to

public $live_site ='';

 

Hope that helps other people.

January 31, 2013
9:13 pm
Avatar
Juan
New Member
Members
Forum Posts: 1
Member Since:
January 31, 2013
sp_UserOfflineSmall Offline

YES! it runs ... thanks to kavery327

April 15, 2013
9:53 am
Avatar
Kri
New Member
Members
Forum Posts: 1
Member Since:
April 15, 2013
sp_UserOfflineSmall Offline

Wow Kavery327, what a life saver you are! I can now access the backend, no more 404 error. A thousand thanks from me too.

(When I first tested the restored site on localhost I thought the Admin link worked, but it actually took me to the Admin page of the original backed-up site, so I didn't get the 404. On the restored live site, of course the page is no longer there!)

 

My thanks to everyone at XCloner too, moving sites from localhost to live servers is so much easier now.

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Emmanuel Joachim
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0