Home Forums WoodMart support forum wp-admin/options.php

wp-admin/options.php

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #527664

    aminazimabadi
    Participant

    After making changes and saving the settings, the wp-admin/options.php page opens and the changes are not saved.

    #527812

    Luke Nielsen
    Keymaster

    Hello,

    We appreciate your message!

    Please clarify which changes you made and attach some screenshots for a better understanding.

    Thank you in advance.

    Kind Regards

    #528156

    aminazimabadi
    Participant

    For example, the. I saved a css code in the template settings and the following page opened. (Settings not saved)

    Attachments:
    You must be logged in to view attached files.
    #528177

    Luke Nielsen
    Keymaster

    Hello,

    You need to contact server support and ask them to increase the PHP Max Input Vars : https://prnt.sc/pxaOMqmk-k_b

    Don’t hesitate to let me know if you need any further help or any other info.

    Kind Regards

    #531315

    aminazimabadi
    Participant

    hi. This is the content inside my php.ini file. What value should I change to solve this problem?

    #531321

    aminazimabadi
    Participant

    There is phpinfo information in the link below

    #531464

    Luke Nielsen
    Keymaster

    Hello,

    The max_input_vars value.

    Let me know if you have any questions.

    Kind Regards

    #531659

    aminazimabadi
    Participant

    Please tell me what number I put this amount on? The server support says to set this value to 10000.

    #532045

    Luke Nielsen
    Keymaster

    Hello,

    Yep, the 10000 value is good, so try to set it and recheck the issue.

    Thank you for your time.

    Kind Regards

    #532961

    aminazimabadi
    Participant

    Hello.
    Changing the max_input_vars values ​​did not solve my problem. I edited the htaccess file to fix this problem.
    The value of the htaccess file was initially as

    # BEGIN cPanel-generated php ini directives, do not edit
    # Manual editing of this file may result in unexpected behavior.
    # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
    # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
    <IfModule php7_module>
       php_flag display_errors Off
       php_value max_execution_time 30
       php_value max_input_time 60
       php_value max_input_vars 300
       php_value memory_limit 512M
       php_value post_max_size 512M
       php_value session.gc_maxlifetime 1440
       php_value session.save_path "/var/cpanel/php/sessions/ea-php73"
       php_value upload_max_filesize 512M
       php_flag zlib.output_compression Off
    </IfModule>
    <IfModule lsapi_module>
       php_flag display_errors Off
       php_value max_execution_time 30
       php_value max_input_time 60
       php_value max_input_vars 300
       php_value memory_limit 512M
       php_value post_max_size 512M
       php_value session.gc_maxlifetime 1440
       php_value session.save_path "/var/cpanel/php/sessions/ea-php73"
       php_value upload_max_filesize 512M
       php_flag zlib.output_compression Off
    </IfModule>
    # END cPanel-generated php ini directives, do not edit
    <IfModule mod_deflate.c>
        SetOutputFilter DEFLATE
        <IfModule mod_setenvif.c>
            # Netscape 4.x has some problems...
            BrowserMatch ^Mozilla/4 gzip-only-text/html
    
            # Netscape 4.06-4.08 have some more problems
            BrowserMatch ^Mozilla/4\.0[678] no-gzip
    
            # MSIE masquerades as Netscape, but it is fine
            # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    
            # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
            # the above regex won't work. You can use the following
            # workaround to get the desired effect:
            BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
    
            # Don't compress images
            SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
        </IfModule>
    
        <IfModule mod_headers.c>
            # Make sure proxies don't deliver the wrong content
            Header append Vary User-Agent env=!dont-vary
        </IfModule>
    </IfModule>
    # BEGIN WordPress
    
     RewriteEngine On
     RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
     RewriteBase /
     RewriteRule ^index\.php$ - [L]
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteRule . /index.php [L]
    
     # END WordPress

    I used WordPress htaccess which is as follows and the problem was solved. I hope this change will not cause any problems

    #533025

    Luke Nielsen
    Keymaster

    Hello,

    Glad that you managed to fix that.

    If you have any further questions or concerns, please don’t hesitate to ask

    Wish you all the best.

    Kind Regards

Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘wp-admin/options.php’ is closed to new replies.