Jump to content

Problem accessing admin section after install


Recommended Posts

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

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 500

What is the solution?

Michel

Link to comment
Share on other sites

  • 3 weeks later...

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

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

  • 11 months later...
  • 5 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...