Page 2 of 3

Posted: Thu 20. May 2004, 23:25
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 ;)

Posted: Fri 21. May 2004, 00:01
by TortillaBoy
Sounds like something I need to do from home. :D Thanks.

Having the same problem

Posted: Thu 27. May 2004, 21:19
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

Posted: Thu 27. May 2004, 21:25
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_";

Posted: Thu 27. May 2004, 21:34
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.

Posted: Thu 27. May 2004, 23:29
by indigo11
Is there something about my php or apache setup that could cause this?

Posted: Thu 27. May 2004, 23:31
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"] = "";

Posted: Thu 27. May 2004, 23:34
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.

Posted: Thu 27. May 2004, 23:39
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?

Posted: Thu 27. May 2004, 23:43
by indigo11
I'll try that right now. I'll let you know what happens.

Posted: Fri 28. May 2004, 00:15
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"; 

Posted: Fri 28. May 2004, 00:18
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.

Posted: Fri 28. May 2004, 00:28
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.

Posted: Fri 28. May 2004, 00:41
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 

Posted: Fri 28. May 2004, 00:59
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.