• Madela

    (@madela)


    Hi,

    I’m having a situation where I can’t create Uploader Instances. I press the button press Here to get started and add the uploader in page. Then I choose page and select the page in which I want the shortcode. Then I press OK… Then I see please wait… and no Instances is created. All plugin’s are deactivated. Any clue ?

    wordpress version 4.7.3
    plugin : wordpress File Upload 3.10.0

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author nickboss

    (@nickboss)

    Hi, an alternative way is to go inside the page and put the shortcode [wordpress_file_upload] manually.

    Do you use any page builder?

    Regards

    Nickolas

    Thread Starter Madela

    (@madela)

    Hi,
    I’ve just tried [wordpress_file_upload] inside the page and the instance is appearing at the back-end and on the page but when a go to modify the instance there is no update button for the shortcode and I can’t add a new PLugin instance either. In the main menu setting there is a button to update. When I upload a file there is an error saying… Unknown error Session failed (see below in french)

    Mise en ligne impossible ! Erreur inconnue.
    échec de chemin de mise ne ligne : 001.png
    fileupload:Session failed!

    Session Data:
    Array ( [wfu_ABSPATH] => /xxx/bxxxxxxxxx/xxxxxxxxxx/public_html/mydirectory/ )

    Post Data:
    Array ( [action] => wfu_ajax_action [wfu_uploader_nonce] => ed4108235e [uploadedfile_1_index] => 0 [uploadedfile_1_name] => 3030312e706e67 [uploadedfile_1_size] => 22969 [uniqueuploadid_1] => DA9iWCSlkv [params_index] => ESRw3NGzx5YcO91h [subdir_sel_index] => -1 [only_check] => 1 [session_token] => 37390481458c16586b9f0b3.37289940 ) force_errorabort_code

    It’s a clean wordpress 4.7.3 installation with only wordpress file upload plugin installed.
    Very strange.

    Plugin Author nickboss

    (@nickboss)

    Hi, please send me the URL of the page where you have the plugin to check.

    Regards

    Nickolas

    Thread Starter Madela

    (@madela)

    Hi Nikolas,

    Here is the url https://livraisonjaak.com/dev_llvraison_jaak/page-d-exemple/

    Thank You!

    Plugin Author nickboss

    (@nickboss)

    I do not see the upload form. What is the shortcode you use?

    Nickolas

    Thread Starter Madela

    (@madela)

    Here is the shortcode used [wordpress_file_upload] I can see it https://livraisonjaak.com/dev_llvraison_jaak/page-d-exemple/

    Madela

    • This reply was modified 8 years ago by Madela.
    Plugin Author nickboss

    (@nickboss)

    Ok I saw it.

    The error is related to session variables. When a user opens a page in your website, a session between its browser and the website is created. This session stays open as long as the user keeps the browser open in your website.

    The plugin uses this session in order to verify that the uploaded file came from that user and not a hacker.

    The problem is that when the file is uploaded to your website there are no session data. For some reason they are reset.

    You said this is a clean install right? Do you have any other plugins? If not, would it be possible to install another theme? Maybe it is related to the theme.

    Nickolas

    Thread Starter Madela

    (@madela)

    Thank you Nickolas,

    I’ve managed to solved it with what you pointed out of being related to session variables. I copied the php.ini file from my web server of another site in which your plugin was working correctly and everything is working now.

    Thanks again!

    Madela

    Plugin Author nickboss

    (@nickboss)

    Fantastic!

    This means that the error was due to a php directive. Could you please tell me what were the differences between these 2 php.ini files? Or could you please send them to me to find myself?

    Regards

    Nickolas

    Thread Starter Madela

    (@madela)

    Hi Nickolas,

    I just sent you the 2 php.ini files so you can see by yourself by email to info*iptanus.com. I changed on my service provider server to test changed to a higher php.ini version and I get the same problems as before. Then I put it back to php.ini 5.5 and everything works find again. I’ve checked 5.6 – 7.0 – 7.1 and the are not working.

    Hope that helps
    bests regards

    Madela

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Can’t create Uploader instances’ is closed to new replies.