WordPress.org

Ready to get started?Download WordPress

Forums

Simple Dropbox Upload
[resolved] Error after uploading file (4 posts)

  1. klaxon
    Member
    Posted 2 years ago #

    I`ve installed plugin and authorized on dropbox. Trying to upload file and here is what I get: http://screencast.com/t/gxrstQ6VyKG

    http://wordpress.org/extend/plugins/simple-dropbox-upload-form/

  2. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    This is error is caused because your host does not allow PHP override. You would need add :/home/book4/book4.com.au/www/wp-content/plugins/simple-dropbox-upload-form/inc/Dropbox/pear_includes to include_path in your php.ini file. Alternately you can use the SugarSync Plugin I made which does the same thing as this plugin but does not require all the authorization stuff that dropbox does.

  3. sanjos
    Member
    Posted 2 years ago #

    I have removed the comment slash from the below code in wp-dropbox.php page.It is because instead of editing php.ini directly.Is it correct method?
    ini_set( 'include_path', dirname( __FILE__ ) . '/inc/Dropbox/pear_includes' . PATH_SEPARATOR . ini_get('include_path') );
    set_include_path( get_include_path() . PATH_SEPARATOR . dirname( __FILE__ ) . '/inc/Dropbox/pear_includes' );

    But I am getting an error

    Fatal error: Cannot redeclare dropbox_autoload() (previously declared in /home/myserver/public_html/site/wp-content/plugins/simple-dropbox-upload-form/inc/Dropbox/autoload.php:18) in /home/myserver/public_html/site/wp-content/plugins/simple-dropbox-upload-form/inc/Dropbox/autoload.php on line 26

  4. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    It was commented for a reason. You are now trying to include it twice. If it wouldn't work before, it surly isn't going to work now. If it doesn't work the way you downloaded it its because your host probably won't support it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic