• Hello. First, thanks for developing what looks like a very useful tool. I’m surprised this wasn’t around before.

    I downloaded and installed this plugin on my wp site. Right after activating the plugin, I got these notices at the top of the page:

    Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/html/wp-includes/functions.php on line 3587 Notice: wp_deregister_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/html/wp-includes/functions.php on line 3587

    I went on and followed the directions for app key, app secret, and everything else, but the form submission fails when I’ve filled out a field that is set to add the upload to my Dropbox. (This isn’t live anywhere yet, it just fails on submitting the preview of the form.) This error message comes up:

    Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/html/wp-includes/functions.php on line 3587 Notice: wp_deregister_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/html/wp-includes/functions.php on line 3587 Warning: fopen(\var\www\html\files\gravity_forms\1-31ebffe1297fe9663faa9bcdc7bfe463\2012\10\IMG_1854contrast.jpg): failed to open stream: No such file or directory in /var/www/html/assets/plugins/gravity-forms-dropbox-uploader/dropbox-api/API.php on line 114 Warning: stream_get_contents() expects parameter 1 to be resource, boolean given in /var/www/html/assets/plugins/gravity-forms-dropbox-uploader/dropbox-api/API.php on line 294 Fatal error: Uncaught exception ‘Dropbox_Exception_RequestToken’ with message ‘Error: (400) Array ‘ in /var/www/html/assets/plugins/gravity-forms-dropbox-uploader/dropbox-api/OAuth/Curl.php:135 Stack trace: #0 /var/www/html/assets/plugins/gravity-forms-dropbox-uploader/dropbox-api/API.php(302): Dropbox_OAuth_Curl->fetch(‘https://api-con…’, ‘–R50hrfBj5JYyf…’, ‘POST’, Array) #1 /var/www/html/assets/plugins/gravity-forms-dropbox-uploader/dropbox-api/API.php(120): Dropbox_API->multipartFetch(‘https://api-con…’, false, ‘%5Cvar%5Cwww%5C…’) #2 /var/www/html/assets/plugins/gravity-forms-dropbox-uploader/dropbox.php(436): Dropbox_API->putFile(‘Application Rep…’, ‘\var\www\html\f…’) #3 [internal function]: GFdropbox::set_post_content(Array, Array) #4 /var/www/html/wp-includes/plugin.php(405): call_user_func_array(Array, Array) #5 /var/www/html/assets/plugins/gravityforms/form_display.php(880): do_action(‘gform_entry_cre…’, Array, Array) #6 /var/www/html/assets/plugins/gravityforms/form_display.php(75): GFFormDisplay: in /var/www/html/assets/plugins/gravity-forms-dropbox-uploader/dropbox-api/OAuth/Curl.php on line 135

    Maybe you can make more sense of these errors than me?

    https://www.ads-software.com/extend/plugins/gravity-forms-dropbox-uploader/

Viewing 8 replies - 1 through 8 (of 8 total)
  • I’m having the same problem with a very similar error message. Deleted every plug-in and reinstalled, deactivated all but gravity forms and this one and still get the message. Any help is appreciated.

    Jake Jackson

    (@blue-liquid-designs)

    Hi mate,

    I’ll took a look into the problem next week for you.

    From what I can gather from the error message though, the plugin couldn’t find your file to send to the Dropbox API. Verify that the file is located in the folders given. Let me know if it’s not or the path is incorrect and I’ll see if I can help you fix the issue.

    \var\www\html\files\gravity_forms\1-31ebffe1297fe9663faa9bcdc7bfe463\2012\10\IMG_1854contrast.jpg

    Jake Jackson

    (@blue-liquid-designs)

    The first style sheet error should now be fixed. You’ll need to do some more debugging to fix the file not being found problem. Double check the file is being created in the directory specified.

    For further assistance email me on [email protected].

    Kind Regards,

    Jake Jackson

    i got the same error message when uploading a file.. the option “Upload file to your Dropbox account?” checked/unchecked i still got the errors,,

    do we need to make our Dropbox App status approved or leave it with “Development” status?

    what i notice on my error message “failed to open stream”, is that it duplicates the name of my WordPress directory

    the generated path on the error message is something like this:

    fopen(\home\joell\public_html\dev\dev\wp-content\uploads\gravity_forms\7-04698468ab86453cdab412ab90d11e71\2012\10\3taps1.jpg)

    the path should not have two “dev” need only one..

    Jake Jackson

    (@blue-liquid-designs)

    Thank you jlapitan for that feedback.

    Can you confirm that when you you go to the directory in the error message (with the second dev removed) that the file is located there?

    No, you don’t need to get the Dropbox App status approved. Development is fine as you are only authenticating one account.

    yap! the file do exists..

    I have a question about the integration of dropbox and gform. the file is uploaded both on my server & dropbox? or dropbox only? my concern is i don’t want to store many files on my server.

    Jake Jackson

    (@blue-liquid-designs)

    No problem. I’ll look into the incorrect directory problem this week.

    The files are both stored on your server and on your dropbox. I’ll add it to the features list about deleting the uploaded file from your server after it has successfully been placed on Dropbox.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Gravity Forms Dropbox Uploader] Problems with my version maybe?’ is closed to new replies.