Welcome Guest ( Log In | Register )

 Forum Rules Aggregators support
 
Reply to this topicStart new topic
> Cronjob Error In Aggregators, error in cronjobs
stiefen
post Aug 29 2010, 01:01 PM
Post #1


Newbie
*

Group: Members
Posts: 7
Joined: 21-August 10
Member No.: 222



Dear sir/madam,

Using this aggregator is extremely great!
Though, i have a problem.
When i open administrator/components/com_3daggregator/cron.3daggregator.php there is no problem, all feeds are feched.
But when i add it to my cronjob using the following line:
php -q /home/**CENSURED**/public_html/**CENSURED**/**CENSURED**/administrator/components/com_3daggregator/cron.3daggregator.php

i get the following errors:
HP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/**CENSURED**/public_html/**CENSURED**/**CENSURED**/libraries/joomla/session/session.php on line 423
<br />
<b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in <b>/home/**CENSURED**/public_html/**CENSURED**/**CENSURED**/libraries/joomla/session/session.php</b> on line <b>423</b><br />
PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/**CENSURED**/public_html/**CENSURED**/**CENSURED**/libraries/joomla/session/session.php:423) in /home/**CENSURED**/public_html/**CENSURED**/**CENSURED**/libraries/joomla/session/session.php on line 423
<br />
<b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/**CENSURED**/public_html/**CENSURED**/**CENSURED**/libraries/joomla/session/session.php) in <b>/home/**CENSURED**/public_html/**CENSURED**/**CENSURED**/libraries/joomla/session/session.php</b> on line <b>423</b><br />
Not licensed for this domain!

How could i fix this?

Go to the top of the page
 
+Quote Post
Web Design Seo
post Aug 29 2010, 05:04 PM
Post #2


Web Design Seo
****

Group: Root Admin
Posts: 4,165
Joined: 29-April 09
From: Sofia
Member No.: 1



stiefen, what is your version of aggregator?

We have 7 version of aggregators


Here is one similar question from user:


Цитат
I've made mycron.php in main directory
www.site.com/mycron.php

Next I've made a cronjob in command line (attached printscreen) - once a
week. Next I've set cron in 3d aggregator ( every day at 0:05)

Код
5 * * * 1



My answer:

Settings in cpanel are wrong. Now your import is scheduled at 0 hour at monday only.

1. First configure cron in your host control panel (cpanel or other).
Must be something like this:

*/3 * * * * - every third minute
*/5 * * * * - every five minute

Now cron is running at every 5 minute and check in list in rss feeds in aggregator. If you want to see what happened and run cron or not, enter in cron in cpanel at top your email. Or just open url address first in your browser to test:
Код
http://your-joomla-aggregator-site.com/administrator/components/com_3daggregator/cron.3daggregator.php



2. Now must be configured cron in agggregator.
If some feed is configured to run in admin and time of feed is achieved, feed is imported.


This ( 5 0 * * * ) will import feed once daily at 05 minute in zero hour at night.



--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post
stiefen
post Aug 29 2010, 06:17 PM
Post #3


Newbie
*

Group: Members
Posts: 7
Joined: 21-August 10
Member No.: 222



QUOTE (3D Web Design @ Aug 29 2010, 05:04 PM) *
stiefen, what is your version of aggregator?

We have 7 version of aggregators



Sorry, i bought PRO last weekend
Go to the top of the page
 
+Quote Post
Web Design Seo
post Aug 29 2010, 07:22 PM
Post #4


Web Design Seo
****

Group: Root Admin
Posts: 4,165
Joined: 29-April 09
From: Sofia
Member No.: 1



This message:
Цитат
Not licensed for this domain!

Is shown if you install component on not licensed domain. I quote from Extension info:

Цитат
License is for 1 Domain name. You can use our Component on single Domain and on its Subdomains.


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post
stiefen
post Aug 31 2010, 08:44 AM
Post #5


Newbie
*

Group: Members
Posts: 7
Joined: 21-August 10
Member No.: 222



QUOTE (3D Web Design @ Aug 29 2010, 07:22 PM) *
This message:

Is shown if you install component on not licensed domain. I quote from Extension info:


I dont use it on a sub domain but on sub directories:
mydomain.com/folder1

that should work as the domain is still the same?
Go to the top of the page
 
+Quote Post
Web Design Seo
post Sep 1 2010, 06:42 AM
Post #6


Web Design Seo
****

Group: Root Admin
Posts: 4,165
Joined: 29-April 09
From: Sofia
Member No.: 1



Yes, should work. Send me real example, please. Site where you installed cmponent and subfolder. Where You see this message - in administration or in cron?

If you dont want to post it here, send me PM.


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post
stiefen
post Sep 21 2010, 07:59 AM
Post #7


Newbie
*

Group: Members
Posts: 7
Joined: 21-August 10
Member No.: 222



QUOTE (3D Web Design @ Sep 1 2010, 07:42 AM) *
Yes, should work. Send me real example, please. Site where you installed cmponent and subfolder. Where You see this message - in administration or in cron?

If you dont want to post it here, send me PM.


Sorry, it didnt go as fast as i wished.
My domain including the component is www.newzcatcher.com/nl
The message is a return after running the cron to my email. This is generated in cpanel, not in joomla
Go to the top of the page
 
+Quote Post
Web Design Seo
post Sep 22 2010, 07:23 AM
Post #8


Web Design Seo
****

Group: Root Admin
Posts: 4,165
Joined: 29-April 09
From: Sofia
Member No.: 1



stiefen, i see that cron and component work fine, make this:

- remove your email from cron part of cpanel.

- Make sure that you have enter >> /dev/null at end of command - like this:
Код
curl -sS "http://your-joomla-aggregator-site.com/administrator/components/com_3daggregator/cron.3daggregator.php" >> /dev/null



--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post
stiefen
post Sep 23 2010, 01:37 PM
Post #9


Newbie
*

Group: Members
Posts: 7
Joined: 21-August 10
Member No.: 222



QUOTE (3D Web Design @ Sep 22 2010, 08:23 AM) *
stiefen, i see that cron and component work fine, make this:

- remove your email from cron part of cpanel.

- Make sure that you have enter >> /dev/null at end of command - like this:
CODE
curl -sS "http://your-joomla-aggregator-site.com/administrator/components/com_3daggregator/cron.3daggregator.php" >> /dev/null


i get the following error: /bin/sh: /usr/bin/curl: Permission denied

are there any other options?
Thanks
Go to the top of the page
 
+Quote Post
Web Design Seo
post Sep 23 2010, 07:24 PM
Post #10


Web Design Seo
****

Group: Root Admin
Posts: 4,165
Joined: 29-April 09
From: Sofia
Member No.: 1



If you have problems with cron (automatic import) this is simple way to solve the problem.

1 Create file with name mycron.php
2 Code for php file (example for joomla aggregator pro):
Код
<?php
$a = file_get_contents('http://your-joomla-aggregator.com/administrator/components/com_3daggregator/cron.3daggregator.php');
?>


Code for Aggregator Gold and Platinum versions:

Код
<?php
$a = file_get_contents('http://your-joomla-aggregator-site.com/administrator/components/com_aggregator/cron.aggregator.php');
?>


3. Upload file mycron.php in your public_html
4. Create cronjob in your cpanel with command:
Код
/usr/local/bin/php -q /relative path to host directory/public_html/mycron.php >> /dev/null


You can see "relative path to host directory" in cpanel like in this screen:



Ready.


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Collapse

> Similar Topics

  Topic Replies Topic Starter Views Last Action
No New Posts Error [111] [connection Refused]
[solved]
2 Jan van Kuijk 18,707 17th September 2016 - 07:13 AM
Last post by: Jan van Kuijk
No New Posts Error In Sports Predictions For Joomla 3
I've installed on Joomla 3 component Sports Predictions
1 Mei3am 4,146 5th June 2014 - 06:10 AM
Last post by: Web Design Seo
No New Posts Error Joomla Seo Microformats
1 manolo 4,449 15th January 2014 - 07:19 AM
Last post by: Web Design Seo
No new Errors In Post By Mail With K2
10 BjoernS 7,047 6th January 2014 - 09:04 AM
Last post by: pavelKukov
No New Posts Error Post By Email
1 DFCDay 2,957 9th December 2013 - 08:16 AM
Last post by: Web Design Seo
No new Error: ***error (com_kunena) Unable To Post Message: Cannot Save Topic: Category 0 Doesn't Exist!
7 Marlon 5,367 2nd December 2013 - 05:18 PM
Last post by: Marlon
No new Error On Manual Starting The Cron.aggregator.php
13 ataman79 6,246 7th October 2013 - 12:55 PM
Last post by: ataman79
No new Error While Trying To Import Feed
6 mkrokos 14,343 11th September 2013 - 06:15 AM
Last post by: Web Design Seo
No New Posts Error (com_kunena) Unable To Post Message : Category Not Found
3 speleo 5,185 26th August 2013 - 11:01 PM
Last post by: speleo
No New Posts Error When Istalling Sport Predictions Script On Joomla
1 vmaiello 3,616 25th August 2013 - 03:39 PM
Last post by: vmaiello


 



RSS Lo-Fi Version Time is now: 14th November 2019 - 01:58 AM
Clicky Web Analytics