Can't access Website
Permalink
Hi, I've been struggling with this for the last day and a half and have gone through most of the steps I've found on here.
When I initially set it up through the quick installer through dreamhost I was able to access my website.
When I woke up yesterday, I couldn't log into my website admin, not using the username nor the email. The reset email doesn't go through nor does it show up in Logs.
I've tried changing the admin password on myphp as well, that does not work either. There's no concrete5 folder in the database that I can find.
I'm not that knowledgable about this stuff, but am capable. Any help would be greatly appreciated.
When I initially set it up through the quick installer through dreamhost I was able to access my website.
When I woke up yesterday, I couldn't log into my website admin, not using the username nor the email. The reset email doesn't go through nor does it show up in Logs.
I've tried changing the admin password on myphp as well, that does not work either. There's no concrete5 folder in the database that I can find.
I'm not that knowledgable about this stuff, but am capable. Any help would be greatly appreciated.
By file manager are you talking about myphp? Rereading it probably not.
Is there one to recommend?
Ok scratch that, my mistake, I can set up an anonymous FTP through dreamhost, although I'm have to create a new user.
Regarding concrete5 I read somewhere either here or else that I could go into the subdatabase concrete5 and find something there. I don't see anything dedicated as such.
Is there one to recommend?
Ok scratch that, my mistake, I can set up an anonymous FTP through dreamhost, although I'm have to create a new user.
Regarding concrete5 I read somewhere either here or else that I could go into the subdatabase concrete5 and find something there. I don't see anything dedicated as such.
I think you're confusing many terms: database, directory, file manager, myphp[sic].
Correct. I am not sure what "myphp" is but if you're using it to change database values, I'd guess it's probably PHPMyAdmin or a similar tool.
A file manager is a different thing entirely and will show you a list of the files and folders on your website, a bit like the file explorer in windows does.
If that fails, you probably have access to your account using FTP. If you don't know how to access that, you probably need to get in touch with your hosting support and they can put you on the right track.
Once you have access to your site either by file manager, ftp, then post another message and I will tell you what to do in a PM.
A file manager is a different thing entirely and will show you a list of the files and folders on your website, a bit like the file explorer in windows does.
If that fails, you probably have access to your account using FTP. If you don't know how to access that, you probably need to get in touch with your hosting support and they can put you on the right track.
Once you have access to your site either by file manager, ftp, then post another message and I will tell you what to do in a PM.
Ok I have access to my website's files, via dreamhost's ftp.
OK,
Upload the following files:
application/controllers/debug.php
application/config/app.php:
if the file already exists, you will need to make a backup and then carefully modify it so that it includes:
Once that is done, open your browser and go to your website /index.php/ccm/debug
and you should find your self logged in and viewing the dashboard. You can then reset your password through the dashboard.
**make sure you remove these changes afterwards, because they will allow anyone from anywhere to login as admin**
Upload the following files:
application/controllers/debug.php
<?php namespace Application\Controller; use Concrete\Core\User\User; use Controller; class Debug extends Controller { public function view () { User::getByUserID(1,true); header('Location: /index.php/dashboard/'); } }
application/config/app.php:
if the file already exists, you will need to make a backup and then carefully modify it so that it includes:
Once that is done, open your browser and go to your website /index.php/ccm/debug
and you should find your self logged in and viewing the dashboard. You can then reset your password through the dashboard.
**make sure you remove these changes afterwards, because they will allow anyone from anywhere to login as admin**
Your statement that there is no concrete5 statement in the database is a little confusing - databases don't have folders. In order to find your web site's files, you would need use either an FTP client, or whatever the file manager in your hosting control panel has. If you can find the file manager, I can give you a couple of pieces of code that will allow you to get in.