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.

Previous to this I tried to upgrade from 4.6.5 to 4.7.0-beta3 and got schema errors on every page, from memory this was originally a 4.6.3 install upgraded to 4.6.4 then 4.6.5

Any ideas? Straight out of the box install, all I've done is set the password and base_url in the config. 4.6.5 within the same DocumentRoot, same database and a clean install of the tables. I'm now running 4.7.0-beta3 with a table prefix so I can run both sites simultaneously to compare, but no change I still can't register the admin user.

Comments

drupalguest’s picture

No problems here. I installed drupal-4.7.0-beta3 on php4.3.10 and apache1.3.33

=====
Drupal hosting - Up to $70 off, use coupon: HOTPROMO -- Another Drupal Host

niall’s picture

Alright, step by step:

1. empty database, no tables

mysql> show tables;
Empty set (0.00 sec)

2. untar 4.7.0-beta3 into DocumentRoot

3. create tables

mysql -p xxx Enter password:

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 14089147 to server version: 3.23.58-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show tables;
+--------------------------+
| Tables_in_xxx |
+--------------------------+
| access |
| accesslog |
| aggregator_category |
| aggregator_category_feed |
| aggregator_category_item |
| aggregator_feed |
| aggregator_item |
| authmap |
| blocks |
| book |
| boxes |
| cache |
| client |
| client_system |
| comments |
| contact |
| files |
| filter_formats |
| filters |
| flood |
| forum |
| history |
| locales_meta |
| locales_source |
| locales_target |
| menu |
| moderation_filters |
| moderation_roles |
| moderation_votes |
| node |
| node_access |
| node_comment_statistics |
| node_counter |
| node_revisions |
| permission |
| poll |
| poll_choices |
| poll_votes |
| profile_fields |
| profile_values |
| role |
| search_dataset |
| search_index |
| search_total |
| sequences |
| sessions |
| system |
| term_data |
| term_hierarchy |
| term_node |
| term_relation |
| term_synonym |
| url_alias |
| users |
| users_roles |
| variable |
| vocabulary |
| vocabulary_node_types |
| watchdog |
+--------------------------+
59 rows in set (0.00 sec)

4. configure settings.php

with working db_url and base_url from 4.6.5

5. visit /

and I'm given the welcome screen, click to create the first account, enter details and the screen refreshes with no indication of anything happening and no confirmation email.

Emails and user registration work fine under 4.6.5, literally no other change so I'm wondering if there's a php/mysql/library compatibility problem?

Looking at user_mail() in user.module it's using \r but so is 4.6.5 and that's fine. This is running on a commercial hosting server, Redhat 7.1. Any ideas guys?

niall’s picture

Fuck me, I'm rewriting all http URLs to https, and my base_url was set to http. Sonofabitch! Thanks guys, hopefully this helps someone else...