WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: Het Artiek on June 26, 2011, 09:30:05 PM

Title: Can not upload images anymore in bakery
Post by: Het Artiek on June 26, 2011, 09:30:05 PM
Sudden uploading images in bakery doesn't work anymore.

This is the error message i get.

Warning: mkdir() [function.mkdir]: Permission denied in /usr/home/mydomain/public_html/framework/functions.php on line 199

Warning: fopen(/usr/home/mydomain/public_html/media/bakery/images/item12/index.php) [function.fopen]: failed to open stream: No such file or directory in /usr/home/mydomain/public_html/modules/bakery/save_item.php on line 200

Warning: fwrite(): supplied argument is not a valid stream resource in /usr/home/mydomain/public_html/modules/bakery/save_item.php on line 201

Warning: fclose(): supplied argument is not a valid stream resource in /usr/home/mydomain/public_html/modules/bakery/save_item.php on line 202

Warning: mkdir() [function.mkdir]: Permission denied in /usr/home/mydomain/public_html/framework/functions.php on line 199

Warning: fopen(/usr/home/mydomain/public_html/media/bakery/thumbs/item12/index.php) [function.fopen]: failed to open stream: No such file or directory in /usr/home/mydomain/public_html/modules/bakery/save_item.php on line 200

Warning: fwrite(): supplied argument is not a valid stream resource in /usr/home/mydomain/public_html/modules/bakery/save_item.php on line 201

Warning: fclose(): supplied argument is not a valid stream resource in /usr/home/mydomain/public_html/modules/bakery/save_item.php on line 202

Warning: move_uploaded_file(/usr/home/mydomain/public_html/media/bakery/images/item12/noImageAvailable.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /usr/home/mydomain/public_html/modules/bakery/save_item.php on line 263

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/phpOwPkkY' to '/usr/home/mydomain/public_html/media/bakery/images/item12/noImageAvailable.jpg' in /usr/home/mydomain/public_html/modules/bakery/save_item.php on line 263

Warning: getimagesize(/usr/home/mydomain/public_html/media/bakery/images/item12/noImageAvailable.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /usr/home/mydomain/public_html/framework/functions.php on line 560

Warning: imagecreatefromjpeg(/usr/home/mydomain/public_html/media/bakery/images/item12/noImageAvailable.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /usr/home/mydomain/public_html/framework/functions.php on line 574

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /usr/home/mydomain/public_html/framework/functions.php on line 576

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/usr/home/mydomain/public_html/media/bakery/thumbs/item12/noImageAvailable.jpg' for writing: No such file or directory in /usr/home/mydomain/public_html/framework/functions.php on line 577

Warning: imagedestroy(): supplied argument is not a valid Image resource in /usr/home/mydomain/public_html/framework/functions.php on line 580

Have someone experienced the same problem?

Could this be the same solution as here >>> https://forum.WebsiteBaker.org/index.php/topic,19062.msg127557/topicseen.html#msg127557

Greetz
Leo
Title: Re: Can not upload images anymore in bakery
Post by: Ruud on June 26, 2011, 10:48:35 PM
The first line is your only problem.
Code: [Select]
Warning: mkdir() [function.mkdir]: Permission denied in /usr/home/mydomain/public_html/framework/functions.php on line 199WB has no permission to create a new directory.

http://www.websitebaker2.org/topics/files-and-permissions.php
Title: Re: Can not upload images anymore in bakery
Post by: Het Artiek on June 28, 2011, 05:20:55 PM
tnx Ruud for the help

But i never changed the permissions and everything worked before.

Groet,
Leo
Title: Re: Can not upload images anymore in bakery
Post by: Het Artiek on December 07, 2011, 10:14:02 PM
Talked to my host they solved the problem with the permissions

 :?