![]() ![]() |
Jul 17 2013, 08:11 AM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 7 Joined: 2-April 13 Member No.: 1,639 |
I have a couple of sites that this works beautifully on. I use curl in the cron job under cpanel with Justhost.com. On one site I have exactly the same setup but it will not work. The curl command is: curl -sS "http://thetfordgolfclub.co.uk/administrator/components/com_post_by_email/cron.post_by_email.php" >> /dev/null Just as in all the documentation. On my other sites I can put the http: part in a web browser and run it and it will show me the output. But for the thetfordgolfclub site it will not run. I get a blank screen with no processing at all. If I run the import from the backend of joomla it runs and imports the emails to post by email. Have you any idea what the problem might be. I have already uninstalled and reinstalled to no avail. I have also checked the permissions on the cron.post_by_email.php and they are set to 644 the same as my other installations. Regards, Chris White. |
|
|
|
Jul 17 2013, 08:24 AM
Post
#2
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,332 Joined: 29-April 09 From: Sofia Member No.: 1 |
If you open manual url of cron job and cron is working, problem is not in component. Is supported curl or not is due only on your server configuration.
If curl not work, use php in this way: Код /usr/local/bin/php -q /relative path to host directory/public_html/administrator/components/com_post_by_email/cron.post_by_email.php >> /dev/null
-------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
|
Jul 17 2013, 12:06 PM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 7 Joined: 2-April 13 Member No.: 1,639 |
The only way that I can get this to work is by going into the backend of joomla and to the Post by email component and clicking on the import icon. This then pulls the emails into joomla.
If I put the url into a browser nothing happens. It normally comes up with a message that says something like: 0 emails were processed (home) in 0 seconds. Or is that just with joomla version 3? Regards, Chris. P.S. I will try the php cron job again. I have put a info.php file in the same directory and that brings up the php config if you want to check my config. |
|
|
|
Jul 17 2013, 12:30 PM
Post
#4
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,332 Joined: 29-April 09 From: Sofia Member No.: 1 |
Switch on error reporting at max and open url again.
-------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
|
Jul 17 2013, 12:33 PM
Post
#5
|
|
|
Newbie ![]() Group: Members Posts: 7 Joined: 2-April 13 Member No.: 1,639 |
Switch on error reporting at max and open url again. Having changed to php 5.4 and now using the php cron version it has started working!!! Thanks for the rapid support. Sorry not to have been able to get the curl version to work as that is easier to see something happening. Regards, Chris. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 1st June 2026 - 11:11 PM |