• Hello

    I get an error message when I activate the eShop plugin.

    I’ve copied it in full below. This appears at the top of every page on the website. I’ve deactivated all other plugins to see if they clash, but the problem still exists.

    Any idea how to fix this?

    NB
    I am not very clued up on databases & php, so a kiddy 3 year old answer will really help 🙂

    Regards
    Eric

    Warning: copy(/usr/www/users/guardiyu//usr/www/users/guardiyu/wp-content/uploads/eshop_files/eshop.css) [function.copy]: failed to open stream: No such file or directory in /usr/www/users/guardiyu/wp-content/plugins/eshop/cart-functions.php on line 907

    Warning: chmod() [function.chmod]: No such file or directory in /usr/www/users/guardiyu/wp-content/plugins/eshop/cart-functions.php on line 908

    Warning: copy(/usr/www/users/guardiyu//usr/www/users/guardiyu/wp-content/uploads/eshop_files/order-recieved-email.tpl) [function.copy]: failed to open stream: No such file or directory in /usr/www/users/guardiyu/wp-content/plugins/eshop/cart-functions.php on line 907

    Warning: chmod() [function.chmod]: No such file or directory in /usr/www/users/guardiyu/wp-content/plugins/eshop/cart-functions.php on line 908

    Warning: copy(/usr/www/users/guardiyu//usr/www/users/guardiyu/wp-content/uploads/eshop_files/eshop-onload.js) [function.copy]: failed to open stream: No such file or directory in /usr/www/users/guardiyu/wp-content/plugins/eshop/cart-functions.php on line 907

    Warning: chmod() [function.chmod]: No such file or directory in /usr/www/users/guardiyu/wp-content/plugins/eshop/cart-functions.php on line 908

    Warning: copy(/usr/www/users/guardiyu//usr/www/users/guardiyu/wp-content/uploads/eshop_files/customer-response-email.tpl) [function.copy]: failed to open stream: No such file or directory in /usr/www/users/guardiyu/wp-content/plugins/eshop/cart-functions.php on line 907

    Warning: chmod() [function.chmod]: No such file or directory in /usr/www/users/guardiyu/wp-content/plugins/eshop/cart-functions.php on line 908

Viewing 5 replies - 1 through 5 (of 5 total)
  • Anonymous User

    (@anonymized-3085)

    Can you confirm which version of WordPress you are using, as well as which version of eshop and I’ll take a look at it for you.,

    I get the same error. I am using eshop 2.6.4 with WP 2.6.2

    Anonymous User

    (@anonymized-3085)

    I’m aware of the issue, but I am unable to recreate it myself. This makes it difficult for me to track down the exact cause of the problem.

    However I am in the process of finishing off a possible fix for this and I’ll hopefully have it available in a day or so.

    Anonymous User

    (@anonymized-3085)

    Version 2.6.5 released to hopefully fix this bug.

    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 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: eShop] Error: Warning: /cart-functions.php on line 907’ is closed to new replies.