Deprecated errors

7 views
Skip to first unread message

Newark Museum

unread,
Jul 8, 2011, 11:06:04 AM7/8/11
to Dashboard Discussion
In install version 5.23 of Drupal and this is the error I am getting.
I ran the cron.php but still errors are appearing all over the place.
Did in install the wrong version of Drupal 5.x?

•: Function ereg() is deprecated in /home/newarkda/public_html/
includes/file.inc on line 646

Charlie Moad

unread,
Jul 8, 2011, 11:14:03 AM7/8/11
to museum-dashb...@googlegroups.com
I believe Drupal 5 has been upgraded to handle PHP 5.3, but indeed ereg has been deprecated in PHP 5.3. That doesn't mean you cannot use that function, but you are just being warned that it might be removed from a future version of PHP. It might be that your PHP warning level is too high for Drupal. Refer to http://php.net/manual/en/errorfunc.configuration.php on how to configure your runtime warnings. Notably, you should probably set "display_errors" to "0".

- Charlie

-----Original Message-----
From: museum-dashb...@googlegroups.com [mailto:museum-dashb...@googlegroups.com] On Behalf Of Newark Museum
Sent: Friday, July 08, 2011 11:06 AM
To: Dashboard Discussion
Subject: Deprecated errors

In install version 5.23 of Drupal and this is the error I am getting.
I ran the cron.php but still errors are appearing all over the place.
Did in install the wrong version of Drupal 5.x?

*: Function ereg() is deprecated in /home/newarkda/public_html/
includes/file.inc on line 646

--
You received this message because you are subscribed to the Google Groups "Dashboard Discussion" group.
To post to this group, send email to museum-dashb...@googlegroups.com.
To unsubscribe from this group, send email to museum-dashboard-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/museum-dashboard-discuss?hl=en.

________________________________

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact Charlie Moad by reply email and destroy all copies of the original message.

zzwebmaster

unread,
Jul 8, 2011, 12:53:51 PM7/8/11
to museum-dashb...@googlegroups.com
I set the "Error Reporting" to "write errors to the log" This got rid of
the PHP error messages but this might fill up the error log file (there
should be an option to turn off error reporting). I submitted a request
to my web host to have them turn off the "Display error" in PHP since I
don't have access the PHP.ini file.

Also I wanted to configure "CRON" but all of the links on the
DashboardInstallation do not work. Does anyone have the updated links?

Since most users who install this will most likely have PHP 5.3
installed the "write errors to the log" should be the default. Also I
did some reading and it looks like you can set the ".htaccess" to turn
off PHP "Display Errors" but I did not have any luck with this but
someone who has better knowledge with updating the .htaccess file may be
able update the file.

The code that I found was:
# display PHP errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off


Thanks for the help;
Raymond

Reply all
Reply to author
Forward
0 new messages