PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Script Installation

Reply
 
Thread Tools
Old 09-07-2005, 06:46 PM   #1
lala1973nc
Green Mole
 
lala1973nc's Avatar
 
Join Date: Sep 2005
Posts: 7
Can't sign in to admin/install.php

When I try to sign in with my username and password the page refreshes leaving the username and password blank.

I followed the instructions and set my username and password in the config.php file and then uploaded all the files and chmoded what was necessary.

Why can't I sign in?

lala1973nc
lala1973nc is offline   Reply With Quote
Old 09-07-2005, 07:51 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
The username and password are case sensitive. Is that it? If not, what version of PhpDig are you using, and do you allow cookies?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 09-08-2005, 01:39 AM   #3
lala1973nc
Green Mole
 
lala1973nc's Avatar
 
Join Date: Sep 2005
Posts: 7
The username and password are being entered just as I placed it int the config.php file. I do allow cookies and I am using phpdig-1.8.7[1].
lala1973nc is offline   Reply With Quote
Old 09-08-2005, 04:32 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
What version of PHP are you running? If your PHP is less than version 4.1.0, add the following to the top of the config file:
Code:
if (PHP_VERSION < '4.1.0') {
	$_GET = &$HTTP_GET_VARS;
	$_POST = &$HTTP_POST_VARS;
	$_COOKIE = &$HTTP_COOKIE_VARS;
	$_SERVER = &$HTTP_SERVER_VARS;
	$_ENV = &$HTTP_ENV_VARS;
	$_FILES = &$HTTP_POST_FILES;
	$_REQUEST = array_merge($_GET,$_POST,$_COOKIE);
}
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 09-08-2005, 10:12 AM   #5
lala1973nc
Green Mole
 
lala1973nc's Avatar
 
Join Date: Sep 2005
Posts: 7
I am running PHP 4.3.10.
lala1973nc is offline   Reply With Quote
Old 09-09-2005, 08:37 AM   #6
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hmm, make sure you are on admin/install.php and try your username and passowrd again. ATM I cannot see why the login won't work for you, so try adding echo " A "; echo " B "; echo " C "; etcetera at various lines in libs/auth.php and see if they print onscreen when you go to login. Maybe that will provide a clue as to where the issue lies.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 09-09-2005, 03:19 PM   #7
lala1973nc
Green Mole
 
lala1973nc's Avatar
 
Join Date: Sep 2005
Posts: 7
I followed your instructions and received this parse error:
Parse error: parse error, unexpected T_IF, expecting ',' or ';' in /home/theschiz/public_html/phpdig/libs/auth.php on line 48

I am clueless. I rechecked my config.php file. Username and password are definitely set. I read the script and everything looks ok.

Line 48 in the libs/auth.php file reads:
if (PHPDIG_ADM_AUTH == 1) {

I may try to reup the files to my server and try the steps again.
lala1973nc is offline   Reply With Quote
Old 09-09-2005, 03:30 PM   #8
lala1973nc
Green Mole
 
lala1973nc's Avatar
 
Join Date: Sep 2005
Posts: 7
I did it. For some reason I must have missed a step but I have accessed the install.php page and I am very happy. Thanks for trying.
lala1973nc is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgot login/password for admin/index.php FelixH Troubleshooting 1 12-17-2006 11:36 AM
Fatal error: Cannot unset string offsets in /admin/robot_functions.php on line 833 Headie Troubleshooting 0 08-23-2006 05:09 AM
PHP Install? ergobob How-to Forum 3 07-09-2004 05:43 PM
viewing admin/index.php... ronyotz Troubleshooting 3 03-24-2004 04:33 AM


All times are GMT -8. The time now is 01:47 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.