Can not log in as admin after theme change
Permalink 1 user found helpful
Hi, i just changed my theme (from dark chocolate to grey??),and since i can not log in as admin. I add admin password, click connect, and i go back to the normal page, not the admin page...
Is there a way to go back to dark chocolate theme by modifying a file?
Thanks for your help.
Nicolas
Is there a way to go back to dark chocolate theme by modifying a file?
Thanks for your help.
Nicolas
Hello,
I try through index.php/login.
Is there another way to do it?
Thanks.
nicolas
I try through index.php/login.
Is there another way to do it?
Thanks.
nicolas
Can it have something to do with a missing header.php? Just thinking out of the box here after reading (and responding to) your thread here: http://www.concrete5.org/community/forums/themes/how-to-insert-a-pi...
Hi Adajad, and many thanks for your answers.
I don't know, i just updated my theme to a new one. When i do this, i suppose that there is a new header.php assigned to this theme; am i wrong?
nicolas
I don't know, i just updated my theme to a new one. When i do this, i suppose that there is a new header.php assigned to this theme; am i wrong?
nicolas
Hello again,
the theme is "touching", and the header is this one:
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Site Header Content //-->
<style type="text/css">@import "<?php echo $this->getThemePath()?>/main.css";</style>
<style type="text/css">@import "<?php echo $this->getThemePath()?>/typography.css";</style>
<?php Loader::element('header_required'); ?>
</head>
Thanks,
nicolas
the theme is "touching", and the header is this one:
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Site Header Content //-->
<style type="text/css">@import "<?php echo $this->getThemePath()?>/main.css";</style>
<style type="text/css">@import "<?php echo $this->getThemePath()?>/typography.css";</style>
<?php Loader::element('header_required'); ?>
</head>
Thanks,
nicolas
Here is a video that i made about my login problem.
Any suggestion is welcome :-).
http://youtu.be/69D3i_mS4AE
nicolas
Any suggestion is welcome :-).
http://youtu.be/69D3i_mS4AE
nicolas
I would say you get logged in but the template is missing an essential part in the footer.php.
Make sure you have the following right before the closing /body tag:
An easy way to determine if you get logged in is to try to reach http://smitty.be/index.php/dashboard... after supplying your credentials on login.php
Make sure you have the following right before the closing /body tag:
<?php Loader::element('footer_required'); ?>
An easy way to determine if you get logged in is to try to reach http://smitty.be/index.php/dashboard... after supplying your credentials on login.php
THANK YOU, this was the solution!
Many thanks for your help...
nicolas
Many thanks for your help...
nicolas
If the later, try the former.