Welcome to Geeklog, Anonymous Wednesday, October 09 2024 @ 10:29 pm EDT
Geeklog Forums
zClassifieds Errors
Status: offline
kewl1uk
Forum User
Newbie
Registered: 05/30/04
Posts: 2
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.
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.
12
8
Quote
Status: offline
kewl1uk
Forum User
Newbie
Registered: 05/30/04
Posts: 2
Fixed it for now. The $IMAGE_DIR in config.php is a URL but it should be a server path:
In config.php change
to
The only problem now is that thumbnails are not re-sized proportionately but are squashed. Any help on this would be appreciated. Thank you.
In config.php change
Text Formatted Code
$IMAGE_DIR = $_CONF['site_url'] . '/advt/images';to
Text Formatted Code
$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.
8
10
Quote
All times are EDT. The time is now 10:29 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content