Login to Admin Panel Fails

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
dcarnine

Login to Admin Panel Fails

Post by dcarnine »

Hi All,
Mr. Newbie here.
Installed cmsms and all worked well for a few days. Now when I log in I can't get past the login screen. My userid and password are accepted and then the fields are cleared but nothing more happens. I type in everything again and same thing happens.

Cookie is being set, cmsms is not in root of website, ran debug and had Error (0): at the end of several lines (don't know what that means.)
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Login to Admin Panel Fails

Post by tsw »

can you post your server phpinfo()

iirc there is a fix in svn version but not positive :)
dcarnine

Re: Login to Admin Panel Fails

Post by dcarnine »

Not sure what you are asking for.

The version of PHP is 4.3.11
cyberman

Re: Login to Admin Panel Fails

Post by cyberman »

dcarnine wrote: had Error (0): at the end of several lines (don't know what that means.)
Error (0) = no errors  ;)
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Login to Admin Panel Fails

Post by tsw »

you can create info.php with following content

Code: Select all

<?php
phpinfo();
?>
or you can download latest beta (0.13beta4) which has check for md5() function in installer
dcarnine

Re: Login to Admin Panel Fails

Post by dcarnine »

OK here is the server phpinfo()

PHP Version 4.3.11

System Linux cp1.hostserve.net 2.4.30-grsec #2 SMP Fri Apr 8 15:12:40 EDT 2005 i686
Build Date Apr 11 2005 19:03:32
Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-exif' '--with-swf=/usr/local/flash' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--with-iconv' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--with-mhash' '--with-ming=../ming-0.2a' '--enable-magic-quotes' '--with-mysql' '--with-openssl' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-versioning' '--enable-wddx' '--with-zip' '--with-zlib'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.zlib

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.9, Copyright (c) 2003-2006, by Zend Technologies with Zend Optimizer v2.6.2, Copyright (c) 1998-2006, by Zend Technologies
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Login to Admin Panel Fails

Post by tsw »

hmm, php has mhash installed which is ok.

can you try installing 0.13beta4 in another directory?
dcarnine

Re: Login to Admin Panel Fails

Post by dcarnine »

No Luck.

I installed the 0.13beta4 in another directory and it worked a few times as did the original install, but now the same problem is back. When I click "submit" on the login page, the userid and password go blank and nothing else happens. If I enter a wrong ID or PW, I get the red failure notice.

System:
Win 2000 sp4
Firefox 1.5.0.3
ZoneAlarm Internet Suite
Netgear NAT router
ADSL Modem
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Login to Admin Panel Fails

Post by tsw »

it works well for a while  ???

Look through server logs (when its working and when its not) and try to find some error messages...

sounds very much like a server problem
wannacms

Re: Login to Admin Panel Fails

Post by wannacms »

HI- I'm a newbie - hope I'm not breaking any rules by throwing in my two cents here.  I couldn't seem to login to the admin section of my site,either.  I've been reading about problems with login to admin and wonder if it may have something to do with the combination of moving a site and the use of Firefox? 

I created a website in cmsmadesimple (which I totally love, by the way, thanks SO much for creating this!)  Anyway, I had no trouble until I moved it (on the same server.)  It seems impossible, but I can't login to admin from the moved, renamed site (have changed all the config.php page info) through Firefox.  I CAN get into it via IE.  I thought this was pretty weird so I copied the site and gave it the orginal folder name (from before I moved it.) I changed all the config.php info back to the original info for this site, (but made the 'uploads_url' point to the new site. ) l CAN log in to the original site from here through Firefox, make changes and they show up in the new,copied site.    In other word the login page doesn't work with the new site name in Firefox, but it does in IE.

So... my site looks crummy in IE but the admin section works.  It looks like it is supposed to in Firefox, but I can't login! 
I'm not sure what info you would need from me for this to be helpful/useful.

Here is a link to my "new" site:    http://www.waitiam.com
Here is a link to my "original" folder: http://www.amtuneshop.com/amt

I'm too new to all this stuff to figure out if this is significant or not.  It seems strange that I would have to have a copy of my site under the original name just to be able to login via Firefox...But I can't get in any other way (unless I use IE...ugh!)

   
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Login to Admin Panel Fails

Post by tsw »

could you paste both your config.php files (without db passwords ofcourse)

and perhaps try clearing your cookies.

have your tried login from another computer ?
cyberman

Re: Login to Admin Panel Fails

Post by cyberman »

tsw wrote: and perhaps try clearing your cookies.
and CMSms cache.
wannacms

Re: Login to Admin Panel Fails

Post by wannacms »

Thanks so much for trying to help me with this.  I have cleared the cache in cmsmadesimple (via the "original" site login) and have cleared the cache and cookies in Firefox. 

Could this be my mistake?  The database name/password are the same in each instance.  (Didn't think it would matter since it is the same site on the same server.)

OR

The "original" site config.php calls the "uploads_url" from the "new" site?  (I didn't do this at first, but after I copied the site and couldn't get into the admin area, I made a copy of the "copied" folder, renamed it the original folder name and left this part of the config.php the same.)

PS- I substituted "client" for my login name. 

**************************************************

Here is how I've tried to get into the "original" site via Firefox:

config.php  for amtuneshop/amt (this is the original file name - CAN login via Firefox)






config.php  for waitiam.com  (CAN'T login via firefox - am using the same database - is that the issue? )



Have also tried this: (CAN'T login via Firefox - again with same database)






Hope this isn't' too confusing.  Thanks in advance for any help you can give me.
johnqpublic

Re: Login to Admin Panel Fails

Post by johnqpublic »

I've been working on a web site for several weeks, but just today I could not log in to the administrative area.  Will someone please decipher the following degug info for me?  I'm using .13 Final CMSMS.  Thank you.


Debug:

loading smarty

Debug:

loading adodb

Debug:

loading page functions

Debug:

loading content functions

Debug:

loading pageinfo functions

Debug:

done loading files

Debug:

(mysql): SELECT * FROM cms_userplugins - Error (0):

Debug:

(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs - Error (0):

Debug:

(mysql): SELECT * FROM cms_modules ORDER BY module_name - Error (0):

Debug:

(mysql): SELECT user_id FROM cms_users WHERE username = 'admin' AND password = '61dfecbf39c55e9f294935ec631dc4d9' AND active = 1 AND admin_access = 1 - Error (0):

Debug:

(mysql): SELECT username, password, active, first_name, last_name, admin_access, email FROM cms_users WHERE user_id = '1' - Error (0):

Debug:

Got user by username

Debug:

user Object
(
    [id] => 1
    [username] => admin
    [password] => 61dfecbf39c55e9f294935ec631dc4d9
    [firstname] => Admin
    [lastname] => User
    [email] => mmm@bellsouth.net
    [active] => 1
    [adminaccess] => 1
)

Debug:

Starting login procedure.  Setting userid so that other pages will pick it up and set a cookie.

Debug:

(mysql): SELECT preference, value FROM cms_userprefs WHERE user_id = '1' - Error (0):

Debug:

(mysql): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action) VALUES (1154032783,0,'',-1,'','User Login') - Error (0):

Debug:

(mysql): SELECT version from cms_version - Error (0):


Warning: Unknown(): write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Login to Admin Panel Fails

Post by tsw »

"No space left on device"

hard drive is full?
Locked

Return to “CMSMS Core”