Hey, drupal looks amazing. I can't wait to get my greasy gubbins on the admin script. :)
One small thing ..
I've been using other CMS lately and they all use a slightly differnet format for setting up the msql url/hostname/dbuser/dbpass. Looks something like this:
$pnconfig['dbtype'] = 'mysql';
$pnconfig['dbhost'] = 'localhost';
$pnconfig['dbuname'] = 'cm9vdA==';
$pnconfig['dbpass'] = 'WHRhc3k2NTY0';
$pnconfig['dbname'] = 'Rogue';
$pnconfig['system'] = '0';
$pnconfig['prefix'] = 'nuke';
$pnconfig['encoded'] = '1';
The drupal config looks like this however (as you know, bear with me):
# $db_url = "pgsql://user:password@hostname/database";
# $db_url = "mysql://user:password@hostname/database";
$db_url = "mysql://cm9vdA==:WHRhc3k2NTY0@localhost/drupaldb";
(Where drupaldb is the name of the db I created and dumped table info into)
So I reason, cant be too complex. Same sort of info.
Only when I fire up the site it returns with an internal server error 500.
Can some kindly soul tell me if my syntax/data is wrong in the above line or of its something more likely to do with permissions.
All the best in advance!
Gubba.
Comments
Exact text
> Only when I fire up the site it returns
> with an internal server error 500.
Can you give us an *exact text* of an 500 error message? Just copy the output here as comment
500 error message
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
please email krotchman2@hotmail.com if you can help me out, appreciate it!
Same problem here...
Internal Server error on WinXP with Apache/php/mysql.
Did you guys solve this problem?
Here's the Error from the LOG
"c:/phpdev/www/drupal/.htaccess: order not allowed here"
Its on WinXP running apache/ PHP/ MySQL
How can i fix this? Is it worth just trying on my shared hosting server?
rename the file
change .htaccess to .htaccess_inactive. this way you will not be able to use clean urls but the rest of your site will work.
yes, .htacess probably will work on your hosting provider.
500 error message
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
*** if you can help me out, please email krotchman2@hotmail.com, I would really appreciate it!
probably means
I guess it means that you're not allowed to use php scripts on your site?
dbname
just to clarify, you set the dbname to "Rogue"
but in the connection string is was still set to "drupaldb"
was that a typo in your post?
if not, that will likely cause your error.
mike(y)
the $db_url looks fine, i thi
the $db_url looks fine, i think it may have something to do with the == in your database username, can someone clarify this?
Barry
Avoid special characters
The $db_url variable gets parsed using PHP's built-in parse_url() function so you have to make sure not to confuse the parser. Basically, this means, you should avoid using characters that are not used in "normal" URLs either.
disabling htaccess & rewriteengine
error 500: Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
This results after an upgrade from 4.5.2 where all worked just fine, so I don't think it's connected to the db url stuff.
In my case the result of switching the rewriteengine off is that I don't get the 500 error, links just don't take me anywhere - they just default to the home page.
disabling the htaccess file only produces
error 404: File not found
The document you requested is not found.
IMHO switching the rewriteengine off or disabling htaccess is not really a solution to any problem, it just tries to hide the symptoms.
anyone figured out what the
anyone figured out what the problem is and why the error message keeps showing?
i really want to use drupal but this is crazy. i like to test stuff out and create sites on my windows machine.
Someone sort this problem out. please.
htacess
the way I fixed this was instead of turning rewrite off, go to the frist block of comments and uncomment the last line(the RewriteBase rule) just change the directory to where you have drupal. (im guessin most of you installed drupal not in your root dir?)
This works for me
To sum it up:
Find .htaccess file in root of drupal install.
Uncomment the line that says
RewriteBase /Voila!
The issue, by the way, is occurring because you're using the Path module to create clean urls, which requires the Apache RewriteBase function.
Same issue
uncommenting RewriteBase / in .htaccess hasn't worked and i am still getting the same error as displayed above... Any other ideas?
P.S. This at least gets me access to Drupal:
Though on login i then get this: