Posted by littlepeachboy on July 8, 2009 at 10:06am
Hi Guys
I am a newbie.
I am running Drupal using Mowes portable.
When I installed Drupal, everything seemed to work except it is giving me an error
# : Function ereg() is deprecated in C:\Program Files\Drupal\www\drupal\includes\file.inc on line 895.
I get a whole bunch of them. I have reinstalled many times with the same result.
I can do most things but I can get to my reports and run status and am unable to run cron.
please help
Comments
This function is really deprecated.
As of PHP 5.3.0, IIRC, ereg extension is deprecated (changelog). Seems like somebody updated your PHP version :)
It must be notice though, not error.
Open includes/file.inc and change
eregtopreg_match.Thanks for your help but it
Thanks for your help but it just gave me a new error
warning: preg_match(): Delimiter must not be alphanumeric or backslash in C:\Program Files\Drupal\www\drupal\includes\file.inc on line 895.
I'm also having this problem.
I'm also having this problem. Can anyone tell me how to update the file_scan_directory function?
I have exactly the same problem
I changed to preg_match and received the same new error..
Same error here
Thanks!
http://www.universalpantograph.com
same error what to do
i am also facing same error what to do
same here
subscribing
http://SocialNicheGuru.com
Creating gurus to deliver the right product and the right message to the right niche at the right time
Go to line 895 and change
Go to line 895 and change to:
elseif ($depth >= $min_depth && preg_match("/$mask/", $file)) {
See
http://drupal.org/node/514334
José San Martin
http://www.chuva-inc.com/