Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • I had the same issue on localhost, what I ended up doing is:

    created the advanced-cache.php under www/web/app since Im using bedrock but others will have to create it under ./wp-content/ after I created the file I run: chown -R www-data:www-data web/ this is only for my setup since Im using nginx and bedrock.

    for a normal installation you will need to know which is the user of your webserver like apache or nginx and it could be www-data or httpd or even a custom user in some cases.
    If you know the user you will to cd into your wordpress installation folder:
    cd /var/www/html/ go to root directory of your wordpress installation
    touch wp-content/advanced-cache.php create advanced-cache.php file under wp-content folder.
    chown -R www-data:www-data . set the owner for all wordpress folders and files to be www-data or httpd this depends whats your webserver user.

    Thread Starter Eduard Milushi

    (@emilushi)

    Hello @botzev, Thanks for the replay.

    I will submit a ticked as soon as I get the account which purchased the plugin.

    FYI, I have already tried tuning ON and OFF the option to empty cart on language change.

    But the issue happens even if i switch to second language with empty cart and I put items on cart on the selected language.

    Regards!

    A quick modification will be by replacing line 1446 – 1448 at \wp-content\plugins\xcloner-backup-and-restore\restore\TAR.php from:

    if ($v_header['filename'] == '') {
       continue;
     }

    to:

    if ($v_header['filename'] == '') {
       return false;
     }

    After that you will 2 warnings on plugin page but they are only Deprecated Warnings.

    PS. I created the backup file but i haven’t tested it yet

    Plugin Author Eduard Milushi

    (@emilushi)

    Thank you for your report. I will change in a few day in the next release in which I will add horizontal option as well.

    Resolved by changing to this:

    <?php
          $post_meta_data = get_post_custom($post->ID);
          if( !empty($post_meta_data['SHOM_available_date'][0]) ) {
          $av_date = $post_meta_data['SHOM_available_date'][0];
          echo '<small> Available After&nbsp;';
          echo date("M d Y", $av_date);
          echo '</small>';
          }
    ?>

    Thnx for the post to all

    Hi there i saw the post and it looks like the seems to offer the solution but I still can’t figure it out. I’m having the same problem here!

    Before reading the post i had my code as below

    <?php
       $post_meta_data = get_post_custom($post->ID);
    
         if( !empty($post_meta_data['SHOM_available_date'][0]) ) {
    
         $av_date = $post_meta_data['SHOM_available_date'][0];
    
        echo '<small>&nbsp;Available After&nbsp;'.$av_date.'&nbsp;</small>';
    	}
    ?>

    And I made the changes to store the field as YYYYMMDD on custom meta_box
    and on the DB they are store as YYYYMMDD after changed the above to:

    <?php
     $post_meta_data = get_post_custom($post->ID);
    
        if( !empty($post_meta_data['SHOM_available_date'][0]) ) {
    
         $av_date = $post_meta_data['SHOM_available_date'][0];
    
         echo date(strtotime('M d Y', $av_date));;
        }
    ?>

    After changing it doesn’t echo at all!!

    Does anyone have any idea?

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