PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Script Installation

Reply
 
Thread Tools
Old 09-20-2005, 08:33 PM   #1
swordfish
Green Mole
 
Join Date: Sep 2005
Posts: 11
Error 500

I am trying to go to the install.php and getting an internal server error 500.

I did a search and could find an answer.

I checked my phpinfo and looks ok...

THanks
swordfish is offline   Reply With Quote
Old 09-20-2005, 10:08 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
What version of PhpDig are you trying to install? What versions of PHP and MySQL are you using? What type of OS are you running? Without more info...
__________________
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-21-2005, 05:41 AM   #3
swordfish
Green Mole
 
Join Date: Sep 2005
Posts: 11
I am tryign to install phpdig 1.8.8-rc1

I am running PHP Version 4.4.0 on a linux serve, red hat os.

Thanks for the help
swordfish is offline   Reply With Quote
Old 09-21-2005, 08:43 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
What version of MySQL are you running? Is your PHP mbstring enabled? If you call domain.com/dir/phpdig_logo_2.gif via your browser, do you get the 500 error (that GIF is in the main PhpDig directory)? If you change PHPDIG_ADM_AUTH from one to zero in the config file, do you still get the 500 error when trying to access install? Still trying to narrow it down...
__________________
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-21-2005, 09:30 AM   #5
swordfish
Green Mole
 
Join Date: Sep 2005
Posts: 11
I get the 500 just by going to the phpdig directory I setup, I then change the ADM_AUTH to zero and still get the 500...

I'm running mysql version 4.1.13
swordfish is offline   Reply With Quote
Old 09-21-2005, 09:59 AM   #6
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Sounds like it could be the htaccess file. Try sticking a # in front of each line, in various combinations, to see if one of the lines in the htaccess file is the cause.
__________________
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-21-2005, 10:34 AM   #7
swordfish
Green Mole
 
Join Date: Sep 2005
Posts: 11
Putting the # in front of PHP_VALUE mbstring.encoding_translation On

Did it.

Is it ok to run like this?
swordfish is offline   Reply With Quote
Old 09-21-2005, 10:36 AM   #8
swordfish
Green Mole
 
Join Date: Sep 2005
Posts: 11
Actually I had to put a # in front of all the actions

# start htaccess file
#PHP_VALUE default_charset UTF-8
#PHP_VALUE mbstring.func_overload 0
#PHP_VALUE mbstring.encoding_translation On
# end htaccess file

I'm gong to run the install script.. is this ok?
swordfish is offline   Reply With Quote
Old 09-21-2005, 10:41 AM   #9
swordfish
Green Mole
 
Join Date: Sep 2005
Posts: 11
I'm now getting this error which I think is due to the version of php

Fatal error: Call to undefined function: mb_eregi() in /home/odyssey/public_html/phpdig/includes/config.php on line 109
swordfish is offline   Reply With Quote
Old 09-21-2005, 10:50 AM   #10
swordfish
Green Mole
 
Join Date: Sep 2005
Posts: 11
The thread I found on this error was old and no real answer.. any fix?

I appreciate your help
swordfish is offline   Reply With Quote
Old 09-21-2005, 12:40 PM   #11
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Your PHP is not mbstring enabled. You need to enable mbstring capabilities for PhpDig 1.8.8 RC1 to work. Once enabled you should see something like "'--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex'" in the top part of your PHP info page. After you get PHP mbstring enabled, set the htaccess file back to original form. There are instructions here and here. If you don't have permission to rebuild PHP with mbstring then you'll need to use PhpDig 1.8.7 instead.
__________________
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-21-2005, 01:04 PM   #12
swordfish
Green Mole
 
Join Date: Sep 2005
Posts: 11
Ok, I'm going to try version 1.8.7 and see if that works. I assume I will have to change the htaccess again.. I'll give it a try and let you know.
swordfish is offline   Reply With Quote
Old 09-21-2005, 01:26 PM   #13
swordfish
Green Mole
 
Join Date: Sep 2005
Posts: 11
Now I'm getting

Can't connect to database
Verify connection datas.

I created the user and using the right prefix and password. I can manually create the tables and database if that is all this install script is doing?
swordfish is offline   Reply With Quote
Old 09-21-2005, 01:27 PM   #14
swordfish
Green Mole
 
Join Date: Sep 2005
Posts: 11
Actually with the right username and password I get:

Can't connect to database
Verify connection datas.
swordfish is offline   Reply With Quote
Old 09-21-2005, 01:34 PM   #15
swordfish
Green Mole
 
Join Date: Sep 2005
Posts: 11
Ignore previous 2 post.. i'm got through
swordfish is offline   Reply With Quote
Reply


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
http 500 Error during Installation W_Adel096 Script Installation 7 04-04-2008 11:32 AM
500 internal error kpettit Script Installation 1 01-14-2007 08:26 AM
500 Internal Error notyx Script Installation 5 04-23-2004 11:08 PM
HTTP 500 - Internal server error - INSTALLING servergrids Script Installation 5 10-26-2003 11:24 AM


All times are GMT -8. The time now is 03:01 AM.


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