![]() I don't think this is likely, but it's not hard to check. ![]() If the script can't find GD on the server, I would suspect that GD is not installed on the server. I did not have to modify the get_mail.php script at all. I ran get_mail.php in a cron job a few times with test e-mails I sent to the appropriate e-mail account, and it successfully created thumbnails from the pictures I attached as expected. Thanks!!Ī) No 'php -q', since that's in the get_mail.php script already.ī) No '~' shortcut for the '/home/cpanelName' directory.Ĭ) Replace 'cpanelName' with your CPanel username. My *guess* is that it has do with GD not being found when the script is executed from php rather than through the Web server via lynx or wget.Īnyone any ideas? I would hate having to switch to a Web hoster who supports lynx/wget just because of this. However, postie now fails to create thumbnails from the picturs and fails to adjust the size of the posted images. ![]() the emails are fetched from the POP# account). This works and the script is executed (i.e. */30 * * * * php -q ~/public_html/wp-content/plugins/postie/get_mail.php >/dev/null 2>&1 As we know, TCH doesn't support lynx or wget, so I tried to set-up a similar cron job on TCH using php by specifying I set-up a cron job at another Web hoster to call this script periodically. Postie requires periodic running of a php script named get_mail.php. posting photos from my cell phone on the road). I'm using the Postie plugin together with Wordpress for mobile blogging (i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |