Viewing 30 results - 14,431 through 14,460 (of 16,897 total)
  • Author
    Search Results
  • Hey claudia0779!

    Please try to increase the allocated memory to 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP ( http://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/ ). It seems like Enfold and WPML require more memory on your server.

    Best regards,
    Peter

    #423945

    Hi Ismael,

    Thanks for your reply!

    How can I include those nice code blocks in a post?

    Anyway. it’s only a tiny modification to fix the following issue: https://kriesi.at/support/topic/bug-table-headers-applied-incorrectly-on-media-query/#post-423170 It would be great if this issue could be fixed in Enfold’s core code :)

    Here’s the requested Pastebin (I only removed the +1 found at line 349): http://pastebin.com/cZdc3Yy2

    Please Note: The original / unmodified table.php file causes the same Advanced Layout Builder issue, when the file is loaded via the child theme. Suggesting it’s not caused by the table.php file. The latest Enfold version seems to have issues with loading shortcodes via the child theme, as it used to work just fine with previous versions.

    Since I experience this issue on all of my Enfold sites, I believe you should be able to replicate the issue as follows:

    1. Activate the Enfold child theme;
    2. Use this function in your child theme;
    3. Place the original / unmodified table.php in the child theme’s shortcode folder;
    4. Edit a page via the Advanced Layout Builder;
    5. Open the config settings of a button element, within the page content;
    6. Instead of the button config, the table config will pop up.

    Hope this helps.

    Best,

    Ralph

    #423922
    jankund
    Participant

    Hello, I am trying to create video slider for my homepage. I put three youtube videos to Fullwidth Easy Slider and checked Disable Autoplay. The first slide is always black fullscreen image other two slides always show preview images but after click on them video doesn’t load and doesn’t play. I traied to change order of slides and the first one is always black and other two just show preview images and after click video doesn’t play. My browser is Safari. System is OS X Yosemite 10.10.2
    I work locally on my computer.

    I found one solution I traied it and got error message:
    Ok I figured it out.

    As I thought it was a caching issue. WordPress caches the video player on the first hit, so if the access settings for the video was wrong, then it won’t display the video player even though you fix the video access settings afterwards.

    It can be fixed by going directly to the database (if you’re not sure what you’re doing, please remember to backup first!!!!!). I use phpMyAdmin for this.

    1) Find the table named “wp_postmeta” (in my case I have prefixed my tables for security measures, so my table name is actually a bit longer)
    2) click on “SQL”
    3) Insert the following select statement:
    SELECT * FROM wp_postmeta WHERE meta_key like ‘%_oembed%’

    This will bring up all the cached embedded players. The meta_value field contains the player, so it should be quite easy to find the video that is not working and simply deleting the row (don’t worry, WordPress will generate a new entry the next time you visit the page and your player will be inserted correctly!).

    I have a lot of videos in my site (hosted on Vimeo) so used the following SQL to find the exact row that messed up:
    SELECT * FROM wp_yasd_postmeta WHERE meta_key like ‘%_oembed%’ and meta_value like ‘%6769%’

    (the number 6769 is part of the vimeo video ID for the video messing up, you should of course insert part of the url/ID for the video that is messing up in your case)

    My error message:
    Error
    SQL query: Documentation

    SELECT * FROM wp_postmeta WHERE meta_key like ‘%_oembed%’
    LIMIT 0, 30
    MySQL said: Documentation

    #1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘%_oembed%’
    LIMIT 0, 30′ at line 1

    Thank you for advice

    #423884

    Hi Rikard,

    yes, we did some changes, but it worked correctly until now. I have just duplicated the domain http://erfolgswelt24.com to a subdomain and tested which file causes the error. It was the functions.php which has the following content:

    `<?php
    #
    # wrap single product image in an extra div
    #
    add_action( ‘woocommerce_before_single_product_summary’, ‘avia_add_image_div’, 2);
    add_action( ‘woocommerce_before_single_product_summary’, ‘avia_close_image_div’, 20);
    function avia_add_image_div()
    {
    echo “<div class=’four units single-product-main-image alpha’>”;
    }

    function avia_close_image_div()
    {
    global $avia_config;
    $avia_config[‘currently_viewing’] = “shop_single”;

    echo “</div>”;
    }

    #
    # wrap single product summary in an extra div
    #
    add_action( ‘woocommerce_before_single_product_summary’, ‘avia_add_summary_div’, 25);
    add_action( ‘woocommerce_after_single_product_summary’, ‘avia_close_summary_div’, 3);
    function avia_add_summary_div()
    {
    echo “<div class=’four units single-product-summary’>”;
    }

    function avia_close_summary_div()
    {
    echo “</div>”; //close out the summary
    echo “<div class=’four units single-product-sidebar’>”;
    get_sidebar();
    echo “</div>”;
    }

    // START WAVECDN CODE

    // Shortcode for generating an URL (needed for embedding videos)
    // Example:
    // [wavecdn_url url=’http://jahrestraining-network.wavecdn.net/JTNM-Videos/TM007-Glaubenssaetze.wmv’&#93;
    function wavecdn_url_func($atts)
    {
    if(!isset($atts[‘url’])) return;

    $url = $atts[‘url’];
    $ip = $_SERVER[‘REMOTE_ADDR’];
    $ttl = 3600;
    $key = ‘9FjbwohRQ092r2hBHOiewffoja’;

    $expires = gmdate(‘Y-m-d H:i:s’, gmmktime() + $ttl);
    $hash = md5($url.’:’.$ip.’:’.$expires.’:’.$key);
    $token = $hash.’:’.str_replace(‘=’, ”, base64_encode($expires));

    if(strpos($url, ‘?’)) $url .= ‘&token=’.$token;
    else $url .= ‘?token=’.$token;

    return $url;
    }
    add_shortcode(‘wavecdn_url’, ‘wavecdn_url_func’);

    // Shortcode for generating a clickable link
    // Examples:
    // [wavecdn_link url=’http://jahrestraining-network.wavecdn.net/JTNM-Videos/TM007-Glaubenssaetze.wmv’&#93;
    // [wavecdn_link url=’http://jahrestraining-network.wavecdn.net/JTNM-Videos/TM007-Glaubenssaetze.wmv&#8217; label=’Hier klicken’]
    function wavecdn_link_func($atts)
    {
    if(!isset($atts[‘url’])) return;
    $url = wavecdn_url_func(array(‘url’ => $atts[‘url’]));
    $label = isset($atts[‘label’]) ? $atts[‘label’] : ‘Download’;

    $html = ‘‘.htmlentities(utf8_decode($label)).’‘;
    return $html;
    }
    add_shortcode(‘wavecdn_link’, ‘wavecdn_link_func’);

    // Shortcode for embedding a video
    function wavecdn_video_func($atts)
    {
    $r = ‘<script src=”http://jwpsrv.com/library/v686EBPyEeSyNCIAC0MJiQ.js”></script>&#8217;.”\n”;
    $r .= ‘<div id=”myElement”>Lade…</div>’.”\n”;
    $r .= ‘<script>// <![CDATA[‘.”\n”;
    $r .= ‘jwplayer(“myElement”).setup({‘.”\n”;
    $r .= ‘file: “‘.wavecdn_url_func($atts).'”,’.”\n”;
    $r .= ‘width: 640,’.”\n”;
    $r .= ‘height: 360’.”\n”;
    $r .= ‘})’.”\n”;
    $r .= ‘// ]]></script>’.”\n”;

    return $r;
    }
    add_shortcode(‘wavecdn_video’, ‘wavecdn_video_func’);

    // END WAVECDN CODE

    add_filter(‘avia_load_shortcodes’, ‘avia_include_shortcode_template’, 15, 1);
    function avia_include_shortcode_template($paths)
    {
    $template_url = get_stylesheet_directory();
    array_unshift($paths, $template_url.’/shortcodes/’);

    return $paths;
    }

    /**
    * Auto Complete all WooCommerce orders.
    * Add to theme functions.php file
    */

    add_action( ‘woocommerce_thankyou’, ‘custom_woocommerce_auto_complete_order’ );
    function custom_woocommerce_auto_complete_order( $order_id ) {
    global $woocommerce;

    if ( !$order_id )
    return;
    $order = new WC_Order( $order_id );
    $order->update_status( ‘completed’ );

    As mentioned it works fine in the past and I cannot see a connection to the template-builder.php.

    Thanks for your help, Sophie

    • This reply was modified 11 years ago by Sophieja23.
    #423639
    Sophieja23
    Participant

    Hi everyone,

    I have this error:

    Fatal error: Access to undeclared static property: avia_sc_section::$close_overlay in /home/www/erfolgswelt24com/wp-content/themes/enfold/template-builder.php on line 74

    It only appears when the child theme is activatet. I have no idea what this means. Any ideas?

    The site is: http://erfolgswelt24.com

    The theme is updated to the newest version via FTP. I also deactivated all plugins but that doesn’t help.

    Thanks in advance,
    Sophie

    • This topic was modified 11 years ago by Sophieja23.
    #423622

    Ok I figured it out.

    As I thought it was a caching issue. WordPress caches the video player on the first hit, so if the access settings for the video was wrong, then it won’t display the video player even though you fix the video access settings afterwards.

    It can be fixed by going directly to the database (if you’re not sure what you’re doing, please remember to backup first!!!!!). I use phpMyAdmin for this.

    1) Find the table named “wp_postmeta” (in my case I have prefixed my tables for security measures, so my table name is actually a bit longer)
    2) click on “SQL”
    3) Insert the following select statement:
    SELECT * FROM wp_postmeta WHERE meta_key like ‘%_oembed%’

    This will bring up all the cached embedded players. The meta_value field contains the player, so it should be quite easy to find the video that is not working and simply deleting the row (don’t worry, WordPress will generate a new entry the next time you visit the page and your player will be inserted correctly!).

    I have a lot of videos in my site (hosted on Vimeo) so used the following SQL to find the exact row that messed up:
    SELECT * FROM wp_yasd_postmeta WHERE meta_key like ‘%_oembed%’ and meta_value like ‘%6769%’

    (the number 6769 is part of the vimeo video ID for the video messing up, you should of course insert part of the url/ID for the video that is messing up in your case)

    Hope it helps..

    • This reply was modified 11 years ago by rap.
    #423343

    Hey!

    @funky: The filter is working. I set the order parameter to descending and it works as expected: http://e308031c72c2a40f7804cdf17e3238990a7c8a05.web19.temporaryurl.org/test-portfolio-sorting/


    @wellenwerk
    : Add this to the functions.php file to reverse the avia post nav:

    add_filter( 'avia_post_nav_entries', 'enfold_customization_reverse_post_nav', 10, 1 );
    function enfold_customization_reverse_post_nav( $entries ) {
    	$prev = $entries['prev'];
    	$next = $entries['next'];
    	$entries['prev'] = $next;
    	$entries['next'] = $prev;
    	return $entries;
    }

    Regards,
    Ismael

    #423306
    iotaip
    Participant

    After clicking “add media” nothing happens, the page get stuck at wp-admin/post.php?post=405&action=edit#

    Same with using “Insert Theme Shortcode” -> Media Elements -> Image, after clicking on “Insert Image” nothing happens and got stuck at wp-admin/post.php?post=405&action=edit#

    I prefer not to update to the latest version of Enfold because I have quite a few php files changed in my current version and I do not want to lose them or having to re-test everything after major update.

    Please help, this is urgent – I need to post very soon. THANKS!

    #423292
    Yeti
    Participant

    Hi @Kriesi,
    trying to update to Enfold 3.1.3 as I was told in the backend, but since 1/2 hour on …/wp-admin/update-core.php?action=do-theme-upgrade beneath “Updating Theme Enfold (1/1)” the wheel is still turning.

    Webspace can’t be the problem, there are more than 800 MB free… And via ftp I can’t see any new files written – except the “.maintenance” in the wp-root. The Enfold folder under /themes/ has chmod 755 and the enfold-child 710.

    Any idea?
    Thanx from he other side of the alps ;-)

    ENBertussi
    Participant

    Hey awesome makers of Enfold….

    I have a client who wants the shopping cart not ‘always display attached to main’ instead always displayed attached to the secondary beside the social icons.

    move icon here

    https://www.dropbox.com/s/m90p9cd4oj1lcpz/move%20shopping%20cart%20to%20secondarymenu%20beside%20social.png?dl=0

    We don’t want the floating one we want the ‘always display’ one.. and we want it to always display the shopping cart status to the right of the cart when it is empty with the text..

    look like this when empty

    https://www.dropbox.com/s/v9k55o5u34wrcpq/Screenshot-2015-04-03-12.47.jpg?dl=0

    and we want it to display the count in the cart to the right when it is full like this.

    when the cart is full

    https://www.dropbox.com/s/tj5qxbc1nuo650e/Screenshot-2015-04-03-12.47-shopping-cart-occupied.jpg?dl=0

    I tried css and modying the config php like i saw in one other trouble ticket but it did not seem to do what I wanted..

    thanks for any help :)

    cheers…

    ENB..//

    • This topic was modified 11 years ago by ENBertussi.
    #423101

    In reply to: Product Not Found Page

    Hi RCG81187!

    Please go to Enfold > Includes folder and open error404.php file and find following code between 31th-45th line

        <div class='hr_invisible'></div>
    
        <h3 class=''><?php _e('Feel like browsing some posts instead?', 'avia_framework'); ?></h3>
    
        <?php
        the_widget('avia_combo_widget', 'error404widget', array('widget_id'=>'404',
                'before_widget' => '<div class="widget avia_combo_widget">',
                'after_widget' => '</div>',
                'before_title' => '<h3 class="widgettitle">',
                'after_title' => '</h3>'
            ));
            
        do_action('ava_after_content', '', 'error404');
        ?>

    and remove it

    Regards,
    Yigit

    This reply has been marked as private.
    #422551

    Thanks for the reply Günter!

    I think a lot of users would appreciate a solution for this, so I hope your team decides to implement it soon. In the meantime, I must say I don’t know much about PHP, I tried making the line 1128 a comment and uploaded the file but there were no changes, I also tried it from line 1126 to 1130 (made the whole function a comment) and then the entire function (from line 1081 to line 1157) but there were no changes on my site.

    Could I get further assistance as to what to delete/change to remove this default dropdown?

    Thanks again!

    #422440
    This reply has been marked as private.
    #422429
    This reply has been marked as private.
    #422344
    This reply has been marked as private.
    #422047
    therqworld
    Participant

    Hi!

    I’m wondering if this is something you can help with, I’ve been looking for a solution while thinking this is a woocommerce problem, but then I read that maybe the theme one uses could get in the way, so if that’s the case, could you assist me please?

    I wan’t to delete some sorting options from my Shop, as well as to add others. I found 2 plugins for this:
    WooCommerce Extra Product Sorting Options: adds options.
    WooCommerce Remove Product Sorting: removes default options.

    I installed them, activated them and they work, they show me the options to delete and add sorting: my options . The problem is that even though I saved the settings and that everything seems to be ok, the “Sort by” dropdown in the Shop remains the same: stays the same. I also tried with other plugins and some PHP solutions I found online but the “Sort by” dropdown never changes, that’s why I’m inclined to believe that maybe it has to do with your theme and there’s something from your side I need to adjust to make this work.

    Thanks for your help!

    • This topic was modified 11 years ago by therqworld.
    #422019

    Hi!

    Thank you for coming back.

    There is no easy way to achieve this right now. You have to modify:

    enfold\config-templatebuilder\avia-shortcodes\postslider.php line 375:

    
                        if($show_meta && !empty($excerpt))
    

    to hardcode and/or you also have to extend the options for:

    enfold\config-templatebuilder\avia-shortcodes\postslider.php
    \enfold\config-templatebuilder\avia-shortcodes\blog.php

    Additionaly you can post a request on github for this option – maybe it will be implemented in a future release.

    Regards,
    Günter

    #421988

    Hey!

    Thank you for coming back.

    You have to modify enfold\config-woocommerce\config.php line 731ff.

    Look for

    
    function avia_woocommerce_overview_banner_image()
    {
    
    }
    

    and modify as needed.

    If you want you also can unhook the default enfold function and put your modifications in functions.php of the child theme to be independent from next updates.

    Regards,
    Günter

    #421908
    gupshupdotme
    Participant

    Hey Guys,
    My site http://www.teamchat.com/ had version 2.7.1 before, I did update it to 3.1.3.
    Its showing some blank space on top. I know its conflicting with some plugin or something like that.
    I thought its issue caused by zopim, I did update it, also disabled it. But no change. Also have changed template file header.php.
    This is my live site, Please assist us with it asap.

    This reply has been marked as private.
    #421854

    In reply to: General aesthetics.

    This reply has been marked as private.
    #421852

    In reply to: General aesthetics.

    This reply has been marked as private.
    #421710

    In reply to: Can't import Shop demo

    This is all very difficult for me to follow instruction from your link. Called Godaddy, they told me they can’t do it for me and I have to do it myself, instead they sent me this article, but this doesn’t make any sense to me either. Instructed me to find php.ini file and make changes
    https://support.godaddy.com/help/article/1475/php-upload-limits-on-shared-hosting?locale=en&ci=46061

    #421364

    In reply to: Menu Hacked!?!

    Hi Dave

    Please go to Appearance > Editor and open Functions.php file and check if there is such code on the top of the file – http://pastebin.com/ZpR2wN7s
    and remove it. If you are not comfortable editing the file, please create a temporary admin login and post it here privately so we can check it for you.
    Please consider installing a security plugin such as https://wordpress.org/plugins/better-wp-security/ or this one – https://wordpress.org/plugins/bulletproof-security/

    Best regards,
    Yigit

    #421308
    This reply has been marked as private.
    #421041

    Habe es nochmals probiert

    Per ftp dann auf aktivieren folgender fehler
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 77 bytes) in /var/www/web706/html/euf/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/iconlist.php on line 162

    #420931
    This reply has been marked as private.
    #420926

    In reply to: Widgets bug

    This reply has been marked as private.
    #420845

    Topic: Enfold Version 3.1.2

    in forum Enfold
    Biggy
    Participant

    Hi,
    das ist nur eine Info fürs nächste Update.
    In der Datei enfold/config-templatebuilder/avia-shortcodes/productslider.php auf Zeile 278 steht die textdomain woocommerce.
    Uns ist das nur aufgefallen weil ein leerer Produktslider trotz deutscher Seite nur Englisch ausgegeben hat. Wir haben das auf avia_framework geändert und alles ist gut.
    Um das nicht vorhalten zu müssen wäre gut das im nächsten Update mit zu verbessern.
    Vielen Dank.

    Gruß
    Biggy

    Dann kann man den Eintrag schließen

Viewing 30 results - 14,431 through 14,460 (of 16,897 total)