Page 1 of 1

Need Help...Can't Find Admin Panel

Posted: Thu 30. Sep 2004, 17:59
by dacyberguy
Hello,

I just installed PHPWCMS, and the installation seemed to run smoothly. I got all green boxes before creating the config file, and uploaded/replaced the config file as indicated.

The index page is blank, as I have found out it by reading the boards that it should be until a template/layout is created for it.

So...here is the problem. I can get to the login screen at login.php if I go directly to the login.php url. It accepts my login (and is working correctly for incorrect logins). However, all it seems to do is reload the same page, with my username now listed as an online user in the left panel.

I cannot find the admin section to work with the layouts. Once I login, should I be able to see an admin page? Am I missing something? How do I find the admin section. Am I doing something wrong, or looking in the wrong place. I see screenshots of this section on the documentation pages of the PHPWCMS site, so I know I must be missing it.

This is my first installation of PHPWCMS, so bear with me. Please help...

Thanks to everyone in advance for your insights and assistance.

Mark

Posted: Thu 30. Sep 2004, 19:18
by isac

Posted: Fri 1. Oct 2004, 00:10
by dacyberguy
Thanks Isac,

Unfortunately, I can't seem to get into the admin section. I followed the directions on the page you suggested, and seem to encounter the same issue.

According to my info.php, the following PHP variables are set:

DOCUMENT_ROOT = /
_SERVER["DOCUMENT_ROOT"] = /
_ENV["REAL_ROOT"] = /
_ENV["DOCUMENT_ROOT"] = /

and in my conf.inc file, the following parameters are defined:

$phpwcms["root"] = "/";
$_SERVER['DOCUMENT_ROOT'] = "/";

I do notice that when I use these parameters, once I hit the login button, the url in my browser updates to
http://www.salarysaver.com///login.php

However, if I leave the config settings at "" (rather than "/"), I still don't get the admin screen, it just seems to reload the login.php page. Any idea what can be happening?

Any insights anyone can provide would be helpful.

Thanks.

Posted: Fri 1. Oct 2004, 02:02
by Hunter58
I don't know if you are able to change the php variables
All are emty on my setup (they report no value) and in the config the root is also an empty string.

And yes...phpwcms is alive and fully functional :D

Posted: Fri 1. Oct 2004, 19:52
by dacyberguy
Unfortunately, I still cant get the admin page to load. I can't change the php variables.

I have tried every combination imaginable to try to see the admin page. I even tried reinstalling the whole thing. Still no luck.

Posted: Fri 1. Oct 2004, 20:17
by isac
did you uncomment this line?

//$_SERVER['DOCUMENT_ROOT'] = '';

Posted: Fri 1. Oct 2004, 20:24
by isac
did you set permissions (CHMOD) correctely because your images are broken

try to chmod all files like explained in this article


http://www.phpwcms.de/index.php?id=10,0,0,1,0,0

Posted: Fri 1. Oct 2004, 21:20
by Hunter58
Did you installed the graphic text mod??
I made a small mistake in one of the sourcefiles and lost my login page too. :?

Further more,

you could try to deinstall all, including the databasefiles and install a previous version, let say the june distribution. If this will function your php setup is alright. In this case you could consider to download the latest distribution again and install this fresh copy.

By the way don't rename _.htaccess until everthing is working.

In the config file only the $phpwcms[site] should have a trailing slash all others should be empty strings or just the path without ending slash!
so $phpwcms[root] should be [""]

Posted: Tue 5. Oct 2004, 02:57
by PeazRitr
try to chmod all files like explained in this article
http://www.phpwcms.de/index.php?id=10,0,0,1,0,0
This sentence is confusing:
All other files listed above can set to 644, directories to 755.

i think it means:
All other files can be set to 644, directories to 755.

right?

Posted: Wed 6. Oct 2004, 00:17
by argos
PeazRitr wrote: i think it means:
All other files can be set to 644, directories to 755.

right?
Right! :-)