• Resolved stl_on_web

    (@stl_on_web)


    Hello, I have a problem with your extension. I can not fill in the scores.

    But first, I had the following problem:
    Settings of your server are too low — form values could be cropped!
    I contacted my hosting company and now I no longer have the error message.

    About the scores, I did everything shown in this topic:
    https://www.ads-software.com/support/topic/my-score-cant-be-updated

    I even uninstalled and reinstalled the extension.
    I contacted my hosting company and asking them to resetted my PHP settings.
    But they ask me to tell them what to change. I do not know enough about Phil.
    What is the solution?

    Your extension working fine on my site locally. I do not want to take another because it is the only one that meets my needs.
    I agree to use the paid support if it is the only solution, but my budget is very low.
    I can not give you the address of the site, it is still under construction. I can not give you the address of the site, it is still under construction. There’s just pre-launch page.

    Thank you

    https://www.ads-software.com/plugins/wp-testing/

Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Contributor ustimenko

    (@ustimenko)

    Install some plugin that will show you “phpinfo”.
    Then check there these settings: https://github.com/garex/wp-testing/blob/eea72bc32fbb3f31fdecdfa8c5faa21821c462d5/src/Model/Test.php#L471L474

    'max_input_vars',
    'suhosin.get.max_vars',
    'suhosin.post.max_vars',
    'suhosin.request.max_vars',

    Search inside wp-testing-low-memory tag.

    Thread Starter stl_on_web

    (@stl_on_web)

    I have installed a plugin that show “phpinfo”

    Here are the settings :
    ————————–locale value——master value
    max_input_vars———— 5000 —— 5000
    suhosin.get.max_vars—— 5000 —— 5000
    suhosin.post.max_vars—– 5000 —— 5000
    suhosin.request.max_vars– 5000 —— 5000

    And now I do not understand what I should do.
    I do not know enough about Php.

    Thanks

    Plugin Contributor ustimenko

    (@ustimenko)

    So change them somehow (your hosting company should help) to something like 9999 instead of 5000.
    Then check that values updated at phpinfo and then try again.

    Thread Starter stl_on_web

    (@stl_on_web)

    I am sorry.
    It still does not work.
    Too bad, thank you for your help.

    Plugin Contributor ustimenko

    (@ustimenko)

    Try another hosting, where you can manage these values or your hoster can manage it.

    Thread Starter stl_on_web

    (@stl_on_web)

    Hello, my hosting shows me how to see php.ini

    Here are the settings :

    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;
    
    ; HostPapa doesn't approve raises of resource limits above default values, if you make
    ; adjustments to either max_execution_time, max_input_time or memory_limit, you risk
    ; getting your account suspended without any further warnings.
    ; HostPapa reserves the right to reset resource limit settings to default values at any time.
    
    max_execution_time = 30
    max_input_time = 60
    max_input_vars = 9999
    memory_limit = 128M
    
    ...
    
    [Suhosin]
    suhosin.session.encrypt=Off
    suhosin.memory_limit=128M
    suhosin.log.syslog=511
    suhosin.executor.include.max_traversal=5
    suhosin.mail.protect=1
    suhosin.get.max_vars=9999
    suhosin.post.max_vars=9999
    suhosin.request.max_vars=9999
    suhosin.request.max_varname_length=80
    suhosin.request.max_totalname_length=300
    suhosin.cookie.max_name_length=80
    suhosin.post.max_array_index_length=80
    suhosin.post.max_name_length=80
    suhosin.get.max_array_index_length=80
    suhosin.get.max_name_length=80
    zend_extension="/usr/local/Zend/lib/Guard-7.0.0/php-5.5.x/ZendGuardLoader.so"

    What can I do now?

    Thanks

    Plugin Contributor ustimenko

    (@ustimenko)

    Ok, we now see, that you already have 9999 in input vars.

    If it’s still fails, that try to increase those “80” limits to something like 256 or 512. As I remember there could be such long-names.

    I believe there will be somedays light times, when I will release a cardinal fix for all this shitty play-with-the-settings.

    In the meantime try to increase those values too.

    Plugin Contributor ustimenko

    (@ustimenko)

    Btw, those 80-chars limits could be an issue.

    For example name of score input is:

    wpt_score_value[eyJxIjowLCJhIjowLCJzIjowLCJhbnN3ZXJfaWQiOiI4NzQiLCJzY2FsZV9pZCI6IjYifQ==]

    It’s length is 89 chars. So those limits just filters it out.

    suhosin.request.max_varname_length=80
    suhosin.post.max_array_index_length=80
    suhosin.post.max_name_length=80

    Increase it to 256.

    Thread Starter stl_on_web

    (@stl_on_web)

    I increase these values to 256.
    I am sorry.
    It still does not work.

    I create a new test, new scale and new result.

    I put a name and a little description. I save.
    I create 1 question. I save.
    I create 1 answer, I save.

    I put “1” with keyboard or I use de arrows in the scale field. I save.

    And my number is never memorised.
    I despair, but thanks for your help. Is it because my site is not online?

    Plugin Contributor ustimenko

    (@ustimenko)

    @stl_on_web, no.

    It’s clearly because of some php limit settings or suhosin module.

    Btw, try to just disable suhosin module and see if it helps.

    Thread Starter stl_on_web

    (@stl_on_web)

    Ok
    I put this in my php.ini file. (I try with my .htaccess file but I have Internal Server Error (500).)

    [suhosin]
    ; Misc Options
    suhosin.simulation = On

    My score is now saved but I have this message :

    Add this into your php.ini:
    max_input_vars=5000
    suhosin.get.max_vars=5000
    suhosin.post.max_vars=5000
    suhosin.request.max_vars=5000

    .. or .htaccess
    php_value max_input_vars 5000
    php_value suhosin.get.max_vars 5000
    php_value suhosin.post.max_vars 5000
    php_value suhosin.request.max_vars 5000

    .. and reload (restart) server.

    Maybe I finish to create my test and after replace suhosin?

    Plugin Contributor ustimenko

    (@ustimenko)

    To disable suhosin through .htaccess use somethin glike this:

    php_flag suhosin.simulation 1

    Regarding those warning.

    Which values do you have now there?

    max_input_vars------------ 5000 ------ 5000
    suhosin.get.max_vars------ 5000 ------ 5000
    suhosin.post.max_vars----- 5000 ------ 5000
    suhosin.request.max_vars-- 5000 ------ 5000

    Maybe I finish to create my test and after replace suhosin?

    It’s better to find a way to override it’s limits.

    Thread Starter stl_on_web

    (@stl_on_web)

    When I have disabled suhosin through .htaccess, i have used :
    php_flag suhosin.simulation On

    The values now :
    ————————– locale value—- master value
    max_input_vars———— 9999 ———– 9999
    suhosin.get.max_vars—— 100 ———– 100
    suhosin.post.max_vars—– 1000 ———– 1000
    suhosin.request.max_vars– 1000 ———– 1000

    Ok I wait to finish my test.

    Plugin Contributor ustimenko

    (@ustimenko)

    So increase those values to 9999 too. Currently plugin dont’ knows, that suhosin is disabled — it’s just use minimal of all available values.

    Change to 9999 too:

    suhosin.post.max_vars----- 1000 ----------- 1000
    suhosin.request.max_vars-- 1000 ----------- 1000
    Thread Starter stl_on_web

    (@stl_on_web)

    The values now :
    ————————– locale value—- master value
    max_input_vars———— 9999 ———– 9999
    suhosin.get.max_vars—— 9999 ———– 9999
    suhosin.post.max_vars—– 9999 ———– 9999
    suhosin.request.max_vars– 9999 ———– 9999

    I erase :
    suhosin.simulation = On
    in my php.nini ?

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Je ne peux pas remplir les scores’ is closed to new replies.