-
AuthorPosts
-
April 27, 2016 at 8:33 am #26455
I have a problem with my new upload (vectors) via FTP & image (JPG) upload from Media Editing page – Alternate JPG are not processed after Cron Job. failure with a message Error 500 & Error 504. I deleted file and re uploading but still not processing.
But there’s no significant change, Any suggestions?
Thank You
April 29, 2016 at 4:02 pm #26498April 29, 2016 at 9:43 pm #26506Hi Robin,
Thanks for your advice, but I apologize in advance, I do not know much about html, how exactly do I have to edit at the tools-cron file?
this is partly my tools-cron file.
Thank you,
<?php
//error_reporting(-1);
//ini_set(‘display_errors’, ‘On’);
$currSS->disable_direct_access();
// Extra processes
// Return watermark
if (isset($_GET[‘ss_wm’])) {
add_action(‘init’, ‘ss_getwm’,1);
function ss_getwm() {
$filetype = ss_get_mime_type($GLOBALS[‘currSS’]->ss_watermark_loc);
header(“Content-Type: “.$filetype);
readfile($GLOBALS[‘currSS’]->ss_watermark_loc);
exit();
}
}
//$GLOBALS[“ss_runall”] = 1;
// Process cron
add_action(‘init’, ‘ss_do_cron’);
function ss_do_cron($maxload=5) {
if (!isset($GLOBALS[“ss_site_active”])) $GLOBALS[“ss_site_active”] = 1;
$lastcron = get_site_option(‘ss_ucron_last’);
$activecron = get_site_option(‘ss_ucron_active’);
//if ($activecron && ((time()-$lastcron) < 600) && !$GLOBALS[“ss_runall”]) exit();
update_site_option( ‘ss_ucron_last’, time());
update_site_option( ‘ss_ucron_active’, 1);
if (!$maxload && ($maxload !== 0)) {
$maxload = get_option(‘ss_maxload’);
}
if (!$maxload && ($maxload !== 0)) {
$maxload = $GLOBALS[‘currSS’]->ss_maxload;
}
April 29, 2016 at 10:28 pm #26507Just follow the instructions here:
http://www.symbiostock.org/forums/topic/processor-not-processing-try-this/
April 30, 2016 at 5:38 pm #26512Ok, Thank you very much Robin!!
May 12, 2016 at 11:41 am #26627Hi Robin,
I have followed the instructions removing the two slashes at ‘tools-cron.php’ file., but still error with messages;
Notice: Undefined index: currSSV in /home2/syamil/public_html/wp-content/plugins/symbiostock/symbiostock-init.php on line 24
Notice: Trying to get property of non-object in /home2/syamil/public_html/wp-content/plugins/symbiostock/symbiostock-init.php on line 24
Notice: Undefined index: currSSV in /home2/syamil/public_html/wp-content/plugins/symbiostock/symbiostock-init.php on line 27
Notice: Trying to get property of non-object in /home2/syamil/public_html/wp-content/plugins/symbiostock/symbiostock-init.php on line 27
Help, Thank you 🙂
-
AuthorPosts
You must be logged in to reply to this topic.