• Resolved vpjj

    (@vpjj)


    Hi I have a problem with appearance setting the SELECT field. It does not respect any appearance settings that I set in forminator and formatting is completely wrong,

    https://ibb.co/YtQjyGZ

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

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

    (@vpjj)

    addition after today’s research

    Failed to load resource:
    https://www.XXXXX.cz/wp-content/uploads/forminator/2405_7356dbd285ee75c9ff42d3b9df947098/css/style-2405.css

    but this file exists, why can’t be loaded?

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @vpjj,

    Since you haven’t shared any page URL where you have the form added, I couldn’t see the issue live. However, based on the description, I would assume the issue might be more related to the Options -ExecCGI in the htaccess file.

    Could you please add the following code as a mu-plugins:

    <?php
    add_filter( 'forminator_upload_root_htaccess_rules', 'wpmudev_remove_htaccess_rules', 10, 1 );
    function wpmudev_remove_htaccess_rules( $rules ) {
    	if ( ! empty( $rules ) ) {
    		$rules = str_replace('Options -ExecCGI', '', $rules);
    	}
    	return $rules;
    }
    

    You can find the following doc helpful on how to apply the above code as a mu-plugins.

    https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins

    Once done, access your site via FTP (or cPanel “File Manager” or similar tool) and go to?/wp-content/uploads/forminator?folder and remove only the following line inside the?.htaccess?file:

    Options -ExecCGI

    Please do make sure to clear the cache once the changes are applied and check how that goes.

    Please do check and see whether the above helps.

    Best Regards,

    Nithin

    Thread Starter vpjj

    (@vpjj)

    unfortunately it didn’t help, this is my test site:

    https://www.velkepradlo.cz/test/

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @vpjj,

    Thanks for sharing the URL, just to be sure could you please confirm whether Options -ExecCGI was removed from the .htaccess file as requested in my previous response?

    We have noticed it might get added again if it was removed 1st before adding the mu-plugins, so you might have to remove it once more inside the .htaccess file.

    The issue noticed might still be related to the above and hence double checking.

    If the issue is still the same even after that then could we know what setting you have enabled under Forminator > Settings > Data > File Upload Storage ?

    If you could share a screenshot it would be helpful too.

    Please do let us know how that goes.

    Kind Regards,

    Nithin

    Thread Starter vpjj

    (@vpjj)

    Options -ExecCGI?was removed from the .htaccess

    https://ibb.co/sHqFNRP

    https://ibb.co/5jryWgf

    Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hello @vpjj,

    It looks like some of the remaining .htaccess rules might not be compatible with the server configs.

    Could you please check it after removing this line from .htaccess, and refreshing the page:

    Options -Indexes

    If that helps, please also change the current PHP snippet in /wp-content/mu-plugins/ to this:

    <?php
    add_filter( 'forminator_upload_root_htaccess_rules', 'wpmudev_remove_htaccess_rules', 10, 1 );
    function wpmudev_remove_htaccess_rules( $rules ) {
    	if ( ! empty( $rules ) ) {
    		$rules = str_replace('Options -ExecCGI', '', $rules);
    		$rules = str_replace('Options -Indexes', '', $rules);
    	}
    	return $rules;
    }

    Let us know if the issue persists.

    Best Regards,
    Dmytro

    Thread Starter vpjj

    (@vpjj)

    It didn’t help. If I remove /wp-content/uploads/forminator/.htaccess file the css style is applied.

    Is the file needed? Everything seems to work for me

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @vpjj

    Thank you for response!

    The file is there mostly for security to prevent risk of execution of any scripts (like PHP or Python and similar) that could possibly be added there in a non-authorized way (e.g. due to break-in or infection).

    However, “functionally” speaking it is not entirely necessary there. You can also instead add a code like this into that file (instead of existing one) to prevent scripts execution:

    <Files *.php>
    Order allow,deny
    Deny from all
    </Files>

    Kind regards,
    Adam

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @vpjj ,

    We haven’t heard from you for some time now, so it looks like you don’t require our further assistance.

    Feel free to re-open this topic if you have more questions.

    Kind regards
    Kasia

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Not respect appearance settings’ is closed to new replies.