Does anyone know what is the problem? thanks for replies.
Looks odd as define() is part of PHP. Unless you are doing something non-standard, bootstrap.inc gets included by index.php which implies you have PHP installed so not sure what the source of your problem is.
What are you doing when you get the error?
I just caught this issue happening on a faulty php process. Doing a "killall php" to wipe them got rid of the errors.
This is naturally hard to spot but not having basic php functions hinted for a restart. (even phpinfo() fails :/)
You only need to kill em while using php processes separate of httpd, as with mod_fcgi.
Since any bad processes tend to linger around, appear intermitently, and not even show on logs, it is good measure to restart them periodically.
Comments
Looks odd as define() is part
Looks odd as define() is part of PHP. Unless you are doing something non-standard, bootstrap.inc gets included by index.php which implies you have PHP installed so not sure what the source of your problem is.
What are you doing when you get the error?
I just caught this issue
I just caught this issue happening on a faulty php process.
Doing a "killall php" to wipe them got rid of the errors.
This is naturally hard to spot but not having basic php functions hinted for a restart.
(even phpinfo() fails :/)
You only need to kill em while using php processes separate of httpd, as with mod_fcgi.
Since any bad processes tend to linger around, appear intermitently, and not even show on logs, it is good measure to restart them periodically.