Jump to content

[SOLVED] Back end login fails, stuck with error code


Recommended Posts

Hi all,

So I've tried to install prestashop several times now and not once has it worked. I've tried installing it at the root of my website and in the place I actually want it. Each time I get this error when I enable debugging (otherwise i get a white screen):

Warning: require_once(/Applications/MAMP/htdocs/store/admin/init.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/store/admin/header.inc.php on line 21

Fatal error: require_once() [function.require]: Failed opening required '/Applications/MAMP/htdocs/store/admin/init.php' (include_path='.:/Applications/MAMP/bin/php5.3/lib/php') in /Applications/MAMP/htdocs/store/admin/header.inc.php on line 21

I have done all the chmoding that I think i need to, I have removed the install dir, i have changed my admin dir from admin to num and it still won't let me login, it lets me type my details but then chucks up this error every time.

Please please please can some one help. The error appears to be caused by this line:

require_once(dirname(__FILE__).'/init.php');


in header.inc.php

I just don't understand why it is still looking for an admin folder when I've bee told to change it.

Thanks in advance for any help, it will be much appreciated

(apologies for any missed typos in this, i've been at this for a good few hours so typing is sketchy to say the least)

Cheers

Simon

Link to comment
Share on other sites

Hi rocky,

I've no idea what was wrong but I've logged on this morning and everything is fine, maybe an error had occurred on my server with all the installs and reinstalls.

Thanks very much, and apologies for posting in the wrong forum area

Cheers

Simon

Link to comment
Share on other sites

×
×
  • Create New...