Viewing 15 replies - 16 through 30 (of 31 total)
  • Thread Starter radio-active-man

    (@radio-active-man)

    regarding the post_max_size: I googled a bit and it should be possible to change the size via htaccess (my provider is hosteurope), I’ve added this two lines at the end of the htaccess file (in “.com/high-way/.htaccess”):

    php_value upload_max_filesize 25M
    php_value post_max_size 25M

    but actually I see no changes in behaviour regarding the problem

    Thread Starter radio-active-man

    (@radio-active-man)

    I’ve change the php version from 5.3. to 5.5 and now we have 32M as standard post_max_size, here some more information: https://valentinheinrich.com/high-way/info.php

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Ok, this is interesting. Put values in both fields and submit the form. Expand the debug output and scroll down until you find the section with ::1849::. In this box are the arguments passed to wp_remote_post(). You will see in the “body” parameter you will see both values and their associated fields which means the values are making it through WordPress as far as I can track them without messing with transport level stuff.

    Do you have shell level access to your server? The next step is to interactively run a cURL command equivalent to wp_remote_post() to see what happens.

    Thread Starter radio-active-man

    (@radio-active-man)

    sorry, I don’t know if I have a shell level access and how to run a cURL command…sounds very complicated to me ??

    Plugin Author Mike Walsh

    (@mpwalsh8)

    If you can ask your hosting provider if you have Shell access, I will figure out the syntax of the cURL command.

    Thread Starter radio-active-man

    (@radio-active-man)

    actually I don’t have shell access to my server, it is chargeable and I have to upgrade my webpack to the expensive pro version, which I actually dont need. But I will figure out if they give me a temporally access.

    Thread Starter radio-active-man

    (@radio-active-man)

    FYI I’ve made an upgrade now and should have shell access now ??

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Excellent – you need to login to your Server’s shell account and from the Unix command line, type the following command exactly. If you look in your spreadsheet you’ll see the last entries have “ZZZ” in both columns, that result was entered with a cURL POST submission.

    If this works you’ll see 12345 in one column and 67890 in the other.

    curl --data "entry.1837113921=12345&entry.1903119198=67890&draftResponse=%5B%2C%2C%225835330075320941029%22%5D%0D%0A&pageHistory=0&fvv=0&fbzx=5835330075320941029&submit=Senden" https://docs.google.com/forms/d/1pRCcWRHTrhIY5ykGJj4rSZc_N0FAUkFddzLMZdjNhzM/formResponse
    Thread Starter radio-active-man

    (@radio-active-man)

    I am underway now and will try it later, first I have to deal with the shell access, never doing this before ?? thank you again! laters

    Plugin Author Mike Walsh

    (@mpwalsh8)

    There are a number of tools to access your server’s shell account, Putty is very simple and easy to use. It is what I use 99% of the time when I am on Windows. From Linux or Mac I use the native terminal window and SSH.

    Once you are logged in at have a Unix/Linux command prompt, simply copy and past the command I posted above.

    Thread Starter radio-active-man

    (@radio-active-man)

    I’m using mac/terminal. when I enter “ssh root@*IP of my server* I wasn’t able to login, I got back following message:
    “ssh: connect to host *IP of my server* port 22: Connection refused”

    Then I entered your example command directly into the terminal and now there is 12345 in one column and 67890 in the other – like you wrote. This works but I’m not sure if this is the correct way doing this (also because of the ” Connection refused” message before)..

    Plugin Author Mike Walsh

    (@mpwalsh8)

    What you’ve done is successfully submitted the form from the command line of your Mac as opposed to from your web server. That does verify the command syntax is correct so it helps a bit.

    The connection refused means your login request was denied as you noted. You need to resolve that with your hosting provider. I would suspect that your username will be something other than “root” as that username and password combination aren’t typically given out unless you are self managing your web server (which it doesn’t sound like you are).

    Thread Starter radio-active-man

    (@radio-active-man)

    ok, thank you for the hint, now I managed to login with my username + ssh password!

    but when entering your command, I get following back:
    ” -bash: curl: command not found”

    Plugin Author Mike Walsh

    (@mpwalsh8)

    It may not be in your path (where Unix looks for commands). It is installed on your Server based on the phpinfo() report you shared the other day. You may need to ask your hosting provider where curl is installed. On my server the curl command resolves to /usr/bin/curl.

    Thread Starter radio-active-man

    (@radio-active-man)

    my hosting provider was able to help me and the problem is solved now! ??

    reason: as you can see in my info.php,
    the master value of arg_separator.output is: “& a m p ;”
    and all the values of curl command after the “&” didn’t transfered as a consequence.

    the solution is to add following command to the htaccess file:
    php_value arg_separator.output &

    if other users will also run into that problem: it could be possible that other hosting provider also have this “& a m p ;”– configuration as standard setting, now we know how to fix ??

    Thank you very much for your patience and help!

Viewing 15 replies - 16 through 30 (of 31 total)
  • The topic ‘transfer to sheet: only 1st column get the data’ is closed to new replies.