• Resolved dthimsen

    (@dthimsen)


    https://www.jonesbrothersmarine.com/jbm_capefish20.htm

    This website has 9 CFF forms that are used to price configure the different boat models. Occasionally (every 2-3 months), one of the pricing forms stops displaying like the one on the page above. In the past, I’ve tried clearing cache on the server and client, restarting WordPress and MariaDB, and even rebooting the server which runs Rocky Linux. Unfortunately, none of these attempts fix the problem. However, when I apply all the current maintenance, the CFF forms have always started working again.

    My question – Is there a log file or debugging options that might give me a clue about what is happening?

    Here’s system info:

    ` wp-core
    
    version: 6.5.2
    site_language: en_US
    user_language: en_US
    timezone: America/New_York
    permalink: /%pagename%.htm/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 2
    dotorg_communication: true wp-paths-sizes
    
    wordpress_path: /var/www/html
    wordpress_size: 231.28 MB (242518892 bytes)
    uploads_path: /var/www/html/wp-content/uploads
    uploads_size: 161.39 MB (169234178 bytes)
    themes_path: /var/www/html/wp-content/themes
    themes_size: 2.65 MB (2780121 bytes)
    plugins_path: /var/www/html/wp-content/plugins
    plugins_size: 87.46 MB (91704937 bytes)
    database_size: 16.38 MB (17170432 bytes)
    total_size: 499.16 MB (523408560 bytes) wp-dropins (1)
    
    advanced-cache.php: true wp-active-theme
    
    name: GeneratePress (generatepress)
    version: 3.4.0
    author: Tom Usborne
    author_website: https://tomusborne.com
    parent_theme: none
    theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, post-thumbnails, post-formats, woocommerce, title-tag, html5, customize-selective-refresh-widgets, align-wide, responsive-embeds, editor-color-palette, custom-logo, menus, editor-styles, editor-style, widgets
    theme_path: /var/www/html/wp-content/themes/generatepress
    auto_update: Disabled wp-themes-inactive (2)
    
    GeneratePress Child: version: 0.1, author: Tom Usborne, Auto-updates disabled
    Twenty Twenty-Four: version: 1.1, author: the WordPress team, Auto-updates disabled wp-mu-plugins (1)
    
    Health Check Troubleshooting Mode: author: (undefined), version: 1.9.0 wp-plugins-active (12)
    
    Add Any Extension to Pages: version: 1.5, author: Marios Alexandrou, Auto-updates disabled
    Calculated Fields Form Developer: version: 6.2.68, author: CodePeople (latest version: 6.2.71), Auto-updates disabled
    Code Snippets: version: 3.6.4, author: Code Snippets Pro, Auto-updates disabled
    Duplicate Page: version: 4.5.3, author: mndpsingh287, Auto-updates disabled
    Elementor: version: 3.21.1, author: Elementor.com (latest version: 3.21.4), Auto-updates disabled
    Elementor Pro: version: 3.21.0, author: Elementor.com (latest version: 3.21.2), Auto-updates disabled
    GP Premium: version: 2.4.0, author: Tom Usborne, Auto-updates disabled
    Health Check & Troubleshooting: version: 1.7.0, author: The WordPress.org community, Auto-updates disabled
    Lightweight Social Icons: version: 1.1, author: Thomas Usborne, Auto-updates disabled
    MetaSlider: version: 3.70.2, author: MetaSlider, Auto-updates disabled
    TablePress: version: 2.3, author: Tobias Bäthge (latest version: 2.3.1), Auto-updates disabled
    WP-Optimize - Clean, Compress, Cache: version: 3.3.2, author: David Anderson, Ruhani Rabin, Team Updraft, Auto-updates disabled wp-plugins-inactive (4)
    
    Akismet Anti-spam: Spam Protection: version: 5.3.2, author: Automattic - Anti-spam Team, Auto-updates disabled
    Autoptimize: version: 3.1.11, author: Frank Goossens (futtta), Auto-updates disabled
    Better Search Replace: version: 1.4.6, author: WP Engine, Auto-updates disabled
    WP Super Cache: version: 1.12.0, author: Automattic, Auto-updates disabled code-snippets (6)
    
    snippet-7: name: Search box placeholder text, scope: global, modified: 2020-04-24 15:02:36
    snippet-9: name: Popup Shortcode Definitions, scope: global, modified: 2023-08-31 19:11:33, tags: [shortcode]
    snippet-11: name: Mega Menu CSS, scope: global, modified: 2020-05-16 03:20:37, tags: [css]
    snippet-13: name: Show IP shortcode, scope: global, modified: 2020-05-23 03:18:25
    snippet-14: name: Show Current Year, scope: global, modified: 2020-06-11 17:07:22
    snippet-15: name: Remove Sidebar from Search Results, scope: global, modified: 2020-06-19 02:25:57 wp-media
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1692
    imagemagick_version: ImageMagick 6.9.12-93 Q16 x86_64 17898 https://legacy.imagemagick.org
    imagick_version: 3.7.0
    file_uploads: 1
    post_max_size: 64M
    upload_max_filesize: 64M
    max_effective_size: 64 MB
    max_file_uploads: 20
    imagick_limits:
    imagick::RESOURCETYPE_AREA: 7 GB
    imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    imagick::RESOURCETYPE_FILE: 768
    imagick::RESOURCETYPE_MAP: 3 GB
    imagick::RESOURCETYPE_MEMORY: 2 GB
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FLV, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: 2.3.2
    gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM
    ghostscript_version: not available wp-server
    
    server_architecture: Linux 5.14.0-362.8.1.el9_3.x86_64 x86_64
    httpd_software: Apache/2.4.57 (Rocky Linux) OpenSSL/3.0.7
    php_version: 8.1.14 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 1000
    time_limit: 300
    memory_limit: 128M
    admin_memory_limit: 256M
    max_input_time: 60
    upload_max_filesize: 64M
    php_post_max_size: 64M
    curl_version: 7.76.1 OpenSSL/3.0.7
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true
    current: 2024-05-07T17:52:35+00:00
    utc-time: Tuesday, 07-May-24 17:52:35 UTC
    server-time: 2024-05-07T13:52:34-04:00 wp-database
    
    extension: mysqli
    server_version: 10.5.22-MariaDB
    client_version: mysqlnd 8.1.14
    max_allowed_packet: 16777216
    max_connections: 151 wp-constants
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /var/www/html/wp-content
    WP_PLUGIN_DIR: /var/www/html/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined wp-filesystem
    
    wordpress: not writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter dthimsen

    (@dthimsen)

    Well, I just did a “Build” request on the CFF form used on the problem page, and the “Save/Preview” displayed the form. I then purged all the caches again, and now have the form working again on the website.

    Back to the original question… Is there a log or debugging option that I can look at to see what might be going on?

    Thanks,

    Don

    Plugin Author codepeople

    (@codepeople)

    Hello @dthimsen

    The issue you are reporting can be caused by the cache management plugin active on your website. The avoid the cache management plugin affecting the forms, please insert the form shortcode with the iframe attribute set at 1.

    Ex.

    [CP_CALCULATED_FIELDS id="24" iframe="1"]

    Best regards.

    Thread Starter dthimsen

    (@dthimsen)

    I’ve tried adding the iframe attribute to the shortcut(s) on the CF20 page:

    [CP_CALCULATED_FIELDS id=”30″ iframe=”1″ class=”cp_cff_professional” ]
    [CP_CALCULATED_FIELDS id=”30″ class=”cp_cff_professional” iframe=”1″ ]

    While I assume the iframe attribute will fix the problem with the cache, adding the attribute disables the custom template we use on the pages. Here’s a link to the discussion we had years ago about using custom templates:

    https://wordpress.org/support/topic/adding-a-custom-template/#post-12678220

    For comparison, the CF20 uses the iframe in the shortcut and the CF23 page does not:

    Cape Fisherman 20 – Jones Brothers Marine
    Cape Fisherman 23 – Jones Brothers Marine

    Any ideas?

    Thanks,
    Don

    Plugin Author codepeople

    (@codepeople)

    Hello @dthimsen

    You have two alternatives: insert an “HTML Content” field in the form and enter a LINK tag to load the CSS file as its content, or use the plugin mechanism to create custom templates. Note the forum thread you are referring to is 4 years old. Please read the following post in the plugin blog:

    https://cff.dwbooster.com/blog/2021/09/27/create-new-form-template/

    Best regards.

    Thread Starter dthimsen

    (@dthimsen)

    I tried both suggestions and couldn’t get either to work. The one I’d prefer to use is the second method documented by the link you provided. I’ve created the template folder and required files in the following directory:

    https://www.jonesbrothersmarine.com/wp-content/uploads/calculated-fields-form/templates/

    I think I’ve got the files setup correctly, but I do not get the “JBM Custom Template” customization option in the “Form Template” field when editing the CFF form.

    Thanks,

    Don

    Plugin Author codepeople

    (@codepeople)

    Hello @dthimsen

    Could you please send me the link to the template ini file?

    Best regards.

    Plugin Author codepeople

    (@codepeople)

    Hello @dthimsen

    There are some issues with your template.

    First, each template must be in its own directory into the https://www.jonesbrothersmarine.com/wp-content/uploads/calculated-fields-form/templates/ URL.

    Second, you are using the same selector in the ini and CSS files of an existing template (cp_cff_professional)

    Please create a new directory for the custom template, and replace cp_cff_professional in both the ini and CSS files.

    Best regards.

    Thread Starter dthimsen

    (@dthimsen)

    Thanks for your help. The new CFF custom template and the use of iframes for the forms both work correctly. With the custom template, I had to create the /wp-content/uploads/calculated-fields-form/templates/ directory, and didn’t understand the directions well enough to see that subdirectories where required.

    For anyone following this thread, I also ran into another problem when I started using the “iframe” attribute on the shortcode to fix the original problem. The css structure seems to be different when the form is loaded via an iframe. In my case, none of the forms used the font settings specified during the theme configuration. Most of the problems in my case were fixed when I added the following to the start of the style.css file:

    @import “/wp-content/uploads/generatepress/style.min.css”;

    Note: This would obviously only work for sites using the generate press theme.

    Anyway, thanks again for your help and putting up with my questions.

    Don

    Plugin Author codepeople

    (@codepeople)

    Hello @dthimsen

    Thank you very much for sharing your experience. When you insert the form shortcode with the iframe attribute, the form will be affected only by the styles distributed with the plugin and the styles you enter via the “Customize Form Design” attribute in the “Form Settings” tab. However, when you insert the shortcode without the additional attribute, every CSS file loaded by your website (the CSS rules in the website theme and third-party plugins) can modify the form appearance.

    Best regards.

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

The topic ‘Selective CFF forms stop displaying’ is closed to new replies.