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

cant set up database

I'm getting this error:

* Warning: PDO::__construct() [pdo.--construct]: [2002] Invalid argument (trying to connect via unix://) in DatabaseConnection->__construct() (line 300 of /opt/lampp/htdocs/drupal7/includes/database/database.inc).
*

In order for Drupal to work, and to continue with the installation process, you must resolve all issues reported below. For more help with configuring your database server, see the installation handbook. If you are unsure what any of this means you should probably contact your hosting provider.

Can't get past locale choice

Hi!

I'm installing locally on Vista, IIS7 with php 5.3.5 and mysql 5.0.45-community-nt. That get's me to choosing locale of which there is only the default, en, installed. After that it sends me back to choosing install profile again.

Help greatly appreciated.

Sub domain site opens main site instead of sub-domain site

Hi,

I installed drupal 6.20 with the acquia stack installer on my server at home. Now I want to test drupal 7 by creating sub domain site by importing the site using control panel. It works great without any issue when I use localhost such as:

404 and 500 errors post transfer.

An old client recently came to me asking to help move their site to a new host.

Absolute Beginner

I have an existing website which is updated by a number of users, most of which have little or no HTML expertise (they currently create and edit pages in microsoft word, then save as HTML!).
In an attempt to make things easier and more flexible I have installed Drupal on my website via my ISP control panel.
My website already has a 'index.htm' page which is the default page loaded from www.mydomain/
Drupal has installed a file 'index.php' If I load this it brings up the Drupal login page. My first question is 'what login name and password is it expecting?' Whatever username and password I enter, or even if I click on the 'create new account' or 'request new password' links I am taken back to my home page. The url in the address bar is something like www.mydomain/?q=node&destination=node - ie parameters but no page name, which is presumably why it is loading my deault web page! Assuming index.htm was causing the problem I renamed it to index2.htm and added a line in my .htaccess file -'DirectoryIndex index2.htm'. This made no difference - www.mydomain/ still loads the default home page (now index2.htm) and logging in on www.mydomain/index.php still brings up the default home page (index2.htm)

Where do I go from here?

Drupal 7 install: syntax error on line 677 of includes/bootstrap.inc

I'm attempting to install Drupal 7 for the first time and have done nothing to modify any files, just uploaded them to my web space and CHMOD'ed a directory as instructed. However, when attempting to run the install script I got the following error message:

Parse error: syntax error, unexpected '{' in /home/fredr5/public_html/allison/includes/bootstrap.inc on line 677

The line in question is:
try {

In context:

  // Verify that we have an active database connection, before querying
  // the database. This is required because this function is called both
  // before we have a database connection (i.e. during installation) and
  // when a database connection fails.
  else {
    try {
      if (function_exists('db_query')) {
        $file = db_query("SELECT filename FROM {system} WHERE name = :name AND type = :type", array(':name' => $name, ':type' => $type))->fetchField();
        if (file_exists(DRUPAL_ROOT . '/' . $file)) {
          $files[$type][$name] = $file; 
        }
      }
    } 

I'm entirely unfamiliar with the code so I didn't want to add or delete anything without finding out what was going on and seeing if perhaps anyone else was having the same problem. I'd appreciate any help, thanks!

---

SOLVED! (1/18/2011)

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal