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

what is this problem ?

Comments

davidhernandez’s picture

What version of php are you using? You can see this if you are using 5.3

Enzman’s picture

Hi, the issue is likely to be php 5.3.0 not compatible with Drupal 6. Wamp server ships with php 5.3.0 as standard.

(I don't have an answer as I am looking for a solution myself - I will not install a local host until issue is resolved.)

Enzman’s picture

I will be trying Acquia Drupal Stack Installer instead. The documentation needs to be updated / changed or there will be more of these issues. See issues / local hosting / documentation. http://drupal.org/node/571912

Enzman’s picture

Update to the documentation:

****************************************************
Drupal 6 Caution
Drupal 6 and PHP 5.3 will not work. If you must run an older version of PHP, please download an appropriate older version of Wampserver. You can find older versions of WAMP5 and WAMPSERVER2 on this page http://sourceforge.net/projects/wampserver/files/ . Just click on WAMP5 or WAMPSERVER2 for the complete file listings.

For example, Wampserver2.0h is running PHP 5.2.9-2 on a Windows Vista machine and Drupal 6 works fine.
****************************************************
Source = http://drupal.org/node/263

mshr_06’s picture

i m installing drupal 6.9 on wamp server
I followed the following steps:

first I extract the drupal 6.9 and i put zip files of drupal forder on a folder named "public_html" .
step 2 :
I go to site folder in public_html folder and change default.settings.php to settings.php

step 3:
i create a data base named "drupal test"

step 4 :
on the drupal installation page i filled

database name : drupaltest

if any one have the solution to this then please mail me that link or solution
on mshr_06@yahoo.co.in
username : root
password:(i do not have password)

then i submit this

but the problem is that after that nothing happen the page for database name
in step 4 the page is refreshed
so i am unable to move further

so please help me so that i can install drupal on wamp server and take the advantage drupal .

luisferfranco’s picture

1. I'm using WAMP (PHP 5.2.8, MySQL 5.1.30)

2. I downloaded Drupal 6.14, and expanded it under c:\wamp\www\drupal

3. Changed default.settings.php to settings.php

4. In mySQL I created an empty database named "drupal". I also created a user "drupal" with password "drupal123" with all privileges.

5. Browser to http://127.0.0.1/drupal and the instalation begins, it goes to the following page:

http://img697.imageshack.us/img697/8448/drupal.png

I entered the following:
Database Name: drupal
Database Username: drupal
Database Password: drupal123

Click "Save and Continue", it does "something" and goes to step 5 clearing all fields.

Any idea?

luisferfranco’s picture

1. Go to any HTML/PHP editor (I use Dreamweaver)

2. Open .../sites/default/settings.php (assuming you have already renamed the file)

3. Go to line 92 and edit it, in my case the "db_url" (check my settings in the message above) is "mysql://drupal:drupal123@localhost/drupal"

4. Set your browser to http://127.0.0.1/drupal or wherever your Drupal installation is, it will continue without problems

I think there is a problem with some program writing to the filesystem, I don't plan to watch which one is, my installation is now running.

Good luck

einsteinsboi’s picture

You're courting trouble with this solution. DON'T rename default.settings.php. What you need to do is make a copy of it and then rename the copy to settings.php. Both files need to be there. You shouldn't need to manually edit anything in those files, the settings will be entered by Drupal on installation.

Seekfirstweb’s picture

Many thanks for the above solution. After I read it, I went back and removed the renaming on default.settings.php. When I went back to continue the Drupal installation, everything worked fine.

Seekfirst

electronicmonkey’s picture

I tried installing Drupal 6 on Wampserver2 and got Error 500 Internal Server error

einsteinsboi’s picture

Can you give some more details? How far in the install process did you get before getting this error? What url are you loading when you get the error? What does your folder structure look like? Is Wampserver started and running when you get this error?

electronicmonkey’s picture

Thanks I removed the .htaccess file and it worked ok