...on the off chance anyone is clued up on the above.
[brief description of setup]
IIS7 running latest MySQL and versions of PHP, the site in question is running Jooomla 1.5
I'm using MS Task Scheduler to run this batch file (cron.bat):
and here is cron.feedgator.php:
Long story short, I have to use this component (feedgator) as it grabs RSS feeds in a specific way no others do. Other components run their cron's without fail, but feedgators just doesn't seem to do anything even when I manually run the cron.bat
Q. How do I "see" any error's created by cron.feedgator.php? I have tried manually navigating to \administrator\components\com_feedgator\cron.feedgator.php with PHP error reporting turned ON but it creates nothing, no errors... Anyone have any ideas of what could be wrong by glancing through it and how I could debug it???
[brief description of setup]
IIS7 running latest MySQL and versions of PHP, the site in question is running Jooomla 1.5
I'm using MS Task Scheduler to run this batch file (cron.bat):
SET PATH="E:\php"
start php.exe E:\www\AMD\administrator\components\com_feedgator\cron.feedgator.php
and here is cron.feedgator.php:
<?php
php
/**
* FeedGator - Aggregate RSS newsfeed content into a Joomla! database
* @version 2.3.2
* @package FeedGator
* @author Original author Stephen Simmons
* @now continued and modified by Matt Faulds, Remco Boom & Stephane Koenig and others
* @email [email protected]
* @Joomla 1.5 Version by J. Kapusciarz (mrjozo)
* @copyright (C) 2005 by Stephen Simmons - All rights reserved
* @license GNU/GPL: http://www.gnu.org/copyleft/gpl.html
*
**/
define( '_JEXEC', 1 );
define('DS', DIRECTORY_SEPARATOR);
define('JPATH_ROOT', substr(__FILE__,0,strrpos(__FILE__, DS.'administrator')));
define('JPATH_BASE', JPATH_ROOT.DS.'administrator');
define('JPATH_COMPONENT', JPATH_BASE.DS.'components'.DS.'com_feedgator');
@require_once( JPATH_BASE.DS.'includes'.DS.'defines.php' );
require_once( JPATH_BASE.DS.'includes'.DS.'framework.php' );
require_once( JPATH_BASE.DS.'includes'.DS.'helper.php' );
require_once( JPATH_BASE.DS.'includes'.DS.'toolbar.php' );
$mainframe = &JFactory::getApplication('site');
$mainframe->initialise();
define('FG_VERSION', '2.3.2');
$version = new JVersion();
define('J_VERSION', $version->getShortVersion());
require_once ( JPATH_COMPONENT.DS.'controller.php');
require_once ( JPATH_COMPONENT.DS.'factory.feedgator.php');
require_once ( JPATH_COMPONENT.DS.'helpers'.DS.'feedgator.helper.php');
require_once ( JPATH_COMPONENT.DS.'helpers'.DS.'feedgator.utility.php');
if(file_exists(JPATH_ROOT.DS.'plugins'.DS.'system'.DS.'addkeywords.php')) {
require_once( JPATH_ROOT.DS.'plugins'.DS.'system'.DS.'addkeywords.php' );
}
FeedgatorUtility:[:p]rofiling('Start cron');
define('SPIE_CACHE_AGE', 60*10);
require_once( JPATH_ROOT.DS.'libraries'.DS.'simplepie'.DS.'simplepie.php');
require_once(JPATH_COMPONENT.DS.'inc'.DS.'simplepie'.DS.'overrides.php');
FeedgatorUtility:[:p]rofiling('Loaded SimplePie');
JRequest::setVar('task','cron','get');
JRequest::setVar(JUtility::getToken(),'1','get');
$controller = new FeedgatorController();
$controller->import('all');
FeedgatorUtility:[:p]rofiling('End');
echo 'Import finished';
?>
Q. How do I "see" any error's created by cron.feedgator.php? I have tried manually navigating to \administrator\components\com_feedgator\cron.feedgator.php with PHP error reporting turned ON but it creates nothing, no errors... Anyone have any ideas of what could be wrong by glancing through it and how I could debug it???