login - but nothing happens
-
- Posts: 11
- Joined: Thu 20. May 2004, 20:37
- Location: Colorado, USA
- Contact:
Having the same problem
I am having this same problem I followed the suggestions in this discussion that applied to me, but it still just shows the webmaster online and keeps displaying the login page. This problem is on my local install. I tried it on a live webserver and it works fine.
My system is running Win XP, Appache and PHP 4.3.1 and MySQL. The tables were created in the database during the setup, and it does give an error if I try invalid login info.
Here's part of my config.inc.php
Any advise would be greatly appreciated. I would really prefer to test this on my local machine.
Thanks
My system is running Win XP, Appache and PHP 4.3.1 and MySQL. The tables were created in the database during the setup, and it does give an error if I try invalid login info.
Here's part of my config.inc.php
Code: Select all
// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "****";
$phpwcms["db_pass"] = "****";
$phpwcms["db_table"] = "phpwcms";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://localhost/";
$phpwcms["admin_email"] = "info@mail.com";
// paths
$phpwcms["root"] = "phpwcms"; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["file_tmp"] = "phpwcms_tmp"; //default: "phpwcms_tmp"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["dir_thlist"] = "thumb_list"; //default: "thumb_list"
$phpwcms["dir_preview"] = "thumb_preview"; //default: "thumb_preview"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"
Thanks
where is phpwcms installed?
http://localhost/phpwcms ?
did you add any prefix to your database like phpwcms_?
then you need to change:
http://localhost/phpwcms ?
did you add any prefix to your database like phpwcms_?
then you need to change:
to$phpwcms["db_prepend"] = "";
$phpwcms["db_prepend"] = "phpwcms_";
http://www.studmed.dk Portal for doctors and medical students in Denmark
Yes, the installation location you gave is correct. I looked at my database. It is called phpwcms and the tables are called phpwcms_address, phpwcms_article, etc. I don't remember specifying that it prepend the names because I read that it was not necessary.
I tried the change just in case and it gave me an error logging in so I changed it back. Now it is still listing the webmaster as online and returning to the login screen.
I tried the change just in case and it gave me an error logging in so I changed it back. Now it is still listing the webmaster as online and returning to the login screen.
Then it have to be:indigo11 wrote:Yes, the installation location you gave is correct. I looked at my database. It is called phpwcms and the tables are called phpwcms_address, phpwcms_article, etc.
$phpwcms["db_prepend"] = "";
http://www.studmed.dk Portal for doctors and medical students in Denmark
what about trying to reinstalling it from the beginning?indigo11 wrote:I checked again and that is what it is set to right now.
Thanks for helping me with this. I'm really trying to get this working tonight if possible.
http://www.studmed.dk Portal for doctors and medical students in Denmark
hello indi
my local config works with this settings.
my local config works with this settings.
Code: Select all
// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "xxx";
$phpwcms["db_pass"] = "xxx";
$phpwcms["db_table"] = "phpwcms";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://127.0.0.1/phpwcms/";
$phpwcms["admin_email"] = "info@mail.com";
I deleted and and recreated the database with no tables. I deleted and reinstalled all the files on my server htdocs/phpwcms directory. I then reinstalled. The database tables were recreated, but the same thing happened.
I noticed that on step 2 it put
http://DEV_SYSTEM/
in the site name field. I changed it to
http://localhost/
If you try to browse using http://DEV_SYSTEM/ it does not work. This is my machine name. I don't know why it defaulted to that instead of localhost.
I noticed that on step 2 it put
http://DEV_SYSTEM/
in the site name field. I changed it to
http://localhost/
If you try to browse using http://DEV_SYSTEM/ it does not work. This is my machine name. I don't know why it defaulted to that instead of localhost.
Thanks Pappnase. I tried that and it would not load. The browsers page load progress bar filled completely, but it never loaded the page. I also tried using just the IP address instead of local host and I got the same result as before.
Since you have a local setup, is there any way I can see what your phpinfo() looks like so I can compare mine to see if I have something set wrong?
Thanks for your help.
Since you have a local setup, is there any way I can see what your phpinfo() looks like so I can compare mine to see if I have something set wrong?
Thanks for your help.
i have only one more idea!
did you test this also!?
change this in the conf.inc.php from 1800 to 180000
did you test this also!?
change this in the conf.inc.php from 1800 to 180000
Code: Select all
$phpwcms["max_time"] = 180000; //logout after max_time/60 seconds