Admin problem - help!
Admin problem - help!
Help! I have one working CMSMS site on my Dewahost server, but can't get another one to work.
Installation goes ok, but when I try to log on as admin, the same login screen comes again, and without any error message.
My working site is CMSMS 1.06 and I tried to install 1.2 for the new site, so at first I thought there's the problem. But I reinstalled 1.06 and the same thing happens. How can this be?
If it is the session cookie problem (my session.save_path from phpinfo is /tmp for which I don't know if I have access rights), why the first site works perfectly?
Best regards,
Igor
Installation goes ok, but when I try to log on as admin, the same login screen comes again, and without any error message.
My working site is CMSMS 1.06 and I tried to install 1.2 for the new site, so at first I thought there's the problem. But I reinstalled 1.06 and the same thing happens. How can this be?
If it is the session cookie problem (my session.save_path from phpinfo is /tmp for which I don't know if I have access rights), why the first site works perfectly?
Best regards,
Igor
Last edited by ijese on Wed Nov 07, 2007 8:37 pm, edited 1 time in total.
Re: Admin problem - help!
Hi Mark, thanks for your time!
- site that doesn't work is in my main web folder
- site that works is in subdirectory folder
- site that doesn't work is in my main web folder
- site that works is in subdirectory folder
Re: Admin problem - help!
So far I have tried (in this order):
- installing 1.2 CMSMS
- deleting 1.2 (db, files and everything) and installing CMSMS 1.06
- deleting 1.6 (except db) and copying working CMSMS installation from the same server (editing config.php)
Nothing worked. Owner and rights are the same (it's a unix server) for both sites. Malfunctioning one is in the root of public_html and working site is in a subdirectory.
Anyone has an idea what to do next?
- installing 1.2 CMSMS
- deleting 1.2 (db, files and everything) and installing CMSMS 1.06
- deleting 1.6 (except db) and copying working CMSMS installation from the same server (editing config.php)
Nothing worked. Owner and rights are the same (it's a unix server) for both sites. Malfunctioning one is in the root of public_html and working site is in a subdirectory.
Anyone has an idea what to do next?
Re: Admin problem - help!
Hello,
if it works in your context in a subdirectory, is it an option to install in another subdirectory ?
If you need debugging, please provide us more information : http logS, debug ON, setings, OS, versionS...
Pierre M.
if it works in your context in a subdirectory, is it an option to install in another subdirectory ?
If you need debugging, please provide us more information : http logS, debug ON, setings, OS, versionS...
Pierre M.
Re: Admin problem - help!
Hello,
Indeed I moved CMSMS to a subdirectory and it worked (but I can't let it that way). Then I asked their support to make it a document root and when they did, the problem reappeared
It is like some relevant settings of main domain document root are different from subdomain document root settings. I have compared what phpinfo() says on both sites. You can see it here:
1. For working site:
http://www.simpleprojecttodo.com/phpinfo.php
2. For non-working site:
http://208.100.21.154/phpinfo.php
One difference I noticed is that in HTTP Headers on non-working site "Cache-Control" is set to "no-cache".
Another is that in both "HTTP_COOKIE" in Apache Environment and "COOKIE" in Http Headers Information on non-working site have "cprelogin=no" (which on the working site is not the case).
Third is that on working site, there are two php variables that are not present at non-working site. These are:
_REQUEST["CMSSESSIDe61ac8e6"] and _COOKIE["CMSSESSIDe61ac8e6"]
It seems to be something with the cache settings. Any ideas? Or should I provide the debug information now (and how) ...
Thanks everybody!
Igor
Indeed I moved CMSMS to a subdirectory and it worked (but I can't let it that way). Then I asked their support to make it a document root and when they did, the problem reappeared

It is like some relevant settings of main domain document root are different from subdomain document root settings. I have compared what phpinfo() says on both sites. You can see it here:
1. For working site:
http://www.simpleprojecttodo.com/phpinfo.php
2. For non-working site:
http://208.100.21.154/phpinfo.php
One difference I noticed is that in HTTP Headers on non-working site "Cache-Control" is set to "no-cache".
Another is that in both "HTTP_COOKIE" in Apache Environment and "COOKIE" in Http Headers Information on non-working site have "cprelogin=no" (which on the working site is not the case).
Third is that on working site, there are two php variables that are not present at non-working site. These are:
_REQUEST["CMSSESSIDe61ac8e6"] and _COOKIE["CMSSESSIDe61ac8e6"]
It seems to be something with the cache settings. Any ideas? Or should I provide the debug information now (and how) ...
Thanks everybody!
Igor
Re: Admin problem - help!
If it works in a subdirectory and your need is to move to the root directory, please search for "move to root" or "moving to root" for details. Or you can rerun the installer in root directory without creating(erasing) database tables and objects.
But the problem seems more on the non working domain name...
Please provide us logS, describe what you do, what you expect and what you see.
Pierre M.
But the problem seems more on the non working domain name...
Please provide us logS, describe what you do, what you expect and what you see.
Pierre M.
Re: Admin problem - help!
Unfortunately that's not the case. Installation is ok and site works, but I can't log as admin:If it works in a subdirectory and your need is to move to the root directory, please search for "move to root" or "moving to root" for details.
when I try to log on as admin, the same login screen comes again, and without any error message.
Which logs do you need? Apache error logs are empty, access log shows only this line:Please provide us logS, describe what you do, what you expect and what you see.
89.172.34.119 - - [09/Nov/2007:12:50:57 -0600] "GET /admin HTTP/1.1" 301 329 "-" "Opera/9.22 (Windows NT 5.1; U; en)"
I turned on debug in config.php but I can't find neither it's output nor it's documentation. Maybe I'm just dumb.
As it shows in the phpinfo url above in the same thread:
CMSMS is 1.06 (I tried 1.2 too with same results)
PHP is 4.4.4
Other system information:
Operating system Linux
Kernel version 2.6.9-55.0.2.ELsmp
Machine Type i686
Apache version 1.3.37 (Unix)
PERL version 5.8.7
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 4.4.4
MySQL version 4.1.22-standard
cPanel Build 10.9.1-STABLE 14304
Theme cPanel X v2.6.0
Documentation Click to View
Steps to reproduce a problem (what i do):
1. Go to the CMS admin login screen:
http://208.100.21.154/admin
2. Enter user "ijese", pass "asdf"
3. I should get a message (what I expect) saying "Username or password incorrect". But (what I see) I just get the same login screen over and over again, as nothing happened.
Whole phpinfo output is attached (rename to html)
Thanks for your time,
Igor
- Attachments
-
[The extension txt has been deactivated and can no longer be displayed.]
Re: Admin problem - help!
Well, that's it - I'm stuck.
How should I proceed?
Just in case, my correspondece with Dewahost support is in attachment (rename to .html) ...
Best regards,
Igor
How should I proceed?
Just in case, my correspondece with Dewahost support is in attachment (rename to .html) ...
Best regards,
Igor
- Attachments
-
[The extension txt has been deactivated and can no longer be displayed.]
Re: Admin problem - help!
Hello,
reading http://wiki.cmsmadesimple.org/index.php ... quirements I don't see Opera as a supported admin browser.
But I think you have a session problem : requirements state "Working PHP sessions" and you don't have a domain for session cookie handling, do you ? See what cookies you (don't) get while trying to log in.
Pierre M.
reading http://wiki.cmsmadesimple.org/index.php ... quirements I don't see Opera as a supported admin browser.
But I think you have a session problem : requirements state "Working PHP sessions" and you don't have a domain for session cookie handling, do you ? See what cookies you (don't) get while trying to log in.
Pierre M.