ikedubaku Posted March 1, 2011 Share Posted March 1, 2011 HelloIf I install your shop and delete the install folder + renaming the admin folder I’m sure I have to define the renamed folder name somewhere, just I don’t know in which file.But here is the error message right after the FTP folder renaming procedure and trying to login:Warning: require_once(/home/****/public_html/****/s/admin/init.php) [function.require-once]: failed to open stream: No such file or directory in /home/****/public_html/****/s/admin/header.inc.php on line 20Fatal error: require_once() [function.require]: Failed opening required ‘/home/****/public_html/****/s/admin/init.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /home/****/public_html/****/s/admin/header.inc.php on line 20I can't access the administration page because the script don't find the folder. I need to define the new folder name somewhere in a file.Am I right? Where?Thank You Link to comment Share on other sites More sharing options...
jhnstcks Posted March 1, 2011 Share Posted March 1, 2011 Unlike zencart/osc you dont need to edit any files to rename the admin folder. You just change the url for your admin to whatever your new folder is called. Link to comment Share on other sites More sharing options...
ikedubaku Posted March 1, 2011 Author Share Posted March 1, 2011 Ok I believe you, but than why is the situation (Can't login) and the error message? How to solve that and also why it's written: No such file or directory in /home/****/public_html/****/s/admin/header.inc.php?So the script trying to find files in admin folder but that isn't there, coz I renamed it.Thanks Link to comment Share on other sites More sharing options...
ukmacnut Posted March 2, 2011 Share Posted March 2, 2011 Try using your ftp program to look through your foldersyou had:/home/****/public_html/****/s/admin/now you have:/home/****/public_html/****/s/adminnewname/so place:www.yourdomain.com/s/adminnewname/ into your browser's URLHope this helps Link to comment Share on other sites More sharing options...
ikedubaku Posted March 2, 2011 Author Share Posted March 2, 2011 I really apreciate for everyone who is helping me, but until now nobody understood my problem.Now I try to explain better:1. Install went OK (This means, folder permissions and database are all OK)2. Deleted the install folder3. Renamed the admin folder (for example: "badmin")4. I have opened from browser the new address and no problem with the login page (what is:http://mydoma.in/s/badmin/login.php)5. Filled up the fields with correct datas, but after if I send the login form only blank page what I got.6. I didn't know what is the problem so I turned on the php error reporting, than I got the above error lines, where we can see, the script trying to find that file (header.inc.php) in the old admin folder, what is now not there, it's in "badmin".So until the script think it has to find files in "admin", nothing can access.That's why I wrote somewhere in the files need to define the new admin folder name.Until 1.5 days I would like to step in the admin area, to configure the shop, but here I stocked. Thanks Link to comment Share on other sites More sharing options...
ikedubaku Posted March 3, 2011 Author Share Posted March 3, 2011 Ok, who will have the same problem:If you see the error message, go to the FTP client and upload the admin folder also.So you have the renamed admin + the original.Refresh the page where was those errors and voila, login will be ok.Start setup the things and (I don't know which or when) after few settings you can delete the folder:admin and leave just the renamed one. Link to comment Share on other sites More sharing options...
LineTV Posted June 19, 2014 Share Posted June 19, 2014 How can I rename the admin folder after installation has been completed in PS 1.6? Any help will be great. Link to comment Share on other sites More sharing options...
tuk66 Posted July 1, 2014 Share Posted July 1, 2014 Use a FTP client - Total Commander, FireFTP etc. Link to comment Share on other sites More sharing options...
palesths Posted December 10, 2015 Share Posted December 10, 2015 I didn't wanna mess with the generic admin folder name. So what i did was to add a new A record to my DNS, say admin.yourdomain.com and then add a directive to your apache config to redirect http://admin.yourdomain.com to http://www.yourdomain.com/youradminfolder something like: RewriteCond %{HTTP_HOST} =admin.yourdomain.comRewriteRule ^(.*) http://www.yourdomain.com/youadminfolder [R] I do realise that it is an old post but it was the first hit on google when i searched "prestashop rename admin folder" so i guess someone else could also be helped by having this option. Link to comment Share on other sites More sharing options...
iServe USA Posted May 6, 2016 Share Posted May 6, 2016 I'm having a similar issue. After Installation, everything ran smooth for some time. Then, suddenly my control panel area stopped working. My hosting company says I exceeded my concurrent connections, but I'm the only one modifying the website. Then, I renamed my adminxxxxxx folder to admin and it started working. So, I renamed the folder to a different name using FTP, and my control panel login (back office) stopped working again. Not sure how to solve this. Link to comment Share on other sites More sharing options...
tuk66 Posted May 9, 2016 Share Posted May 9, 2016 You should migrate to another hosting company (plan). It won't work for more visitors. Too many concurrent connections is a very serious issue. Link to comment Share on other sites More sharing options...
iServe USA Posted May 27, 2016 Share Posted May 27, 2016 I'm having a similar issue. After Installation, everything ran smooth for some time. Then, suddenly my control panel area stopped working. My hosting company says I exceeded my concurrent connections, but I'm the only one modifying the website. Then, I renamed my adminxxxxxx folder to admin and it started working. So, I renamed the folder to a different name using FTP, and my control panel login (back office) stopped working again. Not sure how to solve this. So the solution to my problem above was deleting the .htaccess file and regenerating it with the prestashop control panel. After I deleted the file it worked for a little bit and then it did it again. So I knew it was related to this file and did some reading online until I found how to regenerate within the control panel. I hope this helps. Not an expert by the way! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now