close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


I can't login

Thread began 7/22/2010 10:30 pm by chicagowebdesigner334937 | Last modified 7/23/2010 2:00 pm by Jason Byrnes | 2501 views | 25 replies |


I can't login

I have installed PowerCMS and the username and password is correct. it keeps bringing me back to the login page once I've entered my login correctly.

What is going on?

Sign in to reply to this post

Jason ByrnesWebAssist

the first thing to look into is the server session management.

upload the sessionTest.php page from the following thread:

if the session test fails, you will need to contact the host to have them fix the issue.

Sign in to reply to this post


OK. I did that. I hope they can help me.

Sign in to reply to this post


They gave me this test page: test.php

The test page you all gave me to upload is still saying "NULL" as a result.

Can you help me?


"John (Me): why would this page still come up NULL? sessionTest.php
Stephen Jenkins (Powweb/HOST): Yes. It is show as NULL. However, the session is working fine in your account. Hence, please try to install the CMS and check how it works."

Sign in to reply to this post

Jason ByrnesWebAssist

in the phpinfo page, I see the following which will cause an issue:

session.save_path /home/users/web/b2756/pow.biblelogos/htdocs/cgi-bin/tmp /home/users/web/b2756/pow.biblelogos/htdocs/cgi-bin/tmp

the session cookie domain should be:

Sign in to reply to this post


I see what you're saying. Its a shared hosting plan that lets you upload as many domains as you like under the same plan. was the first domain on that hosting plan. I will change it and see if it works. Will I need to reinstall the PowerCMS once I do this?

Sign in to reply to this post

Jason ByrnesWebAssist

I don't think that is it either though.

If i access the sessionTest.php page at:

it still doesn't test successfully. You will really need to push on the host to fix the issue.

the session test page works like this:

There is an if statement at the top of the page to set a session variable if the querystring variable test is equal to test


if (!session_id()) session_start();
if ((isset(
$_GET['test']) && $_GET['test'] != ""))     {
$_SESSION["test"] = "test";

The first link has the querystring variable to set the session:

<a href="<?php echo((isset($_SERVER["PHP_SELF"]))?$_SERVER["PHP_SELF"]:""?>?test=test">Click here to Set Session variables</a>

the second link just reloads the page:

<a href="<?php echo((isset($_SERVER["PHP_SELF"]))?$_SERVER["PHP_SELF"]:""?>">Click here to test session variables</a>

if sessions where set properly on your server, the session variable would not lose it's values when the page reloads.

The phpinfo page doesn't prove anything except that there are php.ini settings that _should_ enable session management.

The code on the sessionTest.php page proves that session management is not functioning properly.

The facts are:
1) When a session is started, the session ID should not change.

2) The session id is changing every time the sessionTest.php is loaded. This is not correct behavior.

2) A session variable should maintain state until the browser is closed.

3) The Session being set by the sessionTest.php page is not maintaining state correctly

Sign in to reply to this post


This is so aggravating. I am going to try them one more time. I told them to follow this post because I didn't think they fixed it because when I tested it, it still came up NULL.

Is there anything specifically, like specific wording, I need to share with them?

Sign in to reply to this post

Jason ByrnesWebAssist

they should be able to take a look at the sessionTest.php code and see that there is a problem.

the sessionTest.php page is a very basic page for setting session variables. there is nothing at all fancy going on.

It just sets the session if the querystring "test" is set, reloads the page and displays the value of the session variable and the session_id()

Neither the Session Variable or the session ID are behaving properly.

Don't even bring up powerCMS, at this point, PowerCMS is not a factor. Just concentrate on the sessionTest.php page.

It is a very basic PHP page using rudimentary session techniques, and it is not working.

the big red flag is the session id. it changes every single time the page is loaded.

A session id should stay the same for the entire browsing session. It should not change, but it is.

Sign in to reply to this post


I believe you Jason. Its just when you have deadlines and things like this happen you just catch fire. I wanted this to be a quick solution. I saved it until last and its driving me crazy. Thanks for your help. I am trying work through it.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...