The detailed steps for the required edits when renaming your admin folder are discussed in the FAQ article on the topic: https://www.zen-cart.com/tutorials/index.php?article=33
The detailed steps for the required edits when renaming your admin folder are discussed in the FAQ article on the topic: 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.
Ok, now I have this problem.
I have a fully functioning store ... so the install went fine ... 100% functioning store.
I went and did the new security patch and renamed the admin folder - let's call it "abc123".
In admin/includes .... I changed the admin folder name in the configure.php file in the 3 places to abc123.
Now when I try to log into admin at, www.site.com/store/abc123 I get a 404 error.
I reversed the security patch and still nothing.
So, rename admin folder and change the admin folder name in 3 spots in the admin/includes configure.php file .... what else is there to do to rename the admin folder and have access ????
Yes, I changed the permissions on the configure.php file.
Renaming back to admin fixes things.
Out of 5 zencarts I've installed in the last 5 months, only one was I able to successfully rename the admin folder. All of them are fully functioning stores with sales and everything.
It's almost as if there is a missing step that I somehow found out about in the one successfully renamed of store, but can't remember now.
1) admin/includes/configure.php
change permissions
3 spots: change name of admin folder to new name (123abc)
save and upload
change permissions back
2) rename the admin folder to new name (123abc)
3) go to log into admin
What am I missing?
Dr. Byte - just wanted to say thanks for the link - It worked well.
Turns out that the host had to correct the read/write status of the files - even though my info said everything was set right.
Now that thats done - just ckecked it now.
Now for the next item - because when they made the file read only to get rid of the red warning label at top of cart - It looks likes it triggered this to happen after I logged in.
Hello. Thank you for loading Zen Cart™.
Have a link for this too?
I think I recall in the book that there were 2 files I had to configure and then make read only if I'm not mistaken.
admin/includes/configure is the one we just fixed - is there another one I would need to correct to keep the "Hello. Thank you for loading Zen Cart™." page from coming up? I saw my store last night - it was fine - today when I log in - I see the install page.
Last edited by janissaire; 15 Jul 2009 at 08:43 PM. Reason: spelling
Don't need to worry about this - I fixed it - I deleted one of the two configure files by mistake and loaded in the back up - all is good.
When I did a fresh install of "zen-cart-v1.3.8a-full-fileset-12112007"
Trying to rename admin to say for example "meathead" I followed
"https://www.zen-cart.com/tutorials/index.php?article=33" But these fields
"define('DIR_WS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');"
didn't write to the configure.php file (btw install ran fine) so I edit the config file and add missing fields and change * admin to meathead . I can go to the store and when I type the url for meathead it goes to the log on page, put in u:\p:\ click the login button and I get a 404, The requested URL /admin/login.php was not found on this server.
What am I doing wrong?
Thankz
There are 2 files named "configure.php". One in the admin folder structure, and one in the non-admin area. They have SOME similarities, but are *intentionally* different.
Note that the tutorial/FAQ article tells you to edit the admin one. It looks like you edited the wrong one.
.
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.
Just a heads up in case your ftp program has the same issue as mine. I had this same problem and went round and round and round trying to figure out why the heck it was happening. Finally I found out that I needed to refresh my view in the ftp program THEN rename my admin folder and it worked fine after that whereas before I was renaming the admin folder and it showed up as being renamed but when I refreshed saw it was still called "admin". So I refreshed first, renamed it then it took.
Not sure what you mean by "refreshing" ... I've disconnected from the website, done to another website, and came back to the website and still see the admin file renamed ... I guess you can call that refreshing.
It's like, once I have installed Zencart with the default admin file name, setup the store, load products, etc ... and then go to rename the admin file following the proper steps, it won't accept it. The only time I've been successful in renaming the admin file was at the very beginning when I installed the cart for the first time.
Silly technology!![]()
Like behre I'm having the same problem. I change the admin folder as per the instructions but I just keep getting a page 404 error. However, when I change everything back to admin, I can gain access.
I've tried rewriting the permissions for the admin/includes/configure.php. It is really starting to do my head in. Just can't figure out what is going wrong. I've read so many threads with other people having similar problems and theirs seem to work in the end but not mine.
Help!!!!!!!!!!