![]() ![]() |
Apr 30 2013, 04:18 PM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 27 Joined: 30-April 13 Member No.: 1,675 |
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 |
|
|
|
May 1 2013, 05:57 AM
Post
#2
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,332 Joined: 29-April 09 From: Sofia Member No.: 1 |
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. -------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
|
May 2 2013, 08:37 PM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 27 Joined: 30-April 13 Member No.: 1,675 |
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. |
|
|
|
May 2 2013, 08:56 PM
Post
#4
|
|
|
Newbie ![]() Group: Members Posts: 27 Joined: 30-April 13 Member No.: 1,675 |
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. This post has been edited by Juan Vicente Pascual: May 3 2013, 02:43 PM |
|
|
|
May 7 2013, 07:49 AM
Post
#5
|
|
|
Php programmer ![]() ![]() ![]() ![]() Group: Administrators Posts: 285 Joined: 26-November 12 From: Bulgaria Member No.: 1,452 |
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" -------------------- Php programmer in 3D Web Design
|
|
|
|
May 7 2013, 08:52 AM
Post
#6
|
|
|
Newbie ![]() Group: Members Posts: 27 Joined: 30-April 13 Member No.: 1,675 |
Thank, for your reply.
I'll configure it now. |
|
|
|
May 7 2013, 11:16 AM
Post
#7
|
|
|
Newbie ![]() Group: Members Posts: 27 Joined: 30-April 13 Member No.: 1,675 |
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. |
|
|
|
May 7 2013, 12:09 PM
Post
#8
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,332 Joined: 29-April 09 From: Sofia Member No.: 1 |
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. -------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
|
May 7 2013, 02:50 PM
Post
#9
|
|
|
Newbie ![]() Group: Members Posts: 27 Joined: 30-April 13 Member No.: 1,675 |
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 |
|
|
|
May 8 2013, 06:52 AM
Post
#10
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,332 Joined: 29-April 09 From: Sofia Member No.: 1 |
Please, send me email from email used in your order to receive update with this notice fixed.
-------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 1st June 2026 - 11:39 PM |