Page 1 of 3

Can't login + empty home page

Posted: Fri 4. Nov 2005, 10:31
by pdedecker
After I installed phpwcms, I tried to go to the homepage of the CMS, but it was blank. This is the code of that page generated by Firefox:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
     phpwcms | free open source content management system
     created by Oliver Georgi (oliver at phpwcms dot de) and licensed under GNU/GPL.
     phpwcms is copyright 2003-2005 of Oliver Georgi. Extensions are copyright of
     their respective owners. Visit project page http://www.phpwcms.org for details.
//-->
<html>
<head>
<title>phpwcms :: web based content management system | Home</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script src="phpwcms_template/inc_js/frontend.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="phpwcms_template/inc_css/" />

<meta name="description" content="website root level">

</head>

<body text="#000000" link="#FF9900" vlink="#FF9900" alink="#FF9900" style="margin:0px 0px 0px 0px;">
<table border="0" cellspacing="0" cellpadding="0" width="760">

<tr>
<td valign="top" width="200"></td>
<td valign="top" width="11"><img src="img/leer.gif" width="11" height="1" alt="" /></td>
<td valign="top" width="538"></td>
<td valign="top" width="10"><img src="img/leer.gif" width="10" height="1" alt="" /></td>
<td valign="top" width="1"></td>
</tr>
</table>
</body>
</html>
Then I tried to login with my admin login and password (via login.php), but the CMS always redirects me back to the login page without showing an error. Does somebody know what the problem could be?

I can only post screenshots, the site where I run phpwcms is only available in my own network.

Edit: some screenshots:
Image
Image

Posted: Sat 5. Nov 2005, 05:46
by Pappnase
hello

sorry but to use the search would help sometimes. and if you follow the forum index you will see there is an (unofficial) tutorials & documentation section. there will find this :

http://www.phpwcms.de/forum/viewtopic.php?t=2776

Posted: Sat 5. Nov 2005, 09:18
by pdedecker
I can't use that tutorial since I can't login...

Posted: Sat 5. Nov 2005, 11:19
by jscholtysik
Hi pdedecker,


use PHPMyAdmin and search for the table phpwcms_user and insert here a new password for the user you want to log in.

Then you can login with the username pdedecker and your passwort! So it is possible to call the (unofficial) tutorials and documentation section here in the forum at

http://www.phpwcms.de/forum/viewforum.p ... 2d349050ea

Try it!!


Joachim

Posted: Sat 5. Nov 2005, 11:31
by pdedecker
The password I found in that table is encrypted, can I decrypt it manually so that I can use the unencrypted password to login?

Posted: Sat 5. Nov 2005, 12:17
by frold
pdedecker wrote:The password I found in that table is encrypted, can I decrypt it manually so that I can use the unencrypted password to login?
Why dont you just reinstall it?

Posted: Sat 5. Nov 2005, 12:27
by pdedecker
I already tried that 2 days ago, but I'll try it again.

Edit: it still doesn't work...

Posted: Sat 5. Nov 2005, 12:47
by juergen
Hello !

:? I'm not shure about this issue, but there is some good sense that the encryption of passwords is made by the server himself. Never had an eye on that, but look at this:



http://www.reif.org/php/crypt.php3


That is what i'm using while_not(frontend_login); :D

Apaches understand the cryption ....

greetz

Jürgen

Posted: Sat 5. Nov 2005, 13:29
by pdedecker
Is there any way to modify the login script so that no login or password is needed to login? (I know it's a very high security risk, but I want to try it)

Edit: I found out something, when I enter the wrong password, an error is shown, but when I enter the right password, no error is shown, but my webbrowser redirects me back to the login screen.

Posted: Sat 5. Nov 2005, 13:48
by pico
Hi

there is something wrong in your Pathsettings and/or in the Permissions of the Folders/Files or some Files missing in your Installation.

Also disable your local Firewall for test.

Posted: Sun 6. Nov 2005, 08:36
by pdedecker
Could it be wrong to give a file/folder too much permissions? I don't think I'm missing some files, and I'll check my firewall now.

Edit: it's not my firewall, and every requirement is filled (http://img391.imageshack.us/my.php?imag ... 2086yp.png), strange, very strange...

Posted: Sun 6. Nov 2005, 10:30
by Kosse
My advice:
re-install pdedecker because I think you didn't tick make admin account (or follow jscholtysik advice and change manually password in mysql).

Cheers

Posted: Sun 6. Nov 2005, 10:41
by pdedecker
I already reinstalled phpwcms twice and I did make an admin account:

http://img483.imageshack.us/my.php?imag ... 1190lf.png

Edit: I found out that the password I enter is correct, the problem is that phpwcms redirects me back to the login screen, even when I'm logged in already...

Posted: Sun 6. Nov 2005, 12:41
by Oliver Georgi
seems to be a session problem.

Try to login again - often this helps.

Oliver

Posted: Sun 6. Nov 2005, 12:46
by pdedecker
I can't logout because I can't access the admin interface. Instead I'm redirected back to the login screen.

I'm going to try CTRL+F5 now and delete all cookies from http://beta (edit: both things didn't help)