If you go to www.your_domain.com/shop/your_admin/login.php ... what happens?
Assuming it gives you the login prompt, and you try to login, now what happens? Is that when the 404 now appears?
If you go to www.your_domain.com/shop/your_admin/login.php ... what happens?
Assuming it gives you the login prompt, and you try to login, now what happens? Is that when the 404 now appears?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Hi DrByte,
by doing what you say it takes me to the login page but I then get link broken http 404 file not found
I was doing www.mysite.com/shop/my_admin which I was always able to signin on before this change.
I have a screen grab here, it takes me to my shop home page?
![]()
Last edited by Jay76; 16 Mar 2010 at 09:58 PM.
1. It's taking you to your shop home page strictly because that's how your site has been set up to handle 404-not-found conditions.
2. The fact that going to the login.php directly works shows that you've got the files in the right folder.
3. The reason going to just /shop/my_admin/ gives you a redirect is because when you don't specify a filename, the server assumes index.php and, since the first thing index.php does is verify whether you're logged in, since you're not yet logged in, it's trying to redirect you to the login page. Hence the difference between going direct to the login.php page yourself.
4. Your redirects are clearly the problem, and the admin redirects are always built based on the info in your /admin_folder_name/includes/configure.php file.
So ... your edits to the admin configure.php file are your problem.
Please post what you have in your admin configure.php file now. Feel free to mask the actual admin foldername and replace your URL with my_domain.com. And of course your database details.
Please don't mask anything else.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Ok just let me get that info
I got your PM
Here's your problem.
Contrary to the FAQ instructions which indicate to *merely* change the literal "/admin/" to "/your_new_admin/", you decided to take it further and also change other stuff too, specifically the foldername where your whole store+admin resides.
Specifically, you changed "/shop/admin/" to "/your_new_admin/" .... and since you dropped the "/shop/" part, it's looking just for "/your_new_admin/" ... which doesn't exist because it's really located at "/shop/your_new_admin/".
So ... go back and make sure that the "/shop/" part is put back where you took it out.
https://www.zen-cart.com/tutorials/index.php?article=33
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Hi DrByte...... I am sure that was posted on this thread #11 to change to this so that is why that is the way it is.
So with that changed it should work hey?
thanks for your help
Also to mention I recall it having the /shop in the configures file before and did not work so I am touching wood on this if it works, will soon be calling it a night I think
ok it works on this basis
http://www.**********.co.uk/shop/my_admin/login.php
but takes an age to sign in, really slow!
without putting the login.php it just results on the 404 error posted earlier as per the picture.
[QUOTE]Hi DrByte...... I am sure that was posted on this thread #11 to change to this so that is why that is the way it is/QUOTE]
Obviously, the guy who wrote post 11 is an idiot, and whose advice should never be followed by anyone at any time.
Seriously, sorry to have added to your frustrations by leading you astray. You did however have /shop/ in an earlier, failed attempt.
Hope you post how you fixed it so we can all learn how.
Good Luck
Dalton
Skin that 'un pilgrim, and I'll bring ya' another.
Running 1.3.9h with a few mods here