qiladah Posted September 30, 2018 Share Posted September 30, 2018 I installed Prestashop 1.7 on the following folder https://qiladah.com/presta17/index.php and I cant access my admin panel; it says page not found these information were sent to me the moment I installed my prestashop URL : https://qiladah.com/presta17Admin URL : https://qiladah.com/presta17/admin123 How do I make it work ? Link to comment Share on other sites More sharing options...
jstillings1 Posted September 30, 2018 Share Posted September 30, 2018 The software renamed the admin folder after you delete the install folder that the installer tells you to. Just go into cpanel and hit file manager and look for a folder that starts with the word adminandsomerandomcrap that will be your way to backoffice so domain/folder/admin+string it makes Link to comment Share on other sites More sharing options...
qiladah Posted September 30, 2018 Author Share Posted September 30, 2018 I have an admin folder named as admin123 at the cpanle what do I do with it ? I did not get u ! Link to comment Share on other sites More sharing options...
jstillings1 Posted September 30, 2018 Share Posted September 30, 2018 (edited) so your structure looks like this? public_html/presta17/admin123 If so then the cause is the A in admin must be capital so rename the folder to Admin123. If ya used softalicious this is the case. if ya manual install you just need to name is something different then admin. Edited September 30, 2018 by jstillings1 (see edit history) Link to comment Share on other sites More sharing options...
qiladah Posted September 30, 2018 Author Share Posted September 30, 2018 so your structure looks like this? public_html/presta17/admin123 YES I tried to rename it as u said but it did not work Link to comment Share on other sites More sharing options...
qiladah Posted October 1, 2018 Author Share Posted October 1, 2018 my problem has not been solved would anyone please give me a clue to solve it Link to comment Share on other sites More sharing options...
musicmaster Posted October 6, 2018 Share Posted October 6, 2018 When I go to that backoffice page I get a blank page. When I look at the source code I see info about Opencart. It looks like you are messing things up. Link to comment Share on other sites More sharing options...
qiladah Posted October 7, 2018 Author Share Posted October 7, 2018 yes you are right. I built up my store on opencart as I am planning now to re build it again on prestashop using other folder. qiladah.com is the opencart qiladah.com/presta17 is the prestashop. now, can I have theme both until I have my prestashop store ready ? Link to comment Share on other sites More sharing options...
aixos Posted October 7, 2018 Share Posted October 7, 2018 (edited) Hi Yes, because they are different folders regards Edited October 7, 2018 by aixos (see edit history) Link to comment Share on other sites More sharing options...
qiladah Posted October 8, 2018 Author Share Posted October 8, 2018 but still the admin page not working Link to comment Share on other sites More sharing options...
jstillings1 Posted October 8, 2018 Share Posted October 8, 2018 So your root domain is showing an Opencart that is colored so badly it looks to be missing. it is really there. Your Presta17 folder is giving an error because of open cart and its friendly URL redirect system saying Opencart does not have a page called presta17. same thing with your admin page. If your on a cpanel just go park a domain name pointed at the folder presta17 and use that domain to access presta You can put up an open cart and a presta on same server just most people do it like this open cart is public_html/opencart/ presta is public_html/presta17/ Then they park a domain name to that open cart and another to the second. Since your using root as the server you will have to set it up like that. Domain => root will only allow whatever software is in root to control your URL mapper Link to comment Share on other sites More sharing options...
qiladah Posted October 9, 2018 Author Share Posted October 9, 2018 I recently created a subdomain and reinstalled prestashop using this new subdomain so my files are located as: http://qiladah.qiladah.com/presta17/index.php admin should be: http://qiladah.qiladah.com/presta17/admin1231992 but still facing the same problem Link to comment Share on other sites More sharing options...
jstillings1 Posted October 9, 2018 Share Posted October 9, 2018 This is pretty neat! Your 302 for parking the subdomain was successful. http://prntscr.com/l421m6 So your site would be http://qiladah.qiladah.com and your backoffice will be http://qiladah.qiladah.com/admin1231992 Now the thing is your http server is getting a 302 on every resource. http://prntscr.com/l424j5 The actual error message is even odder http://prntscr.com/l4251j It appears you did the subdomain incorrectly causing the 302. if your on cpanel undo what you did and try this https://documentation.cpanel.net/display/74Docs/Subdomains In the box with the house on left type public_html/presta17/ Now delete all the stuff in presta17 and install it again by going to http://qiladah.qiladah.com That will set up prestashop with the proper URL mapping. Once you park a subdomain you only use that as the address never the folder you dumped it in on the main. That should get ya set up. Link to comment Share on other sites More sharing options...
qiladah Posted October 13, 2018 Author Share Posted October 13, 2018 i do not understand what's going on. I created a new subdomain and install presta as following: A new installation of PrestaShop 1.7 1.7.4.3 has been completed. The details of the installation are shown below:Path : /home/qiladahc/public_html/test/testURL : http://test.qiladah.com/testAdmin URL : http://test.qiladah.com/test/admin123 it gives me 500 internal server error when I open the admin link Link to comment Share on other sites More sharing options...
jstillings1 Posted October 13, 2018 Share Posted October 13, 2018 That is awesome news! You might think that a 500 error is a bad thing but I assure you the subdomain/install was done the right way now. You are now caught up to everyone else who uses a cpanel server. The issue is now because of Cpanel and WHM and PHP settings. On that server the only fix is to wait for Cpanel to push a fix. It is a complicated technical answer as to why, which I will spare you. I will link you the topics on Cpanel https://forums.cpanel.net/search/22470757/?q=php+fpm&o=date https://forums.cpanel.net/threads/allow_url_fopen-does-not-change.631395/#post-2601473 Just hang out and grab a coffee as CPanel is realizing their Easy Apache 4 push and failed PHP-FPM deployment and force of allow_url_fopen was a really bad idea which broke about everything but wordpress sites. Link to comment Share on other sites More sharing options...
jstillings1 Posted October 13, 2018 Share Posted October 13, 2018 (edited) i cross posted sorry Edited October 13, 2018 by jstillings1 (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted October 14, 2018 Share Posted October 14, 2018 Always enable development mode when you have a 500 error https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/ Link to comment Share on other sites More sharing options...
qiladah Posted October 15, 2018 Author Share Posted October 15, 2018 I turned on but it did not work too. meanwhile I tried to delete the htaccess file from the admin folder and it worked! I do not know how far is this will take me but at least I can access my admin panel now. if I am not mistaken; I understand that I have deleted the server access file which was preventing my admin panel to show up Link to comment Share on other sites More sharing options...
jstillings1 Posted October 15, 2018 Share Posted October 15, 2018 (edited) Prestashop has a ton of .htaccess files in it under numerous folders. The 500 Error is solvable the 403 that will follow is not unless Cpanel pushed a fix that i am unaware of. But I admire you for sticking at it! You can catch some of the fun i had on youtube if you get board and want to see me trouble shoot that 500 and 403 all night long:) jeremiah stillings is the thing to search. or you can catch some fun on the https://github.com/PrestaShop/PrestaShop/issues/10768 lots of fun videos there! Edited October 15, 2018 by jstillings1 (see edit history) Link to comment Share on other sites More sharing options...
qiladah Posted October 15, 2018 Author Share Posted October 15, 2018 thank u for ur posting and your precious advices 1 Link to comment Share on other sites More sharing options...
jstillings1 Posted October 15, 2018 Share Posted October 15, 2018 (edited) Normally people tell me i am nuts and block me:) haha Hope cpanel gets a fix in soon. Easy Apache 4 had an update to the repository oct 10. You can see if updating cpanel will fix anything:) Edited October 15, 2018 by jstillings1 (see edit history) Link to comment Share on other sites More sharing options...
AliRoberto Posted February 12, 2019 Share Posted February 12, 2019 rename admin folder @admin or -admin special chars. Link to comment Share on other sites More sharing options...
Vidar Bjerkeland Posted August 11, 2019 Share Posted August 11, 2019 Hi, I have successfully installed version 1.7.2.5 on my backup server using the guidance given in this link: https://hostadvice.com/how-to/how-to-install-prestashop-on-ubuntu-18-04-server/. My ubuntu is 18-04 server LTS and I followed the guide exactly as given without getting any errors. I deleted the folder install and renamed the folder admin to Admin123. I can access the shop, using the servers static IP that is 82.135.199.207. However, when trying to access the back-office in order to continue the setup of the shop, I am getting an error "HTTP ERROR 500". Any advises how to overcome this problem would be very much appreciated. Thank you! Link to comment Share on other sites More sharing options...
jstillings1 Posted August 11, 2019 Share Posted August 11, 2019 I bet if you check the admin folder is not named Admin123. It appends a huge string of characters sometime during the install after you delete the install folder. If it was just admin when you renamed it, then Prestashop probably renamed it after you did. Link to comment Share on other sites More sharing options...
MaXi32 Posted August 15, 2019 Share Posted August 15, 2019 (edited) @Vidar Bjerkeland If you got an HTTP error 500, I would suggest that you enable the debugging mode to find the actual error message. There are 2 ways to enable debugging mode: The first method to enable debugging mode (if you are able to access the back office / admin page) 1) Log into the back office - > Go to Advanced Parameter -> Debug mode 2) Then enable the debug mode -> Yes 3) Save it The second method to enable debugging mode (if you are not able to access the back office / admin page) 1) Go to your root prestashop installation directory and edit this PS config file : /public_html/config/defines.inc.php 2) Using editor with a line number, at the line 29 you will see the following code: /* Debug only */ if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', false); } change the false to true like below: /* Debug only */ if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', true); } 3) Save it. After enabling the DEBUG Then, go back to the page that trigger the blank page or internal error 500. There must be some error messages that will appear and from there you can share the error message for us to help. Another important thing is, if your shop is not ready for live production, then do not enable the cache option at the back end because when u try to make some changes, it might break something like having blank page, cache files that conflicts with another module, etc. I think by default it is enabled. it is not recommend to enable cache setting if the shop is in development status or not ready for live production. Sometimes blank page problem can be problem with the server configuration like file permissions but the common problem in prestashop is due to the the PS cache that needs to be cleared or disabled. Let's say that you are not able to disable the cache option at the backoffice because of the blank page, then you have to manually disable it through mysql database. To disable the cache manually: 1) Go to your SQL database management like phpmyadmin, find the table that says something like PS_CONFIGURATION or *_CONFIGURATION 2) Find a field called PS_SMARTY_CACHE and put the value as 0 and PS_SMARTY_CLEAR_CACHE put the value as everytime 3) Save it and try reload the blank page. Edited August 15, 2019 by arafatx Make changes to the setting path. (see edit history) 1 Link to comment Share on other sites More sharing options...
CristianR Posted October 23, 2019 Share Posted October 23, 2019 On 10/1/2018 at 12:28 AM, qiladah said: I installed Prestashop 1.7 on the following folder https://qiladah.com/presta17/index.php and I cant access my admin panel; it says page not found these information were sent to me the moment I installed my prestashop URL : https://qiladah.com/presta17Admin URL : https://qiladah.com/presta17/admin123 How do I make it work ? I had the same issue with prestashop 1.6 version, and solved with downgrading php version to 5.6. You could try that Link to comment Share on other sites More sharing options...
jstillings1 Posted October 23, 2019 Share Posted October 23, 2019 11 hours ago, CristianR said: I had the same issue with prestashop 1.6 version, and solved with downgrading php version to 5.6. You could try that Probably has more to do with the hosting enviroment for PHP then the version. Have you ran the phpchecker? have a look at it here https://github.com/jstillings1/psphpchecker Link to comment Share on other sites More sharing options...
CristianR Posted October 24, 2019 Share Posted October 24, 2019 18 hours ago, jstillings1 said: Probably has more to do with the hosting enviroment for PHP then the version. Have you ran the phpchecker? have a look at it here https://github.com/jstillings1/psphpchecker But when i installed the prestashop, it sayed everything ok And I checked with your psphpchecker, there was no problem Link to comment Share on other sites More sharing options...
marcopolo11 Posted January 9, 2021 Share Posted January 9, 2021 On 8/15/2019 at 9:18 PM, arafatx said: @Vidar Bjerkeland If you got an HTTP error 500, I would suggest that you enable the debugging mode to find the actual error message. There are 2 ways to enable debugging mode: The first method to enable debugging mode (if you are able to access the back office / admin page) 1) Log into the back office - > Go to Advanced Parameter -> Debug mode 2) Then enable the debug mode -> Yes 3) Save it The second method to enable debugging mode (if you are not able to access the back office / admin page) 1) Go to your root prestashop installation directory and edit this PS config file : /public_html/config/defines.inc.php 2) Using editor with a line number, at the line 29 you will see the following code: /* Debug only */ if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', false); } change the false to true like below: /* Debug only */ if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', true); } 3) Save it. After enabling the DEBUG Then, go back to the page that trigger the blank page or internal error 500. There must be some error messages that will appear and from there you can share the error message for us to help. Another important thing is, if your shop is not ready for live production, then do not enable the cache option at the back end because when u try to make some changes, it might break something like having blank page, cache files that conflicts with another module, etc. I think by default it is enabled. it is not recommend to enable cache setting if the shop is in development status or not ready for live production. Sometimes blank page problem can be problem with the server configuration like file permissions but the common problem in prestashop is due to the the PS cache that needs to be cleared or disabled. Let's say that you are not able to disable the cache option at the backoffice because of the blank page, then you have to manually disable it through mysql database. To disable the cache manually: 1) Go to your SQL database management like phpmyadmin, find the table that says something like PS_CONFIGURATION or *_CONFIGURATION 2) Find a field called PS_SMARTY_CACHE and put the value as 0 and PS_SMARTY_CLEAR_CACHE put the value as everytime 3) Save it and try reload the blank page. Thank you very much @arafatx, I too was stuck like others but followed your steps and now able to access my site's backoffice normally. One question: My site is currently in "WIP", should I ever turn the cache on when I go live or leave it off? Link to comment Share on other sites More sharing options...
nanobee Posted February 12, 2021 Share Posted February 12, 2021 Hi. I hit this issue and nothing was working. Deleting the install folder did not trigger the rename of the admin folder. I ended up relocating everything in the cache directory and tried to access the page. Nothing but the admin folder then renamed. Put the new name at the end of the URL and presto it worked. Let me note, I have NO idea if this did the trick. I tried everything I read here to no avail with multiple browser cache clearing. So maybe it is related, maybe it isnt, but worth a shot if you arent having any luck. 1 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