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

database.psql dying at line 782

I'm trying to install drupal 4.5.0 with postgres 7.2.1, and the setup script dies with this error:

psql:database.pgsql:782: ERROR: parser: parse error at or near "SEQUENCE"

line 782 has this line:

ALTER SEQUENCE menu_mid_seq RESTART 2;

What's up with that?

strict warning: var: Deprecated

Hello,

I'm new to this, but familar with the installation process. I've attempted to install Drupal three times now on my G4 Mac so that I can build and test sites locally using this CMS.

I keep getting this error:

strict warning: var: Deprecated. Please use the public/private/protected modifiers in /Library/WebServer/Documents/themes/engines/xtemplate/xtemplate.inc on line 42.

(It repeats the same error from line 42 - line 70.)

Organic Groups and PostgreSQL

I just installed Drupal with PostgreSQL successfully, but the OG module seems to cause a problems. When I try to create a new group, I get the following errors with no HTML returned, but the group is created anyway:

warning: pg_query(): Query failed: ERROR:  syntax error at or near "REPLACE" at character 1 in /path/to/drupal/includes/database.pgsql.inc on line 104.

user error: 
query: REPLACE INTO node_access (nid, gid, realm, grant_view, grant_update, grant_delete) VALUES (2, 1, 'og_uid', 1, 1, 1) in /path/to/drupal/includes/database.pgsql.inc on line 121.

warning: Cannot modify header information - headers already sent by (output started at /path/to/drupal/includes/common.inc:406) in /path/to/drupal/includes/common.inc on line 217.

Visiting the group's page issues the following errors above the regular page:

warning: pg_query(): Query failed: ERROR:  for SELECT DISTINCT, ORDER BY expressions must appear in select list in /path/to/drupal/includes/database.pgsql.inc on line 104.

user error: 
query: SELECT DISTINCT(n.nid) FROM node n INNER JOIN node_access na ON n.nid = na.nid WHERE '1' AND (na.gid = 2) AND na.realm = 'og_group' AND n.status=1 AND n.type != 'og' ORDER BY n.created DESC LIMIT 10 OFFSET 0 in /path/to/drupal/includes/database.pgsql.inc on line 121.

Attempting to join a group yields the following with no returned page, and no apparent effect on subscription:

Warning: db_set_active(includes/database.mysql.inc): failed

I'm not a programmer or sysadmin, just a website publisher, and I have to go through someone else to relay information to the people running the server. I'm getting this message with Drupal 4.5.0 on a BSD server with MySQL installed:

Warning: db_set_active(includes/database.mysql.inc): failed to open stream: No such file or directory in /var/www/bbm/lowendmac.com/htdocs/includes/database.inc on line 109

Issues with Clean URLs

I've tried to enable Clean URLs on my site and have done the following:

- confirmed mod_rewrite is installed
- uploaded the .htaccess file
- tried modifying the .htaccess file with the path to the install directory (although the site is not in a subdirectory; this did not work)

However, the site hangs whenever I click a link.

Any ideas?

Problem with Drupal installation in Windows XP

I am a new drupal user and are developing my own site just to post topics I found interesting and start discussions. I am using Windows XP. To learn using Drupal, I installed:

Apache 2.0.49 --> Shows Apache's help when acesses via browser (Firefox)
PHP 5.0.2 --> Can show phpinfo() content when accessed via browser
MySQL 4.1.7-nt --> Seems to work well. Can accept and execute commands
Drupal 4.5.0 --> Installation until step 4. Connecting Drupal

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal