Tas Posted May 5, 2010 Share Posted May 5, 2010 Hi all,I realise this is quite a common problem here on the forum, and I believe I have exhausted all other avenues, hence my post.I followed in the installation guide, and the installation worked fine. I then deleted the install folder, and renamed my admin folder to admin82.I now browse to http://localhost/admin82/login.php. Things are fine until I then login, which again, seems to be okay. It accepts my credentials and all is good.It then returns a 500 error - internal server error. So I check the error log, and I find this: \MailSend.php on line 160, referer: http://localhost/prestashop/admin82/password.php[Thu May 06 00:08:29 2010] [error] [client 127.0.0.1] PHP Warning: require_once(Z:\\web\\prestashop\\admin/init.php): failed to open stream: No such file or directory in Z:\\web\\prestashop\\admin\\header.inc.php on line 21, referer: http://localhost/prestashop/admin82/login.php[Thu May 06 00:08:29 2010] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required 'Z:\\web\\prestashop\\admin/init.php' (include_path='.;/.sys/PHP/includes;/.sys/PHP/pear') in Z:\\web\\prestashop\\admin\\header.inc.php on line 21, referer: http://localhost/prestashop/admin82/login.php[Thu May 06 00:08:40 2010] [error] [client 127.0.0.1] PHP Warning: require_once(Z:\\web\\prestashop\\admin/init.php): failed to open stream: No such file or directory in Z:\\web\\prestashop\\admin\\header.inc.php on line 21[Thu May 06 00:08:40 2010] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required 'Z:\\web\\prestashop\\admin/init.php' (include_path='.;/.sys/PHP/includes;/.sys/PHP/pear') in Z:\\web\\prestashop\\admin\\header.inc.php on line 21 So it would appear to me that despite renaming the folder, it is still looking for the admin folder. Can anyone explain to me why this would be occuring, and more importantly, how do I over come it?I am running the application under Z-WAMP, latest version.Regards, Tas Link to comment Share on other sites More sharing options...
btsconsult Posted May 6, 2010 Share Posted May 6, 2010 Hello Tas,I ave the same problem :I just installed the latest version 1.3.0.7, I deleted the install folder and renamed the admin folder, When I go to de folder admin856, I receive the message HTTP 500What is the solution?Michel Link to comment Share on other sites More sharing options...
PBDemoulin Posted May 27, 2010 Share Posted May 27, 2010 Hello,I just installed the version 1.3.10 and I have the same behavior.I tried by removing the condition in the login.php file @ line 121, so it becomes:----------------------------if(file_exists(PS_ADMIN_DIR.'/../install') )----------------------------then I left the admin folder with the same name "admin"but I still get the same error ... Link to comment Share on other sites More sharing options...
PBDemoulin Posted May 27, 2010 Share Posted May 27, 2010 Hi,it's me again.based upon a post found on this forum:http://www.prestashop.com/forums/viewthread/9208/installing_prestashop/solved_cant_access_admin_page_after_move/I set the CHMOD of the admin folder to 777, and it works fine now.I hope it will be the same for you as well.Take care. Link to comment Share on other sites More sharing options...
ricky42 Posted May 28, 2010 Share Posted May 28, 2010 Installed 1.3 final and had a similar behavior that I was not able to log into the admin side. Did not get the 500 error. Had no error at all. It recognised the username and password (got an error when using wrong credentials), but went always back to the login.php page. Found that the cookie check in init.php is redirecting back to login.php.The reason is most likely that I was logged in as administrator before I upgraded from 1.3.10 to final.After I deleted the cookie for the site (or clear all cookies) in the browser (e.g. FF) I was able to log in. Link to comment Share on other sites More sharing options...
ocs Posted May 21, 2011 Share Posted May 21, 2011 That seems an APC caching problem (http://es.php.net/manual/en/book.apc.php), just restart apache or edit/touch login.php . Link to comment Share on other sites More sharing options...
sebastiankozub Posted November 1, 2011 Share Posted November 1, 2011 I can't restart because I have remote hosting. I set 777 on admin* folder and it does not help. Have you got any other clues? 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