Hello,

I am in the process of installing Drupal. And I can see this line below repeated many times at the top of the Drupal page, where I clicked install in English.
How come is it there? How can I get rid of it?

Thanks!

Deprecated: Function ereg() is deprecated in C:\wamp\www\Drupal2\includes\file.inc on line 926

Comments

narcissus921’s picture

Try using PHP 5.2.9. 5.3 errors out like that. You can get more versions through WAMP - just hover over PHP and there is a "Get more versions" link I believe.

56rosa’s picture

Hello again!

Well, I have installed Drupal 6.17, and everything appears normal. That line: "Deprecated: Function ereg() is deprecated in C:\wamp\www\Drupal2\includes\file.inc on line 926" does NOT appear anymore at the top of the page.

So, sorry for having asked you why this was happening!!!

sanoobdesign’s picture

how to install drupal 6.17 please help me stup by stup way.....

56rosa’s picture

Hello Sanoobdesign,

Well, I'm glad to help somebody, cos I'm quite new! I followed step by step the "Multi-site on Windows" on drupal.org: http://drupal.org/node/547860

Do you want a simple installation? There is quite a good video which shows all the steps at: www.learnbythedrop.com

I use Wamp server on a local host. Is it on your own PC as well? Otherwise, I had a look at somebody's else step, but he's using a Mac. That may be more confusing for you if you're not using a Mac.

So, using a Wamp server:

1) I downloaded Wamp server on my PC (desktop)

2) I downloaded Drupal 6.17 on my PC (desktop)

Note: I did not have to unzip anything like it is explained on most tutorial. Wamp took care of that part.

3) I opened the root folder in Wamp named www

4) I copied Drupal-6.17 folder in the folder named www in Wamp.

5) There, I renamed it Drupal.

6) I made a copy of Drupal in the same root folder www

7) I renamed it Drupal "whatever". (I have watched a video, and this is what the guy did!)

8) Open Drupal "whatever" folder.

9) Open (double-click) sites folder

10) Open Default folder

11) Copy the default.settings.php and paste it in the same place i.e. in the sites folder

12) Rename the default.settings.php as follow settings.php

13) Open phpMyAdmin and create a database, and name it

14) Then, go to Wamp folder, and open the Bin folder

15) Open Apache and Apache 2.2.11

16) Then, open the Conf folder

17) Open Extra

18) Find the httpd-vhosts.conf and make a copy in the same place (in Extra folder, just in case there's a problem I guess! There again, I only followed instructions)

19) Open this folder httpd-vhosts.conf and enter the following below ( it tells Windows where to find your site I think)


DocumentRoot "C:wamp/www
ServerName localhost

19) Then, install your site Drupal "whatever" at http: localhost/Drupal"whatever" (Whatever name you have given to your site)

P.S.: I forgot to tell you that you need to make sure that the "rewrite_module" option is ticked in Apache (control panel at the bottom of your screen, then you go to Apache, and Module, and tick it there if it's not ticked already. This is very important.

This is the simple installation. For my part, I was trying to achieve a multi-site installation, which is a bit longer than this one.

Hope that my explaination helps you!