I installed the image module and adjusted the settings. I then tried uploading a file using the Create Content function. When I clicked on the Preview button, I got a page cannot be displayed error. When I clicked on the Submit button, I got:
warning: Invalid argument supplied for foreach() in /home/www/columbusrabbit/cms/modules/image/image.module on line 315.
warning: Cannot modify header information - headers already sent by (output started at /home/www/columbusrabbit/cms/includes/common.inc:384) in /home/www/columbusrabbit/cms/includes/common.inc on line 192.
I think i have done everything correct, but keep on getting the error message:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/username/domain name/includes/database.mysql.inc on line 31
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
username is my account username and domain name is the correct domain name.
If anyone could help out I would be very grateful.
I've recently installed Drupal on my local server to play around with, but it's not playing ball. My root folder is called fme_new and the drupal folder has been installed there.
Warning: mysql_connect(): Access denied for user 'frantik1_drupal'@'localhost' (using password: YES) in /home/frantik1/public_html/drupal/includes/database.mysql.inc on line 31
Access denied for user 'frantik1_drupal'@'localhost' (using password: YES)
Is what I'm getting at the moment.
I can not understand why it is not accepting my username and password, its very strange.
A question about the images directory created by the image module and nested in the files directory:
I don't know if this is related to the problems I'm having trying to get the module to run but I am unable to view the contents of the images directory.