Can't login + empty home page

Please post all install related problems here. Visit this forum first for troubleshooting.
pdedecker

Can't login + empty home page

Post 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
Pappnase

Post 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
pdedecker

Post by pdedecker »

I can't use that tutorial since I can't login...
jscholtysik

Post 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
pdedecker

Post 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?
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post 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?
http://www.studmed.dk Portal for doctors and medical students in Denmark
pdedecker

Post by pdedecker »

I already tried that 2 days ago, but I'll try it again.

Edit: it still doesn't work...
Last edited by pdedecker on Sat 5. Nov 2005, 13:25, edited 1 time in total.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post 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
pdedecker

Post 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.
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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.
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
pdedecker

Post 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...
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post 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
pdedecker

Post 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...
User avatar
Oliver Georgi
Site Admin
Posts: 9934
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

seems to be a session problem.

Try to login again - often this helps.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
pdedecker

Post 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)
Post Reply