I've been installing 4.7 with no problem, but I just tried 4.6.6 and I can't get it to work. After importing the database and editing settings.php, I go to my drupal site and this is what I see:
{head} {styles} {_BLOCK_.header.logo} {_BLOCK_.header.site_name} {secondary_links}
{primary_links}
{_BLOCK_.header.blocks} Welcome to your new Drupal-powered website. This message will guide you through your first steps with Drupal, and will disappear once you have posted your first piece of content.The first thing you will need to do is create the first account. This account will have full administration rights and will allow you to configure your website. Once logged in, you can visit the administration section and set up your site's configuration.
Drupal comes with various modules, each of which contains a specific piece of functionality. You should visit the module list and enable those modules which suit your website's needs.
Themes handle the presentation of your website. You can use one of the existing themes, modify them or create your own from scratch.
We suggest you look around the administration section and explore the various options Drupal offers you. For more information, you can refer to the Drupal handbooks online.
Comments
Handbook > troubleshooting faq
Junk {head} {styles} codes as output
.dan.
http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
Read this post
read this post. It will answer all of your questions. It has to do with php 5.
You can also search the forums with:
{head} {styles} {_BLOCK_.header.logo} {_BLOCK_.header.site_name} {secondary_links}
{primary_links}
and get other post on this topic.
How to create first account?
The thread didn't answer all my questions. The meat of it was in the last post, refering to a handbook entry that says that the best solution is to set the administater >> theme, but you have to login to do this.
The handbook entry doesn't say how to create the first account. I tried going to http://localhost/?q=user/register and entering a username and email address, but it brings me back to the same page with an extra {block}. Presumably the {block} is all that is visible of an error message. I don't have email set up, but 4.7 doesn't hassle me about the mail issue when registering the first account.
Give a valid email adress
When registring the first user Drupal will display the password on-screen. It does however require a seemingly valid email address, or it gives an error (in this case {block}). If you give both username and eg noone@localhost the password and login button will be displayed.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
The Invisible Password
Ah, so that invisible {block} is the PASSWORD, and not an error message like I thought. Same difference, if you can't see the password then the whole approach is completely undermined. It looks like the guy in this thread has given the only genuinely functional fix for this bug, assuming it works.
No it isn't
I can't see how you've arrived at that conclusion by reading my post. Both password and login button are displayed on screen.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
New installation instructions
Okay, I am awake and on my way to work but I an going to give some instructions on this because I don't want anyone else to panic like I did last night. I am writing this because the hndbook page treats the symptoms and not the cause of the errors.
Here are the instructions for installing Drupal 4.6.6 on Wamp5 Server v1.6.1. when using php5.1.2 and mySQL 5.0.1.8
Download
Drupal 4.6.6
phptemplate 4.6
bluemarine for phptemplate
marvin for phptemplate
IMPORTANT!!!:Before you install make these changes
Delete under themes
xtemplate engine directory under engines
all themes directories (these are xtemplate files. useless to keep)
Add
phptemplate engine directory to directory engines
marvin and bluemarine for phptemplate to themes directory
modify database.mysql
change lines 789 and 790 to this
Configure settings.php
Follow the instructions for configuration by opening settings.php in a text editor and entering your database and site information. Besure you actually open the readme.txt file and setting.php and READ them.
Run database.mysql
Now you run your newly modified database.mysql file in phpmyAdmin. In phpMyAdmin 2.7 the tool for this is under "import" in phpmyAdmin 2.6 it is under "SQL"
Now you should see bluemarine when going to the first page with instructions on how to continue the installation by creating a first user.
Prepackaged archive
As noted in the other thread as well. I've created a prepackaged archive with
Of course this doesn't help anyone upgrading PHP, but could be useful for new installs.
Download from http://pctips.ustilago.org/drupal-download-php5
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
Now Your Talkin!
Now *THAT* is a hassle-free solution! Why isn't something like http://pctips.ustilago.org/drupal-download-php5 available on the 4.66 download page?
Because Drupal 4.6.x was
Because Drupal 4.6.x was feature frozen and released before the php team made changes to php5 series around php5.0.5 and higher that broke the xTemplate theme engine. Once a given series is feature frozen no core features/modules will be added.
This is mentioned here: http://drupal.org/node/27362
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide