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

error: warning: mysql_affected_rows()

Hi

I have this error on my page:

warning: mysql_affected_rows(): A link to the server could not be established in /home/cogdziek/public_html/katalog-sklepow/includes/database.mysql.inc on line 222.

Anyone know how to fix it?

Access denied for user, but everything is configured correctly?

browsing to my drupal site, I get:

Access denied for user 'starmonkey'@'localhost' (using password: NO)

despite having, in my default (and only) site's settings.php:

$db_url = 'mysql://starmonkey:mypassword@localhost/starmonkey-tmo-drupal';

and (from my prodn box's shell)

Problem in installing forum module?

I like to enable forum module. But in Administrator section(modules) there is no module like"Forum" to be activated....

Is forum a contributed module to downloaded and patched or Built in feature of drupal....

Let me know , how do i install and activate forum module

Blank Page Displayed Suddenly in Working Drupal 4.6

I have installed drupal at http://all4democracy.f2o.org/cms and it worked fine for a few days. But when I tried to access the site after a few days it gave me blank page. So far I did the following:

1) Checked mysql dbs using phpmyadmin, all intact including that of the modules
2) Checked sites/default/settings.php, which is intact
3) Checked the files using gFTP and all were found intact.
4) Renamed .htaccess in the installation root, but the problem persists.

Help solicited!

WRONG PATH: Can't connect to local MySQL server through socket '/tmp' (111)

Problem with mysql. When connecting I receive the following message:

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp' (111) in /home/drupal/includes/database.mysql.inc on line 35
Can't connect to local MySQL server through socket '/tmp' (111)

The socket defined (in /etc/my.cnf) as /tmp/mysql.sock !!! not /tmp!!!

Parsing of db url is ok.
I putted the following lines in database.mysql.inc and got right results.

Fatal error, cannot continue installation

Trying to start it after installing. Fixed several errors by deleting excess carriage returns, but now I get a new type:

Fatal error: Duplicate entry '4623449ec000c73a56bc8f323b911aa4' for key 1 query: INSERT INTO sessions (sid, uid, hostname, timestamp) VALUES ('4623449ec000c73a56bc8f323b911aa4', 0, '198.69.251.61', 1116117383) in /home2/zoriginm/public_html/pm/drupal-4.6.0/includes/database.mysql.inc on line 66 

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal