![]() ![]() |
Oct 26 2010, 03:05 PM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 19 Joined: 21-October 10 Member No.: 307 |
The aggregator doesn't import new feeds automatically. I have to manually import them, and then it publishes the feeds every 5 minutes as is set in the cron. How can i get this (aggregator platinum) to import automatically? Also, i have to error string just above the component when i click on a feed: Notice: Undefined variable: row in /var/www/vhosts/MyDomain/httpdocs/administrator/components/com_aggregator/views/aggregator/tmpl/default_new.php on line 108 Notice: Trying to get property of non-object in /var/www/vhosts/MyDomain/httpdocs/administrator/components/com_aggregator/views/aggregator/tmpl/default_new.php on line 108 Add RSS Feed Could this be the reason? Thank you. This post has been edited by coffeeholic: Oct 26 2010, 03:08 PM |
|
|
|
Oct 26 2010, 05:03 PM
Post
#2
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,332 Joined: 29-April 09 From: Sofia Member No.: 1 |
coffeeholic, guide to import automatically is here, at description page of component:
Joomla Aggregator Platinum description Цитат Notice: Undefined variable: row in /var/www/vhosts/MyDomain/httpdocs/administrator/components/com_aggregator/views/aggregator/tmpl/default_new.php on line 108 You got this with error reporting at maximum? No, this is not reason, this is only notice, not error. -------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
|
Oct 27 2010, 10:42 AM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 19 Joined: 21-October 10 Member No.: 307 |
coffeeholic, guide to import automatically is here, at description page of component: Joomla Aggregator Platinum description You got this with error reporting at maximum? No, this is not reason, this is only notice, not error. Thanks for the quick answer! I'm pretty sure i have set this right, but please correct me if i'm wrong. "Publish Content Automatically" is set to "Yes". Cronjob is set to five minutes: "*/5 * * * *" Publish Duration (days) is set to "100" These settings tells the system to Import and Publish the content 5 minutes, and keep the feed published for 100 days, right?, or am i missing something here? I couldn't see anything else that i should activate, deactivate or configure.. Btw. The notice i thought was an error msg. What does it meen? Thanks |
|
|
|
Oct 27 2010, 01:31 PM
Post
#4
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,332 Joined: 29-April 09 From: Sofia Member No.: 1 |
In cronjob this:
Код */5 * * * * is in cpanel or in options of feed in component?If in cpanel, ok. But if this code is in component - this say component to import this feed every 5 minutes and this is wrong. No way to import some rss so often. Publish Duration (days) is set to "100" - imported in website content articles are published for 100 days. Short guide to work automatic import: Step 1: Create file with name mycron.php. Code for this php file: Код <?php $a = file_get_contents('http://yoursite.com/administrator/components/com_aggregator/cron.aggregator.php'); ?> Upload file mycron.php in your public_html. Step 2: Configure cpanel cron. Open this page in cpanel and configure cronjob that activate automatic work of WordPress Aggregator Pro: Код www.your-Aggregator-website.com:2082/frontend/x3/cron/index.html Create cronjob in your cpanel with command: Код /usr/local/bin/php -q /relative path to your host directory/public_html/mycron.php >> /dev/null Time of import must be on every 5 or on every 15 minutes. Example: */5 * * * * Step 3: Configure cron part for every entered rss feed in admin Open url address: /administrator/index.php?option=com_aggregator , enter in tab cron of every feed in "Cron" part to import at your schedule. Example: 30 * * * * - this will import this feed at every 30 minutes. No need to say aggregator to import often than 15-30 minutes. All is ready -------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
|
Oct 27 2010, 02:47 PM
Post
#5
|
|
|
Newbie ![]() Group: Members Posts: 19 Joined: 21-October 10 Member No.: 307 |
Thank you very much!
The cronjob is set in the component, and not the server. Ok, i can create that file, and upload it to our server, but we don't have cPanel, we have Plesk.. I know i'm asking a lot of questions, but i don't have much experience with this kind of things, so most of this is pretty "Greek" to me. How am i gonna do this in Plesk? I am completly lost with all of this ![]() |
|
|
|
Oct 27 2010, 03:24 PM
Post
#6
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,332 Joined: 29-April 09 From: Sofia Member No.: 1 |
If you want to execute cronjob every 5 minute:
Minute: /5 Hour and others: * And in Command field: Код /usr/local/bin/php -q /relative path to your host directory/public_html/mycron.php >> /dev/null
-------------------- Правила на форума | 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 - 10:20 PM |