Site installs fine, but admin login doesnt work.

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Site installs fine, but admin login doesnt work.

Post by duplay »

I have installed a CMS site to my Windows 2003 server and the site come up just fine, howevr when i go to login with admin login and pw, hit enter, the page comes back to the admin login. Any thoughts?
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: Site installs fine, but admin login doesnt work.

Post by kermit »

is your browser accepting cookies?
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Re: Site installs fine, but admin login doesnt work.

Post by duplay »

browser is accepting cookies but do i need to turn cookies on in my php.ini? if so, any idea where? thanks
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Site installs fine, but admin login doesnt work.

Post by Dee »

duplay wrote: browser is accepting cookies but do i need to turn cookies on in my php.ini? if so, any idea where? thanks
PHP sessions must be setup correctly for cookies/logins to work. Session support is enabled in PHP by default.
Check phpinfo() it should have a section like this:
session
Session Support enabled
Registered save handlers files user
Also, when your browser accepted a cookie from the server under "Variables" _SERVER["HTTP_COOKIE"] will be set.

Look here for more info.

Regards,
D
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Re: Site installs fine, but admin login doesnt work.

Post by duplay »

This is what i don't understand, everything tells me the php sessions are correct (except I get a yellow ball when I go to install under Checking if sessions are enabled

Although the PHP support for sessions is not mandatory, it is highly recommended. Logins and other things may slow down and you may have difficulty with some addon functionality without this capability. Caution



I attached a copy of my phpinfo()

[gelöscht durch Administrator]
Pierre M.

Re: Site installs fine, but admin login doesnt work.

Post by Pierre M. »

I don't know much of PHP installing, but looking at your ini file, if I were you, I would switch ON some parameters :
.autostart On
.cookie_domain duplaysite.net
.cookie_httponly On
.cookie_lifetime 4000
.cookie_path /sessions
.use_cookies On
.use_only_cookies On

and your /sessions folders (at the root of your webserver) should be writeable.

Pierre M.
Locked

Return to “[locked] Installation, Setup and Upgrade”