login - but nothing happens

Please post all install related problems here. Visit this forum first for troubleshooting.
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

can you dump fantastico and install a fresh version of RC4 (fantastico is only RC2)
if so you will open up a whole lot of new things, bug fixes and forum assistance ;)
TortillaBoy
Posts: 11
Joined: Thu 20. May 2004, 20:37
Location: Colorado, USA
Contact:

Post by TortillaBoy »

Sounds like something I need to do from home. :D Thanks.
indigo11
Posts: 10
Joined: Thu 27. May 2004, 05:33

Having the same problem

Post by indigo11 »

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

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"
Any advise would be greatly appreciated. I would really prefer to test this on my local machine.

Thanks
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

where is phpwcms installed?

http://localhost/phpwcms ?

did you add any prefix to your database like phpwcms_?

then you need to change:
$phpwcms["db_prepend"] = "";
to
$phpwcms["db_prepend"] = "phpwcms_";
http://www.studmed.dk Portal for doctors and medical students in Denmark
indigo11
Posts: 10
Joined: Thu 27. May 2004, 05:33

Post by indigo11 »

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.
indigo11
Posts: 10
Joined: Thu 27. May 2004, 05:33

Post by indigo11 »

Is there something about my php or apache setup that could cause this?
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

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.
Then it have to be:

$phpwcms["db_prepend"] = "";
http://www.studmed.dk Portal for doctors and medical students in Denmark
indigo11
Posts: 10
Joined: Thu 27. May 2004, 05:33

Post by indigo11 »

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.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

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.
what about trying to reinstalling it from the beginning?
http://www.studmed.dk Portal for doctors and medical students in Denmark
indigo11
Posts: 10
Joined: Thu 27. May 2004, 05:33

Post by indigo11 »

I'll try that right now. I'll let you know what happens.
Pappnase

Post by Pappnase »

hello indi

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"; 
indigo11
Posts: 10
Joined: Thu 27. May 2004, 05:33

Post by indigo11 »

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.
indigo11
Posts: 10
Joined: Thu 27. May 2004, 05:33

Post by indigo11 »

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

Post by Pappnase »

i have only one more idea!

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 
indigo11
Posts: 10
Joined: Thu 27. May 2004, 05:33

Post by indigo11 »

Yes I did that both before and after I reinstalled. It works on my internet server, so I'm thinking it has to be something with my php or apache setup.

I'd still like to see your's if possible.

Thanks for all the suggestions.
Post Reply