Okay
  Public Ticket #1940894
Flickity gallery messing up
Closed

Comments

  • whitesock_hun started the conversation

    Hi,

    I want to use the flickity gallery in our tours. (These are custom post types)

    Unfortunately, the images appear distorted both in desktop and mobile view. Also, the navigation dots placement is wrong, they are inside the image area. How can I solve this?  - OK, THIS IS SOLVED :)

    One more problem: if I want to save a layout created by visual composer AND it contains a flickity or nectar slider gallery, it's impossible to save as a template. It says: "Error while saving template"

  •  8,996
    Tahir replied

    Hey 

    Your PHP Settings are likely not correct. 

    Recommended PHP configuration limits are as follows:

    • max_execution_time 60
    • memory_limit 256M
    • post_max_size 48M
    • upload_max_filesize 48M

    Please have your hosting provider fix this for you so it can be installed correctly. 

    Thanks 


    ThemeNectar Support Team 

  • whitesock_hun replied

    Hi,

    thank you for your answer. Unfortunately, it's not the case. All of these settings are correct. See the attachment.


    best regards, 

    Norbert

  •  8,996
    Tahir replied

    Please check for server php errors using this guide: http://premium.wpmudev.org/blog/your-complete-guide-to-troubleshooting-wordpress/ as that would only show why the issue is occurring. 

    Also check for Browser Console Errors : https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors in the Admin Pages when that error occurs. 

    Best


    ThemeNectar Support Team 

  • whitesock_hun replied

    Hi,

    I didn't find any issue in the logs.

    But I noticed another issue regarding this. If I want to use ANY of these in the gallery: nectar slider, basic slider, flickity, it's unable to save or preview the page. I get "page not found" error. But I didn't find anything in the error.log and debug. log I checked all the file and folder permissions, recreated the .htaccess but I always get the same issue. Only when I use the gallery module with these 3 type of gallery. If I use the gallery with 'image grid style' or 'parallax grid', everything works well.  Here is the error.log:

    [30-Dec-2016 04:03:23 America/Chicago] PHP Fatal error:  Call to undefined function _deprecated_file() in /home/activityiceland/public_html/wp-includes/registration-functions.php on line 7
    [21-Mar-2017 08:26:22 America/Chicago] PHP Fatal error:  Call to undefined function _deprecated_file() in /home/activityiceland/public_html/wp-includes/registration-functions.php on line 7
    [14-Mar-2018 22:47:14 UTC] PHP Fatal error:  Class 'Walker' not found in /home/activiceland/public_html/wp-includes/class-walker-nav-menu.php on line 17
    [23-Mar-2018 07:45:43 UTC] PHP Fatal error:  Call to undefined function _deprecated_file() in /home/activiceland/public_html/wp-includes/locale.php on line 10
    [27-Jul-2018 15:13:56 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function _deprecated_file() in /home/activiceland/public_html/wp-includes/locale.php:10
    Stack trace:
    #0 {main}  thrown in /home/activiceland/public_html/wp-includes/locale.php on line 10
    [13-Oct-2018 12:02:14 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function _deprecated_file() in /home/activiceland/public_html/wp-includes/session.php:8
    Stack trace:
    #0 {main}  thrown in /home/activiceland/public_html/wp-includes/session.php on line 8
    [10-Nov-2018 16:20:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function _deprecated_file() in /home/activiceland/public_html/wp-includes/session.php:8
    Stack trace:
    #0 {main}  thrown in /home/activiceland/public_html/wp-includes/session.php on line 8
    [19-Dec-2018 02:48:08 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function _deprecated_file() in /home/activiceland/public_html/wp-includes/locale.php:10
    Stack trace:
    #0 {main}  thrown in /home/activiceland/public_html/wp-includes/locale.php on line 10
    [01-Jan-2019 17:33:57 UTC] PHP Fatal error:  Class 'Walker' not found in /home/activiceland/public_html/wp-includes/class-walker-nav-menu.php on line 17

    And here is the error message from Google DevConsole: JQMIGRATE: Migrate is installed with logging active, version 1.4.1

    jquery-migrate.js:45 JQMIGRATE: jQuery.fn.load() is deprecated migrateWarn @ jquery-migrate.js:45 jquery-migrate.js:47 console.trace migrateWarn @ jquery-migrate.js:47 jquery-migrate.js:45 JQMIGRATE: jQuery.event.handle is undocumented and deprecated migrateWarn @ jquery-migrate.js:45 jquery-migrate.js:47 console.trace migrateWarn @ jquery-migrate.js:47 post.php:1 Failed to load resource: the server responded with a status of 404 ()

  • whitesock_hun replied

    Hi, I found something.

    The problem persists only if MODSECURITY is 'ON' on the server. When MODSECURITY is off, the issue does not occurs.
    So there is something with vc_gallery and modsecurity. I hope that helps.

  •  1,089
    ThemeNectar replied

    Hey whitesock_hun, thanks for your patience with this ticket.

    Can you please let me know what ruleset you're using for modsecurity and whether or not you have any WordPress related exceptions added such as these: https://github.com/SpiderLabs/owasp-modsecurity-crs/blob/v3.0/master/rules/REQUEST-903.9002-WORDPRESS-EXCLUSION-RULES.conf 

    Thanks in advance.