Thanks cog I'll try that.<br><br>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.<br><br>Shai<br><br><div class="gmail_quote">
On Mon, Apr 28, 2008 at 5:56 PM, Cog Rusty <<a href="mailto:cog.rusty@gmail.com">cog.rusty@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Tue, Apr 29, 2008 at 12:24 AM, Shai Gluskin <<a href="mailto:shai@content2zero.com">shai@content2zero.com</a>> wrote:<br>
> This time I get the following in the cron email:<br>
><br>
> > Warning: main(./includes/bootstrap.inc): failed to open stream: No such<br>
> file or directory in /home/cmp/public_html/cron.php on line 9<br>
> ><br>
> > Warning: main(): Failed opening './includes/bootstrap.inc' for inclusion<br>
> (include_path='.:/usr/lib/php:/usr/local/lib/php') in<br>
> /home/cmp/public_html/cron.php on line 9<br>
> ><br>
> > Fatal error: Call to undefined function: drupal_bootstrap() in<br>
> /home/cmp/public_html/cron.php on line 10<br>
<br>
<br>
</div></div>You must run cron.php not as a file, but by accessing its URL with a<br>
local browser (wget, lynx, curl), as explained here:<br>
<br>
<a href="http://drupal.org/cron" target="_blank">http://drupal.org/cron</a><br>
<br>
The cause of this error is that you are running cron.php directly with<br>
php, so the current directory is not drupal and the "./" paths turn<br>
out wrong.<br>
<br>
<br>
> Thanks,<br>
><br>
> Shai<br>
><br>
><br>
><br>
><br>
> --<br>
> [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
><br>
<font color="#888888">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br>