Hi,

i got this error after install xampp and start xampp.

create a folder in home folder and link to /opt/lampp/htdocs/

when access http://localhost/username/drupal-6.14/install.php

Deprecated: Function ereg() is deprecated in /home/aik/public_html/drupal-6.14/includes/file.inc on line 902

Warning: Cannot modify header information - headers already sent by (output started at /home/aik/public_html/drupal-6.14/includes/file.inc:902) in /home/aik/public_html/drupal-6.14/includes/install.inc on line 618

Warning: Cannot modify header information - headers already sent by (output started at /home/aik/public_html/drupal-6.14/includes/file.inc:902) in /home/aik/public_html/drupal-6.14/includes/install.inc on line 619

anyone can advise on this?
i am lost
cannot reach the drupal/install.php

using OS ubuntu 9.04

Comments

dbeall’s picture

seuzo’s picture

i try http://localhost/aik/drupal-6.14/install.php

same error above.

try http://localhost/drupal-6.14

having object not found
error 404

dbeall’s picture

I really am not sure on this. I would check on Ubuntu forum and see if they might know. I have Ubuntu also, but I'm not that informed with it because I don't use it much, mostly xp box.

dbeall’s picture

Have a look at this post, may be the trouble.
http://drupal.org/node/128832
Talks about:
>Cannot modify header information - headers already sent
>have you edited any php file by hand?
>this will usually happen when you accidentally left a blank space before <?php in any file. check for this.

And this post:
http://drupal.org/node/514334
Talks about:
>Function ereg() is deprecated

seuzo’s picture

But i did not edited php file by hand.

Is a new installation. is possible to happen?

dbeall’s picture

Some errors will trigger additional errors when the actual problem is the first error.
You are using xamp, and a different version of xamp may be the answer.
I don't use xamp on Ubuntu since it is Linux and will serve http with added packages from Ubuntu.
On XP, I use wamp because it is just easier than xamp.

Warmiboa’s picture

I am having the same problem. It is a new installetion, so I did not modified any file...
Anybody?
I am new in Drupal, but cannot install it... cuek..

dbeall’s picture

I didn't think to ask about what version of PHP your running.. If it's 5.3, downgrade to 5.2*

Warmiboa’s picture

Sorry, I forgot to put the specifications:
I have installed XAMPP1.7.2 and Drupall 6.14 in my Ubuntu Jaunty

I have tried to find an older version of the XAMPP package, expecting to get and older version of PHP that way, but had no luck...
I wouldn't know how to change my PHP version in any other way... could you help me with that?
thanks a lot

dbeall’s picture

xamp 1.72 has PHP5.3

http://sourceforge.net/projects/xampbase/files/
What you need is xamp 1.71, has PHP 5.29

Source forge is a crappy place for getting specs on the downloads.
It was great over a year ago, but since they changed, it just isn't what it was.

dbeall’s picture

Warmiboa’s picture

OK found it here http://sourceforge.net/projects/xampp/files/
I am running lampp 1.7.1 and still getting the same error while trying to run Drupal 6.14:

Deprecated: Function ereg() is deprecated in /home/levogyre/Sites/fractalight/includes/file.inc on line 902

dbeall’s picture

I don't have an Ubuntu machine to test with right now, my video card burned out.. It will be a few days before the new gets here.
Maybe try this set up from Lullabot
http://www.lullabot.com/videocast/install-local-web-server-ubuntu

ravis’s picture

yes, your problem is because of PHP version. Use 5.2.X version and your problem will be solved.

I work at Drupar.com