Help - Search - Members - Calendar
Full Version: Aggregator Cron Do Not Import Feed
Web Design Seo Forum > 3D Web Design English Forum > Joomla Aggregator
Juan Vicente Pascual
Hi, i've just installed, the joomla aggregator, when i import feeds manually, it goes fine. when i try to load,
htt://xxxxxx.xxx/administrator/components/com_aggregator/cron.aggregator.php
i get this message.
Fatal error: Maximum execution time of 30 seconds exceeded in /home/cuervo/public_html/administrator/components/com_aggregator/helpers/cron.php on line 66

what can i do?

Thanks,
Best Regards.

Joomla 2.5.9
Version de Apache 2.2.23
Version de PHP 5.2.17
Version de MySQL 5.5.23-55

Web Design Seo
Please, read this post about crons and server load.

1. You must configure max_execution_time in your php.ini to 60 or more seconds.
2. You must configure feeds to be imported in different times. If only one feed is imported at once, 30 seconds can be enough.
Juan Vicente Pascual
Hi, i've done all of the tutorial, and i get this,


Warning: parse_url(http:///home/cuervo/public_html/administrator/components/com_aggregator/cron.aggregator.php): Unable to parse URL in /home/cuervo/public_html/libraries/joomla/string/string.php on line 968

Warning: Invalid argument supplied for foreach() in /home/cuervo/public_html/libraries/joomla/string/string.php on line 970
Not licensed for this domain!


Thanks,
Best Regards.
Juan Vicente Pascual
When i run,
[url="http://cuervolandia.com/administrator/components/com_aggregator/cron.aggregator.php"]
I get this,

Notice: Uninitialized string offset: 0 in /home/cuervo/public_html/administrator/components/com_aggregator/helpers/cron.php on line 172

Notice: Undefined offset: 8 in /home/cuervo/public_html/administrator/components/com_aggregator/helpers/cron.php on line 183

Thanks,
Best regards.
pavelKukov
You can see these notices only if you are not configured field cron in rss feed configuration!

In your case you should follow the following steps:


1. Create file named "mycron.php" at location /home/cuervo/public_html
2. Open file "/home/cuervo/public_html/mycron.php"
3. Add following code to it:
Код
<?php
$a = file_get_contents('http://cuervolandia.com/administrator/components/com_aggregator/cron.aggregator.php');
?>

4. Configure the cron task with this command:
/usr/local/bin/php -q /home/cuervo/public_html/mycron.php >> /dev/null
5. From admin panel configure cron jobs for desired feeds "Components > Aggregator Scraper > {Your RSS title} > Cron"
Juan Vicente Pascual
Thank, for your reply.
I'll configure it now.

Juan Vicente Pascual
Hi, if i put in cpanel,

/usr/local/bin/php -q /home/cuervo/public_html/mycron.php >> /dev/null

I get no error, and no email, but job in not been realized.

If I put in cpanel
/usr/local/bin/php -q /home/cuervo/public_html/administrator/components/com_aggregator/cron.aggregator.php

I get this,

Notice: Undefined index: HTTP_HOST in /home/cuervo/public_html/administrator/components/com_aggregator/controller.php on line 0

Notice: Undefined index: HTTP_HOST in /home/cuervo/public_html/administrator/components/com_aggregator/controller.php on line 0
Not licensed for this domain!

And job are not realized.

When I put this in web browser
http://cuervolandia.com/administrator/comp....aggregator.php

I get this
Notice: Undefined offset: 8 in /home/cuervo/public_html/administrator/components/com_aggregator/helpers/cron.php on line 183

and no job is realized,

How do I have to proceed?

thanks.
Web Design Seo
You can see these notices only if you are not configured field cron in rss feed configuration!

Configure this field in your rss feeds first:



Than import feed manual. If work ok, try automatically with cron.
Juan Vicente Pascual
Hi, thanks,

i've done all de configuration in cpanel and in the Aggregator Scraper Component, if i do a manual import it works fine, but every five minutes, in the error_log file, in /public_html/administrator/components/com_aggregator

i receive this

[07-May-2013 09:35:02] PHP Notice: Undefined offset: 8 in /home/cuervo/public_html/administrator/components/com_aggregator/helpers/cron.php on line 183

[07-May-2013 09:40:02] PHP Notice: Undefined offset: 8 in /home/cuervo/public_html/administrator/components/com_aggregator/helpers/cron.php on line 183

[07-May-2013 09:41:32] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/cuervo/public_html/administrator/components/com_aggregator/helpers/cron.php on line 65

[07-May-2013 09:45:02] PHP Notice: Undefined offset: 8 in /home/cuervo/public_html/administrator/components/com_aggregator/helpers/cron.php on line 183


thanks, fot your help.

Best Regards,
juanvi
Web Design Seo
Please, send me email from email used in your order to receive update with this notice fixed.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.

Web Analytics