Title: dgdev's Replies | WordPress.org

---

# dgdev

  [  ](https://wordpress.org/support/users/dgdev/)

 *   [Profile](https://wordpress.org/support/users/dgdev/)
 *   [Topics Started](https://wordpress.org/support/users/dgdev/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dgdev/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dgdev/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dgdev/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dgdev/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dgdev/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: eShop] Error: Warning: /cart-functions.php on line 907](https://wordpress.org/support/topic/plugin-eshop-error-warning-cart-functionsphp-on-line-907/)
 *  [dgdev](https://wordpress.org/support/users/dgdev/)
 * (@dgdev)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/plugin-eshop-error-warning-cart-functionsphp-on-line-907/#post-842354)
 * I had the same problem.
    To fix it you must create a folder titled “eshop_downloads”
   within your “wp-content” folder. (If you don’t want to modify the code. Make 
   sure you set correct permissions on all folders.
 * You can look at the code which gives the problem right here:
 *     ```
       $eshop_goto=$upload_dir.'/../eshop_downloads';
       $eshop_from=$plugin_dir.'/eshop/downloads';
       if(!file_exists($eshop_goto.'/.htaccess')){
       	wp_mkdir_p( $upload_dir );
       	wp_mkdir_p( $eshop_goto );
       	if ($handle = opendir($eshop_from)) {
       		/* This is the correct way to loop over the directory. */
       		while (false !== ($file = readdir($handle))) {
       			if($file!='' && $file!='.' && $file!='..'){
       				copy($eshop_from.'/'.$file,$eshop_goto.'/'.$file);
       				chmod($eshop_goto.'/'.$file,0666);
       			}
       		}
       		closedir($handle);
       	}
       }
       ```
   
 * Seems like this problem might be limited to windows IIS users, as the directory
   is never created. Possibly a permissions error. Anyhow just manually create the
   folder to be error free.

Viewing 1 replies (of 1 total)