Title: PHP Error &#8211; Need help please!!
Last modified: August 24, 2016

---

# PHP Error – Need help please!!

 *  Resolved [Tytan914](https://wordpress.org/support/users/tytan914/)
 * (@tytan914)
 * [11 years ago](https://wordpress.org/support/topic/php-error-need-help-please/)
 * After I’ve changed the main directory in the plugin settings accidentely from“/
   project/uploads” to “/project/uploads//bilder/” it happened instantly this:
 * Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/)
   is not within the allowed path(s): (/home/.sites/381/site131/web:/home/.sites/
   381/site131/tmp:/usr/share/pear) in /home/.sites/381/site131/web/project/wp-includes/
   functions.php on line 1497
 * I deleted everything and loaded up my BackUp, but it’s still there! I can only
   see this! I don’t know how to fix it. I guess the Plugin changed something in
   Apache and I have no idea about Apache and PHP :/.
 * Please help me to fix this problem.
 * Best Regards
 * [https://wordpress.org/plugins/media-from-ftp/](https://wordpress.org/plugins/media-from-ftp/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Katsushi Kawamori](https://wordpress.org/support/users/katsushi-kawamori/)
 * (@katsushi-kawamori)
 * [11 years ago](https://wordpress.org/support/topic/php-error-need-help-please/#post-6155699)
 * Hi　Tytan914,
 * It would not be better your question did other than here?
 *  Thread Starter [Tytan914](https://wordpress.org/support/users/tytan914/)
 * (@tytan914)
 * [11 years ago](https://wordpress.org/support/topic/php-error-need-help-please/#post-6155705)
 * Dear Katsushi,
 * No because you wrote this plugin, that means you know exactly what the plugin
   does with the functions.php/open_basedir after changing the directory in the 
   settings of your plugin.
 * So please help me.
 * Regards
 *  Plugin Author [Katsushi Kawamori](https://wordpress.org/support/users/katsushi-kawamori/)
 * (@katsushi-kawamori)
 * [11 years ago](https://wordpress.org/support/topic/php-error-need-help-please/#post-6155716)
 * Will you are using an old version of Media from FTP?
    I think that it is the 
   upload directory may be undone.
 * Please call the options.php the management screen of worpdress.
    `http://xxxxx.
   xxx/wordpress/wp-admin/options.php`
 * `upload_path`
    `upload_url_path`
 * The two items mentioned above, please blank. I think that it is back to the original
   directory structure.
 * Media from FTP is the current Version 7.4. Please use the latest version.
 *  Thread Starter [Tytan914](https://wordpress.org/support/users/tytan914/)
 * (@tytan914)
 * [11 years ago](https://wordpress.org/support/topic/php-error-need-help-please/#post-6155727)
 * Yeah I guess so!
 * Thanks 4 quick support, I really appreciate it.
    What exactly should I blank 
   of them?
 * > // If upload_url_path and upload_path are both default values, they’re locked.
   > 
   > if ( get_option( ‘upload_url_path’ ) || ( get_option(‘upload_path’) != ‘wp-
   > content/uploads’ && get_option(‘upload_path’) ) ) { $whitelist_options[‘media’][]
   > = ‘upload_path’; $whitelist_options[‘media’][] = ‘upload_url_path’; } } else{
   > $whitelist_options[‘general’][] = ‘new_admin_email’;
 * Maybe a noob question, but I have no idea about PHP as I said =)
 * Thanks 4 help.
 *  Plugin Author [Katsushi Kawamori](https://wordpress.org/support/users/katsushi-kawamori/)
 * (@katsushi-kawamori)
 * [11 years ago](https://wordpress.org/support/topic/php-error-need-help-please/#post-6155752)
 * Hi Tytan914,
 * Please use the phpMyAdmin.
 * In wp_options table, please option_value of upload_path and upload_url_path blank.
 *  Thread Starter [Tytan914](https://wordpress.org/support/users/tytan914/)
 * (@tytan914)
 * [11 years ago](https://wordpress.org/support/topic/php-error-need-help-please/#post-6155780)
 * BIG thanks to you bro!
 * You literally saved my ass, **it worked!**
 * Best Regards!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘PHP Error – Need help please!!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/media-from-ftp_d27e1b.svg)
 * [Media from FTP](https://wordpress.org/plugins/media-from-ftp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-from-ftp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-from-ftp/)
 * [Active Topics](https://wordpress.org/support/plugin/media-from-ftp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-from-ftp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-from-ftp/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Tytan914](https://wordpress.org/support/users/tytan914/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/php-error-need-help-please/#post-6155780)
 * Status: resolved