[support] My Week for Cron Problems -- this time "failure to open

Shai Gluskin shai at content2zero.com
Mon Apr 28 23:52:08 UTC 2008


Thanks cog I'll try that.

I'm doing it the other way on several accounts on the same server and it is
working. Why would it work on some accounts and not on others.

Shai

On Mon, Apr 28, 2008 at 5:56 PM, Cog Rusty <cog.rusty at gmail.com> wrote:

> On Tue, Apr 29, 2008 at 12:24 AM, Shai Gluskin <shai at content2zero.com>
> wrote:
> > This time I get the following in the cron email:
> >
> > > Warning: main(./includes/bootstrap.inc): failed to open stream: No
> such
> > file or directory in /home/cmp/public_html/cron.php on line 9
> > >
> > > Warning: main(): Failed opening './includes/bootstrap.inc' for
> inclusion
> > (include_path='.:/usr/lib/php:/usr/local/lib/php') in
> > /home/cmp/public_html/cron.php on line 9
> > >
> > > Fatal error: Call to undefined function: drupal_bootstrap() in
> > /home/cmp/public_html/cron.php on line 10
>
>
> You must run cron.php not as a file, but by accessing its URL with a
> local browser (wget, lynx, curl), as explained here:
>
> http://drupal.org/cron
>
> The cause of this error is that you are running cron.php directly with
> php, so the current directory is not drupal and the "./" paths turn
> out wrong.
>
>
> > Thanks,
> >
> > Shai
> >
> >
> >
> >
> > --
> >  [ Drupal support list | http://lists.drupal.org/ ]
> >
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080428/e8f9827c/attachment.htm 


More information about the support mailing list