Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #26455
    Profile photo of oktoradea
    oktoradea
    Participant

    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

    #26498
    Profile photo of Robin
    Robin
    Keymaster

    Please enable error reporting by editing the tools-cron file. If you do not get any errors, it is likely a memory issue that is specific to your hosting environment.

    #26506
    Profile photo of oktoradea
    oktoradea
    Participant

    Hi 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;

    }

     

    #26507
    Profile photo of Robin
    Robin
    Keymaster
    #26512
    Profile photo of oktoradea
    oktoradea
    Participant

    Ok, Thank you very much Robin!!

    #26627
    Profile photo of oktoradea
    oktoradea
    Participant

    Hi 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 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.