Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: URL upload error  (Read 4295 times)

0 Members and 1 Guest are viewing this topic.

clookie

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
URL upload error
« on: November 20, 2006, 09:34:51 pm »

i get the following error when i try uploading files, i tried several servers & hosts, i just checked my folder permissions
for example thes files won't work:
http://www.gigafiles.co.uk//files/100/Test%201/Alien%201.jpg
http://www.gigafiles.co.uk//files/100/Test%201/Alien%202.jpg
http://www.gigafiles.co.uk//files/100/Test%201/Monkey%201.jpg
http://www.gigafiles.co.uk//files/100/Test%201/Leaf.jpg
and then it gives the following error for each file: HTTP/1.1 200 OK

if you want to test it, let me know i'll create a test-account. or if you can't help me then at least try explaining what this error code means. Because i have no idea
Logged

clookie

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: URL upload error
« Reply #2 on: November 20, 2006, 09:49:45 pm »

yeah tried that too but didn't work, thanks anyway
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: URL upload error
« Reply #3 on: November 20, 2006, 09:55:55 pm »

http://www.gigafiles.co.uk//files/100/Test%201/Leaf.jpg

should be

http://www.gigafiles.co.uk/files/100/Test%201/Leaf.jpg

So, without the double // behind .co.uk

Works for me.

Cheers!
Hein
Logged

lamama

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 404
Re: URL upload error
« Reply #4 on: November 20, 2006, 10:21:59 pm »

Quote
at least try explaining what this error code means.

It means: everything should be ok. If it won't work:

Please give us some more details about what you did and how did you receive the error message - just to help us understand what went wrong.

Some link to your gallery and a test account would of course be helpful.

Logged

clookie

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: URL upload error
« Reply #5 on: November 21, 2006, 01:03:01 pm »

well here it is, you should know that it is in dutch, but normally you'll recognize everything
but for you I changed it temporary (just click on you language flag)

username: Lifesucks
password: kakadei
site ztz.110mb.com/coppermine

you won't see any pics because i'm just finding out how everything works
what i did:
-went to homepage
-clicked album
-clicked upload files
-tried several samples for url/uri uploading and everytime i got that error from my first post and it said no files were uploaded

and Hein: i already checked that, the // was the one i got from gigafiles, i also tried other sites, even pics just from google pics...
and folder permissions are right too
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: URL upload error
« Reply #6 on: November 21, 2006, 01:27:44 pm »

Test user account doesn't work for me on http://ztz.110mb.com/coppermine/. Review.
You appear to be self-hosted, judging from the poor response of your site. So blindly guessing even more, you're on a Windows-driven server. Which leads me to the question: did you set up permissions as suggested in the docs that come with coppermine? What webserver are you using?
Logged

lamama

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 404
Re: URL upload error
« Reply #7 on: November 21, 2006, 03:39:52 pm »

your webserver is indeed really slow. If your going to display videos (as your gallery title says) you won't have much fun there.

I created an account and uploaded a file from my disk, but URL-Upload surprisingly won't work.

Maybe your webserver does not allow files to be uploaded from the web (mod_security or disabled functions in php).

Look at Coppermine -> Admin-tools -> Php-Info for "disable_functions". This Info may be helpful.

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: URL upload error
« Reply #8 on: November 21, 2006, 05:10:03 pm »

You can't use URI uploads if your webhost (or you, if the server is yours to configure) has disabled url_fopen. Anyway, I'm only blindly guessing here: most users mistake the purpose URI upload functionality - it is not meant to be used by the admin. The admin is suppossed to use FTP-uploads plus batch-add. Only regular users should use the URI uploads, and we even recommend not allowing them to do so: this will only lead to users uploading files to your page of which they don't own the copyright, leading into legal issues with the owners of the pics.
Bottom line: if URI uploads don't work for you, just don't use them. If they do work for you, still don't use them. We're considering the removal of the URI upload function in future versions of Coppermine, as it isn't particularly helpful and only misleads admins into believing that they should use it (although the docs say otherwise).
Logged

clookie

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: URL upload error
« Reply #9 on: November 21, 2006, 05:14:02 pm »

yeah ok that everything goes slow is because there are some optimization problems, just temporary, normally the host is great
Click here to see 110mb's futures
oh and sorry forgot to type 13
so user: Lifesucks13
passw: kakadei

could allow_url_fopen have to do something with it?
i think those functions are disabled:(which ones should i need)
system,shell_exec,passthru,set_time_limit,error_log,ini_alter,dl,pfsockopen,openlog,syslog,readlink,symlink,link,leak,popen,escapeshellcmd,apache_child_terminate apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,virtual
Logged

clookie

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: URL upload error
« Reply #10 on: November 21, 2006, 05:16:29 pm »

ok thanks now i know what the problem is url fopen must be enabled
should mention this in requirements maybe
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: URL upload error
« Reply #11 on: November 21, 2006, 05:20:05 pm »

Why don't you click on the link in my previous posting? Anyway, you don't seem to have read my reply thoroughly: if url_fopen is disabled for you, you'll have to discuss this with your webhost, not with us.
However, we recommend not using URI uploads at all. Did you think about this? Just for clarification: you won't save any webspace if you use URI uploads - the files you upload using this method will be copied over to the webspace your coppermine gallery is running on. There is simply no point in using it.

The test user account doesn't help much, because you haven't done as suggested in the upload troubleshooting section of the docs. Do as suggested there if you want help.

Joachim

P.S. Life does not suck. Life is great.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 22 queries.