close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Trouble with the Login Page-- Won't login

Thread began 11/03/2009 1:36 pm by avt_systems359420 | Last modified 11/05/2009 5:29 pm by Eric Mittman | 3735 views | 7 replies |

avt_systems359420

Trouble with the Login Page-- Won't login

I have looked through the threads posted here and see that others have had this same issue. I enter my username and password on the login screen but the page just refreshes. I have changed both of these in the WA_Globals file multiple times to no avail.

Here is the content of the WA_Globals.php file:
<?php
$WAGLOBAL_Root_URL = "http://www.metawd.com/cms/" ; //Absolute path to your site folder.
$WAGLOBAL_Site_Name = "MetaTask CMS" ;

$WAGLOBAL_localRoot = "/cms/"; //relative path to your PowerCMS files on your local testing server.
$WAGLOBAL_remoteRoot = "/cms/"; //relative path to your PowerCMS files on your remote server.

//iRite Images upload settings
$WAGLOBAL_Images_Folder = "images/"; //relative path to your images folder.
$WAGLOBAL_Swf_Folder = "swf/"; //relative path to your swf folder.

// Admin Settings
$WAGLOBAL_Admin_UserName = "cmsadmin" ;
$WAGLOBAL_Admin_Password = "********" ;
?>

Here is the localhost.php file:
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_localhost = "avtsystodd1970.startlogicmysql.com";
$database_localhost = "metacms";
$username_localhost = "metacmsadmin";
$password_localhost = "***********";
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);
?>

This is the URL I get:

users_login.php?accesscheck=%2Fcms%2Fadmin%2Findex.php

Please help!

Sign in to reply to this post

neilo

Not replying to your specific question, but advise hiding your database login and password on a public forum. Suggest you edit your post and remove them!

Sign in to reply to this post

Eric Mittman

If you are sure that you are entering the password correctly in the admin area and cannot get in there may be a problem with the session. To test this out I'm including two test pages for you. The first will set a session variable and prints it's value. The second page will just print the value, it won't set it. These pages should look identical when you test them except for the link. Please give this a try and let us know what the result is.

Attached Files
page1.zip
Sign in to reply to this post

avt_systems359420

testing pages

page1.php gives this:

the value of the test_var is: testing variable
array(1) { ["test_var"]=> string(16) "testing variable" }
go to next page

page2.php gives this:

the value of the test_var is:
array(0) { }
go to first page

Still can't login.

What next?

Thanks for your help!

Sign in to reply to this post

Eric Mittman

Thanks for getting back with the results. The results that you are experiencing indicate that there is a problem with session handling on your server. There is likely some issue that would need to be resolved by your hosts admin. Unless you are able to run this test successfully you will not be able to login because the login makes use of session variables, if these variables are loosing their value between pages the login will not function correctly. You should speak to your host to see if there are any other settings that you should be adjusting to allow sessions to work properly on your site. If the host or admin sees the test pages and the code on them they should have a good idea about what the problem is.

Sign in to reply to this post

avt_systems359420

Thanks for your help. I will contact my hosting company.

Sign in to reply to this post

avt_systems359420

Hosting

As it turns out, with my hosting company, I had to manually go into the php.ini file and add the session save path for PowerCMS to work. If anyone else is having the same issue (the login page refreshes when you try to login) please contact your host and ask about the session_save path in the php.ini file. It works perfectly now!

Sign in to reply to this post

Eric Mittman

That is great to hear, not all hosts allow direct access to the ini file like this but for anyone that does this should help a bit.

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

Content

rating

Layout

rating

Ease of use

rating

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...