Having problems installing Drupal? See the Installation Guide for more information.

problems with mysql database and header information

Ho there,

First of all, yes, I read all the earlier posts and documentation dealing with the header information issue (it's suposed to be some sort of blank spaces at the end of the file) but it's not running for me. Cleaning the file is not getting away this message, and when I try to do it now I cannot see any blank space after the end of php tags on file common.inc (see below).

Anyway, here is my error log, and I hope some of you guys could point me to the right solution:

user error: Access denied for user: 'drupal@localhost' to database 'drupal'
query: LOCK TABLES sequences WRITE in /home/httpd/vhosts/damaine.name/httpdocs/includes/database.mysql.inc on line 90.

warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/domain.name/httpdocs/includes/common.inc:63) in /home/httpd/vhosts/domain.name/httpdocs/includes/common.inc on line 481.

where domain.name is my domain name.

Regarding the database issue, I took the mysql scheme file (database.mysql) and uploaded it thru phpmyadmin. I couldn't manage anything about permissions (as installation documentation said) but drupal was running so I didn't worry about it.

Do you know if my problem with database access is a real problem or something related with the second error? It's a clean installation and I'm able to post comments, new nodes, or anything, but somethimes I get these errors and no information how to deal with them.

drupal4.3.2, php4.2.2 and apache2 on RH9. Can't login

New installation, .htaccess file in drupal directory causes "internal server error". No .htaccess causes "Note that the value of PHP's configuration option magic_quotes_gpc is incorrect. It should be set to '0' for Drupal to work properly."
I haven't got mod_php4.c or sapi_apache2.c in my httpd.conf, should I?
Can't make the magic quotes changes in php.ini because this stops Squirrelmail working. I need example code segments for .htaccess and httpd.conf.

cleaning drupal query string

Hi,

I believe I have the url rewrite module working, but I'm having trouble cleaning the query string for Drupal. I'm pretty sure this is the case because I was able to use Drupal's url aliasing module to change 'forum/1' to 'book-club' on my site. What I'd like to do is remove that '?q=' from my url. Every time I try to create a url alias for the expression I get a error stating: "The normal path '...' is invalid"

Can anyone provide me with a snippet to illustrate how to do this?

TIA

Mac

I can't upload images

I am new to drupal and I love it! But I have a problem with images: I have installed the Image module, and when I want to upload one, I get this error message:

warning: move_uploaded_file(./tmpimg_bisho_verde_chico.jpg): failed to open stream: Permission denied in /home/cavaleri/public_html/drupal/modules/image.module on line 448.
warning: move_uploaded_file(): Unable to move '/tmp/phpdfEBh9' to './tmpimg_bisho_verde_chico.jpg' in /home/cavaleri/public_html/drupal/modules/image.module on line 448.

Could you help me? I really need this feature.

Can't Submit Changes in Admin

I just installed Drupal and everything seems to work fine except that when I hit the submit button on any admin form I get this:

http:///?q=admin/system

If i edit the result to include my URL, hit return, and submit my changes again it will work. This is slightly annoying so if anyone has a suggested fix it would be greatly appreciated.

John

Internal Server Error

Today I tried to install Drupal, but I ran into some problems. I'm getting an Internal server Error
I'm using a virtual host.
Some posts on this forum directed me to altering the .htaccess file:

DocumentRoot /path_to/drupal-4.3.2
ServerName www.domainname.com

AllowOverride All

Now the error log states that there is something wrong with this.
However, I'm no expert on this subject and can't figger out what is wrong.

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal