[documentation] [Documentation task] Newbie using drupal-5.0-beta1
joncli
drupal-docs at drupal.org
Fri Nov 3 15:06:53 UTC 2006
Issue status update for
http://drupal.org/node/92710
Post a follow up:
http://drupal.org/project/comments/add/92710
Project: Documentation
Version: <none>
Component: Installation
Category: tasks
Priority: minor
Assigned to: joncli
Reported by: joncli
Updated by: joncli
Status: active
It works!
Well my advice to anyone having the SMTP problem is for not to use
smtp.gmail.com
Use another SMTP server.
Just change the php.ini file:
[mail function]
; For Win32 only.
SMTP = mySMTP.server.com
smtp_port = 25
; For Win32 only.
;sendmail_from = my at email.com
It first I feel overwhelm by drupal - now I’m starting to like the
simple brilliant design.
joncli
Previous comments:
------------------------------------------------------------------------
Fri, 03 Nov 2006 11:24:43 +0000 : joncli
Goal: Set up my first website.
I have never used Drupal.
I'm a total newbie at websites.
Research, I have spent two days searching the internet for the best
solutions.
I found WAMP5 - http://www.wampserver.com/en/
At first I did plan to use another CMS, but why not start with the best
- Drupal?
And why not give something back, so I decided to start with
drupal-5.0-beta1.
I will try to document all difficulties I have installing Drupal.
First I downloaded wamp5_1.6.5.exe
Apache 2.0.59
PHP 5.1.6 + PECL
SQLitemanager
MySQL 5.0.24a
Phpmyadmin
Installed WAMP5 on my OS:Windows XP service pack 2 computer.
Downloaded drupal-5.0-beta1
Extracted it to wamp\www\drupal-5.0-beta1\
What now? I like to read documentations so I know that
http://localhost/drupal-5.0-beta1/ should work.
It works! Now it says I need to create a database.
I have no idée what to do = google!
www.lullabot.com/videocast/installing-drupal-4.7
So I have created a database in Phpmyadmin, and I just typed in that
information.
It works!
"To begin, create the first account. This account will have full
administration rights and will allow you to configure your website."
Times up. Let’s do this!
At Status report
I don’t remember what the error sad exactly – it was that GD
Library was not enabled.
Searching google! – After some research I found the solution - at
wamp5 (down left) - PHP settings – PHP extensions – php_gd2 –
enable
At Status report
Cron maintenance tasks
Used “run cron manually” Will try to set up “cron”? later…
I have familiarized myself with the setup of drupal, it is pretty
strait forward. As with all new thins you have to start with an open
mind. It did take me some time, but now it feels safe and I will start
to set the settings to my preference.
Problem 1 SMTP
I tried do make a new account. It worked but I got this error.
SMTP
”mail() [function.mail]: Failed to connect to mailserver at
"smtp.gmail.com" port 25, verify your "SMTP" and "smtp_port" setting in
php.ini or use ini_set() in
C:\wamp\www\drupal-5.0-beta1\includes\common.inc on line 1731.”
*Is the “"” stuff suppose to be there?*
Find the solution!
php.ini - at wamp5 (down left) – Config files – php.ini
Added at ln 604
SMTP = smtp.gmail.com
smtp_port = 587
The “ini_set()” stuff made me almost go insane, I still have no
idée what that is.
Problem 1 SMTP.2
“mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a
STARTTLS command first 28sm636178ugc in
C:\wamp\www\drupal-5.0-beta1\includes\common.inc on line 1731.”
“As for as gmail and STARTTLS... that means that gmail is expecting
a secure (SSL) connection.”
Ok. What to do? - Let's have a look at google!
Will update when I have the solution.
------------------------------------------------------------------------
Fri, 03 Nov 2006 11:47:59 +0000 : joncli
I need SSL so I'm just changing from WAMP5 to XAMPP for Windows 1.5.4a
Apache HTTPD 2.2.3, MySQL 5.0.24a, PHP 5.1.6 + 4.4.4 + PEAR + Switch,
MiniPerl 5.8.7, Openssl 0.9.8d, phpMyAdmin 2.9.0.1, XAMPP Control Panel
2.3, Webalizer 2.01-10, Mercury Mail Transport System für Win32 und
NetWare Systems v4.01a, FileZilla FTP Server 0.9.18, SQLite 2.8.15,
ADODB 4.91, Zend Optimizer 3.0.1, XAMPP Security. For Windows 98, 2000,
XP.
------------------------------------------------------------------------
Fri, 03 Nov 2006 12:44:11 +0000 : joncli
Okej, now it is done.
The cron problem.
"Cron has not run. It appears cron jobs have not been setup on your
system. Please check the help pages for configuring cron jobs. You can
run cron manually." I ran it manually.
Back to the mail problem. I guess that you think you should already
have set up you’re SMTP stuff before installing drupal.
“warning: mail() [function.mail]: Failed to connect to mailserver at
"localhost" port 25, verify your "SMTP" and "smtp_port" setting in
php.ini or use ini_set() in
C:\xampp\xampp\htdocs\drupal-5.0-beta1\includes\common.inc on line
1731.”
Changing php.ini
And in XAMPP there is more then one!
The “right” one is located in \xampp\apache\bin\php.ini
Well installing XAMPP with SSL did not help
warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must
issue a STARTTLS command first m1sm880985uge in
C:\xampp\xampp\htdocs\drupal-5.0-beta1\includes\common.inc on line 1731.
------------------------------------------------------------------------
Fri, 03 Nov 2006 13:25:21 +0000 : oadaeh
If you haven't seen it, there is a Handbook which goes into installing
and setting up an AMP server on Windows here: http://drupal.org/node/263
I don't know if anything there answers your STARTTLS problem, though.
The first time I did a WAMP server, I used Apache2Triad, as the others
wouldn't work correctly for one reason or another.
------------------------------------------------------------------------
Fri, 03 Nov 2006 13:38:26 +0000 : joncli
I used the following guide at
http://drupal.org/node/7294
got error Fatal error: Call to undefined function drupal_mail_wrapper()
in C:\xampp\xampp\htdocs\drupal-5.0-beta1\includes\common.inc on line
1699
------------------------------------------------------------------------
Fri, 03 Nov 2006 14:24:33 +0000 : solipsist
joncli: If you want to keep things simple initially, get a hosting
company account and install Drupal there. You said you know nothing
about websites, perhaps it is better then to focus on getting the site
working rather than figuring on Apache on Windows.
Once you got Drupal up and running, this short tutorial I wrote may be
of help:
http://www.jakob-persson.com/myblog/drupal_for_solid_lifeforms
------------------------------------------------------------------------
Fri, 03 Nov 2006 14:31:27 +0000 : joncli
I think I know what the problem is! – I need the smtp.module
And I can’t make it work on 5.x... hehe
The problem is that the SSL “stuff” is not working with drupal 5.x
And gmail need SSL so if someone puts the "STARTTLS command" somewhere
in drupal and a place where you can put you’re username and password.
Like at Site configuration -> Site information
E-mail address: myemail at whatever.com
Username:
Password:
Then no one would need to get this problem. I have no knowledge of php
or any other programming so it would probably take me a lot of time to
do that. But if no one does it I will do it! (ETA – 1year)
If someone else like do it faster and think that it can contribute to
drupal I will donate $50 to that person for helping the drupal project.
I don’t know if gmail just need the “250 STARTTLS” command or/and
authenticate with username and password as well.
Well if the smtp server do not need your username and password, can’t
just pretend I’m sending a email from someone I’m not? That can be
weird.
For now - I will use another smtp server.
------------------------------------------------------------------------
Fri, 03 Nov 2006 14:37:37 +0000 : joncli
Thanks for the replies
Just what I needed, there is just so much information out there –
hard to filter and find what you need.
solipsist: That might be a good idée.
More information about the documentation
mailing list