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

 
JohntheFish replied on at Permalink Reply
JohntheFish
Are you using the php login page, or one of the popup logion add-ons?

If the later, try the former.
nico741019 replied on at Permalink Reply
Hello,

I try through index.php/login.
Is there another way to do it?
Thanks.

nicolas
adajad replied on at Permalink Reply
adajad
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...
nico741019 replied on at Permalink Reply
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
nico741019 replied on at Permalink Reply
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
nico741019 replied on at Permalink Reply
Here is a video that i made about my login problem.
Any suggestion is welcome :-).

http://youtu.be/69D3i_mS4AE

nicolas
adajad replied on at Permalink Best Answer Reply
adajad
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:
<?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
nico741019 replied on at Permalink Reply
THANK YOU, this was the solution!

Many thanks for your help...

nicolas