Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author hiphopsmurf

    (@hiphopsmurf)

    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.

    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

    Plugin Author hiphopsmurf

    (@hiphopsmurf)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Simple Dropbox Upload] Error after uploading file’ is closed to new replies.