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

Help! php4 works, but not php5

I'm trying to install php4.6.5 on a fairly recent SUSE 10 installation with both php4 and php5 installed. Apache is installed with the php5 connector. I would like drupal to use php5.

When I cd into the /srv/www/htdocs directory, "php index.php" (which uses php4) returns a nice drupal web page, but "php5 index.php" crashes with the errors shown below.

Any suggestions?

Thanks!

> php5 index.php
PHP Notice: Undefined index: HTTP_HOST in /srv/www/htdocs/includes/bootstrap.inc on line 53
PHP Warning: main(sites/default/settings.php) [<a href='function.main'>function.main]: failed to open stream: No such file or directory in /srv/www/htdocs/includes/bootstrap.inc on line 636
PHP Warning: main() [<a href='function.include'>function.include]: Failed opening 'sites/default/settings.php' for inclusion (include_path='/usr/share/php5') in /srv/www/htdocs/includes/bootstrap.inc on line 636
PHP Warning: main(includes/database.inc) [<a href='function.main'>function.main]: failed to open stream: No such file or directory in /srv/www/htdocs/includes/bootstrap.inc on line 637
PHP Warning: main() [<a href='function.include'>function.include]: Failed opening 'includes/database.inc' for inclusion (include_path='/usr/share/php5') in /srv/www/htdocs/includes/bootstrap.inc on line 637
PHP Warning: main(includes/session.inc) [<a href='function.main'>function.main]: failed to open stream: No such file or directory in /srv/www/htdocs/includes/bootstrap.inc on line 638

4.7.0-beta3 can't create admin user, 4.6.5 works fine

Hey guys, I've been using 4.6.5 for some time now without problem, but when I did a fresh install of 4.7.0-beta3 I cannot register the initial admin user. This is on a host with php 4.3.4, everything works under 4.6.5. I've applied my config to 4.7.0-beta3 and have a rendering site, but when I try to register the admin user as the first user, the form submits and the page refreshes back to create a user - I get no confirmation email or message in the browser to indicate that anything has happened.

Warning: Field 'translation' doesn't have a default value query: INSERT INTO locales_target

Greetings,
I am using v 4.7 beta3 and added a new language using the locale.module (MySQL5 PHP5 IIS6 Windows 2003). After adding the new language and clicking on a different link I had the following error message:


Warning: Field 'translation' doesn't have a default value query: INSERT INTO locales_target (lid, locale) VALUES (2, 'en-US') in D:\Inetpub\wwwsol\includes\database.mysql.inc on line 108

In the locales_target table the defaults for lid, plid and plural are "0" and locale and translation have nothing, the fields are blank.

Field 'revisions' doesn't have a default value query

I got this error message in my Watchdog list. I have no idea what it's talking about.

Field 'revisions' doesn't have a default value query: INSERT INTO node (status, moderate, promote, sticky, comment, title, body, format, uid, created, type, teaser, changed, nid) VALUES('1', '0', '0', '0', '2', 'arrow', 'an arrow', '1', '1', '1137541683', 'image', 'an arrow', '1137541707', '5') in .....\drupal4.6\includes\database.mysql.inc on line 66.

Tiny MCE just will not install?

Hi, I have been trying all night and no luck in getting Tiny MCE working.

I have followed the install procedure to the latter and this is the error I get when I try and add content:

Securesite not working

I recently installed the securesite module and I can't access the settings page for this module.

The following error appears on the screen:

Fatal error: Call to undefined function: _securesite_settings() in /homepages/25/d149789965/htdocs/modules/securesite.module on line 84

Logging in with the module enabled is also very painful. I have to enter my username and password three or four times before being able to access the site.

The error logs also show:

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal