On Fri, Aug 08, 2008 at 01:12:25PM -0400, Paul Swider wrote:
> Thanks for the link. I'm trying to create a full-featured citizen
> journalism site in Drupal 6.2/3 but am not that technically adept and keep
> running into problems. The error messages usually feature a string of
> codes like this
> Fatal error: Call to undefined function:
> locale_initialize() in /usr/local/4admin/apache/vhosts/swider.net/addon/thedeerhaveguns.com/modules/subscriptions/subscriptions_mail.module
> on line 185
> I don't really know what to do with that, but recognize the path as part
> of a linux directory structure, so I'm asking here for help. Maybe it's a
> php problem, but I'm even more lost on that. I think I just need a little
> help to get over my fear of breaking stuff.
> If this is the wrong list for this query, I'm sorry. But if anyone wants
> to lend a hand, I'd be grateful.
For what it's worth, in most languages (including PHP), the sequence is:
1) you define a function, what it does, what arguments it takes, etc.,
then later 2) you call the function in order to have it do whatever work
it's supposed to do.
In your case, subscriptions_mail.module is calling the
locale_initialize() function. Some file (call it x.php) contained a
definition of this function. In the process of running
subscriptions_mail.module, 20 or 50 other files were loaded and
evaluated, one of which should have been x.php. But for some reason,
this file wasn't loaded, and so the function wasn't defined by the time
it was called.
There are two reasons for this to happen. First, it's a bug. Someone
changed some code and neglected to update some other files or something
of the sort. Second, your installation is Drupal and/or whatever else is
broken. *How* it's broken is unknown, but somehow either the file you
need isn't getting read when it's supposed to, or the function's been
renamed or something of the sort.
This is just a general look. Not knowing anything about the code, I
can't tell you how to proceed. But at least you hopefully have some idea
of what's going on under the covers.
-- Paul M. Foster ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:30:04 EDT