I have to login twice to acces admin ?

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
ryanpratt
Posts: 74
Joined: Fri 5. Mar 2004, 16:59
Location: Hilton Head Island, SC

I have to login twice to acces admin ?

Post by ryanpratt »

for some reason wen i go to the login.php page and login wen i pres enter is says im logd in on the left but it keepsw me in the same local..

wen i login a second time it sends me throught and all is well, i can deal with double logins, i'll just convince myself that its a securitey mesure..

any ideas :?:
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

quit moaning Ryan, some can't get in at all ;)

are you using 'localhost' in your config?
please post your config.inc.php WITHOUT password or username aand we can all have a look for you.
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

pSouper is absolute right... is's in the config.inc.php.
please post it...
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
ryanpratt
Posts: 74
Joined: Fri 5. Mar 2004, 16:59
Location: Hilton Head Island, SC

config.inc.php

Post by ryanpratt »

Code: Select all

<?

// database values
$phpwcms["db_host"]           = "localhost";
$phpwcms["db_user"]           = "*******";
$phpwcms["db_pass"]           = "************";
$phpwcms["db_table"]          = "***********";
$phpwcms["db_prepend"]        = "";
$phpwcms["db_pers"]           = 0;

// site values
$phpwcms["site"]              = "http://atruehost.com/";
$phpwcms["admin_email"]       = "**************";

// paths
$phpwcms["root"]                = "gotrisports";         //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"

// content values
$phpwcms["file_maxsize"]      = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"]     = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"]    = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"]   = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"]    = 538; //max width of the large preview image
$phpwcms["img_prev_height"]   = 400; //max height of the large preview image
$phpwcms["max_time"]          = 1800; //logout after max_time/60 seconds

// other stuff
$phpwcms["compress_page"]     = 0; //if 1 = page compression, 0 = no compression

// debugging timer
$phpwcms["timer"]             = 0; //is for displaying a how long it needs to create

$phpwcms["imagick"]           = 0; //0 = GD,  1 = ImageMagick convert
$phpwcms["imagick_path"]      = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"]           = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"]       = 0;  //whether URL should be rewritable
$phpwcms["wysiwyg_editor"]    = 3;  //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"]        = 1;  //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"]      = "en";  //default language
$phpwcms["charset"]           = "iso-8859-1";  //default charset 'iso-8859-1'

// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"]     = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"]      = '';  //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"]     = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'


?>
Brian
Posts: 2
Joined: Tue 2. Mar 2004, 10:23
Location: Cambridge, UK

Post by Brian »

$phpwcms["site"] = "http://atruehost.com/";
try changing to

$phpwcms["site"] = "http://www.atruehost.com/";
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

Yes my guess is that it is the problem
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

Try changing 'localhost' to the physical drive path or the url of your site.
Jörg
Posts: 6
Joined: Wed 3. Dec 2003, 00:58
Location: Hamburg

Post by Jörg »

hello and by the way:
i am "playing" with the phpwcms on standalone win xp system and i had the same "little" problem.

i changed in "conf.inc.php"

// database values
$phpwcms["db_host"] = "localhost";
...
// site values
$phpwcms["site"] = "http://127.0.0.1/";
...

in
// database values
$phpwcms["db_host"] = "localhost";
...
// site values
$phpwcms["site"] = "http://localhost/";
...

bye jörg
CodexX
Posts: 27
Joined: Wed 6. Oct 2004, 00:14
Location: Germany

Post by CodexX »

as i had the same problem and spend a lot of time to fix it, i want to share the solution with you.

unbelievable that it depends only on one character: /

Code: Select all

$phpwcms["root"]              = "/";         //default: ""
Post Reply