Welcome to Geeklog, Anonymous Sunday, October 02 2022 @ 12:20 am 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.

 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

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.
 Quote

All times are EDT. The time is now 12:20 am.

  • 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