Posted on: 06/05/04 06:38pm
By: kewl1uk
I get the following errors when trying to upload a picture. The second probably comes out of the first:
Warning: copy(http://www.site_url/advt/images/5.jpg): failed to open stream: HTTP wrapper does not support writeable connections. in /home/user/public_html/advt/account.php on line 149
Warning: imagejpeg(): Unable to open 'http://www.site_url.com/advt/images/thumb/5.jpg' for writing in /home/user/public_html/plugins/advt/functions.inc on line 438
The images directory and thumbs are CHMOD 777.
btw I censored the url and the user path.
Any help would be greatly appreciated. Thank you.
zClassifieds Errors
Posted on: 06/05/04 10:50pm
By: kewl1uk
Fixed it for now. The $IMAGE_DIR in config.php is a URL but it should be a server path:
In config.php change
$IMAGE_DIR = $_CONF['site_url'] . '/advt/images';
to
$IMAGE_DIR = "images";
The only problem now is that thumbnails are not re-sized proportionately but are squashed. Any help on this would be appreciated. Thank you.