Page 1 of 1

I MESSED Up BADLY...Now I Can't Get To My Admin!

Posted: Mon May 07, 2012 9:53 pm
by MiszF3m
I'm not sure what I've done here, but now I can't get into my Admin. I backed up a previous OpenCart installation and I was trying to transfer it to another domain. When I go to the site, here's the error:
Warning: require_once(/home/(OLD OP username)/public_html/ocart/system/startup.php) [function.require-once]: failed to open stream: Permission denied in /home/(NEW OP username)/public_html/ocart/admin/index.php on line 15

Fatal error: require_once() [function.require]: Failed opening required '/home/(OLD OC username)/public_html/ocart/system/startup.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/(NEW OC username)/public_html/ocart/admin/index.php on line 15
I don't know what the HECK I've done this time! Please help me.....AGAIN :-\

Re: I MESSED Up BADLY...Now I Can't Get To My Admin!

Posted: Mon May 07, 2012 9:55 pm
by Tcalp
look at your /admin/config.php I would think that you've overwritten it with an outdated one. make sure the paths are correct. The same will be true of your ./config.php for the frontend

Re: I MESSED Up BADLY...Now I Can't Get To My Admin!

Posted: Mon May 07, 2012 10:02 pm
by MiszF3m
TCalp,

What should I replace these files with? I'm SO confused :(

Re: I MESSED Up BADLY...Now I Can't Get To My Admin!

Posted: Mon May 07, 2012 10:06 pm
by Tcalp
Don't replace them, edit them.

Re: I MESSED Up BADLY...Now I Can't Get To My Admin!

Posted: Mon May 07, 2012 10:16 pm
by MiszF3m
I'm guessing that that's where I'm running into the issue. Im finding the line that they say has the problem, but I don't know how to change it. Am I changing the old username details to the NEW ones?

Re: I MESSED Up BADLY...Now I Can't Get To My Admin!

Posted: Mon May 07, 2012 10:18 pm
by Tcalp
yes, and make sure the rest of the path is equally correct.