• I’ve been trying to set up the blog by email feature, ready for my international trip in a couple of weeks, so that I can simply add to the blog by emailing from an icafe.
    however, I’m having some problems.
    Cron jobs is reporting this error:

    public_html/bensblog/b2mail.php: line 1: ?php: No such file or directory
    public_html/bensblog/b2mail.php: line 6: syntax error near unexpected token 'wp-config.php''
    public_html/bensblog/b2mail.php: line 6:
    require_once(‘wp-config.php’);’

    Any ideas for what I’m doing wrong?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter basilisk

    (@basilisk)

    Nobody has any ideas? I’ve done a thorough search of this forum, and come up with nothing, except to find that at least one other person has had the exact same problem. Unfortunatly, no one replied to his post.
    Please, any help?

    This sounds as if you tried to have the PHP script executed by the shell. How is your script called within the cronjob?

    Thread Starter basilisk

    (@basilisk)

    Actually, no, it’s not working. b2mail.php is working fne, if i manually point there then everything updates. But somewhere along the line, the CronJob is failing.
    Thsi is how I have things set up:
    Picture
    Anything wrong there?

    Thread Starter basilisk

    (@basilisk)

    Sorted it. Was using wrong stuff for cron job.
    Now using
    GET http://domain/dir/b2mail.php > /dev/null
    and it works fine 🙂

    Could you give some more information on what you did to setup this job through CPanel? Maybe that’ll contain the information needed to help you…
    cu, otaku

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Blog by email problem’ is closed to new replies.