Thank you for your quick response,
I have looked at the code, and beleive the code behind $this->uploadPhoto() was depreciated in the last patch.
I am running wordpress 3.0.1 and PhotoQ 1.9 and ahve wp-cache and googleanalytics as active plugins. and i run a modified iQ2 theme.
I have moved the cron file into the root of the wordpress install that also has the wp-config.php file.
I have looked at the class and noticed the function is missing inside that PhotoQQueue.php class. and have tried to search all the classes local to that file and it appears to be missing, or possibly renamed.
I currently have
ftp upload enabled
when cronjob runs, auto add ftp uploads to queue.
and enable batch uploads enabled and delete image files from server when deleting posts.
I have tested the cron job with no files int he ftp folder and it works and makes the post when i transfer files from the ftp folder to the queue manually, but the automatic process is broken.
I can dig into the plugin deeper but figured that it would be best to get the bug report out, and see if you have a quicker response than me digging through the code that moves the ftp import code.
private function _addFTPUploadsIfCronOptionSet(){
if( $this->_oc->onCronImportFTPUploadsToQueue() ){
$ftpDir = $this->_oc->getFTPDir();
if (is_dir($ftpDir)) {
$ftpDirContent = PhotoQHelper::getMatchingDirContent($ftpDir,'#.*\.(jpg|jpeg|png|gif)$#i');
foreach ($ftpDirContent as $ftpFile)
$this->uploadPhoto(basename($ftpFile), '', $ftpFile);
//reload the queue to get newly uploaded photos
$this->load();
}
}
}
permissions are chmod 777 on my ftp folder so it has full control of the ftp folder's files.
http://www.mattbilodeau.com/wimpq-cronpost.php is in the same folder as wp-config.php
oh and you can remove the comment from the frontpage if you want, but having the link to my cron job won't hurt anything.
resolved