coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: bpops on September 23, 2005, 07:51:58 PM

Title: URI/URL not working
Post by: bpops on September 23, 2005, 07:51:58 PM
Whenever I try to upload a picture using URI/URL, I click submit and it just hangs. Eventually it comes up with 0 files downloaded and the following error:

The following uploads encountered errors: 
URI/URL Uploads: 
File Name/URL Error Message
1. http://nintendudes.com/fakes/small/mini_rev_metroid3a.jpg Could not open URI.

.. that's the imge I'm trying to upload (off my own server)

also, I enabled the debug thing.. here's the errors I get:
-------
While executing query "SELECT VERSION() as version" on 0

mySQL error: Lost connection to MySQL server during query
-------

Warning: fopen(http://nintendudes.com/fakes/rev_metroid3a.jpg): failed to open stream: Operation timed out in /www/n/nintendudesc/htdocs/gallery/upload.php on line 1628

--------





Thanks in advance
Title: Re: URI/URL not working
Post by: bpops on September 23, 2005, 07:52:48 PM
oops sorry please move this to the Upload board :P
Title: Re: URI/URL not working
Post by: Nibbler on September 23, 2005, 08:46:27 PM
http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php

Check that allow_url_fopen is enabled on your server.
Title: Re: URI/URL not working
Post by: bpops on September 23, 2005, 09:06:51 PM
after checking with my webhost I finally did find the problem. fopen is allowed by default.
the problem comes from the way that powweb structures their servers. so instead of doing:
http://nintendudes.com/....
i had to type:
http://localhost.nintendudes.com/....

that did the trick. And all this time I never even tried uploading from a different website, but they all work!

thanks for the help!