URL upload error URL upload error
 

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

Main Menu

URL upload error

Started by clookie, November 20, 2006, 09:34:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

clookie

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


clookie

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

Hein Traag

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

lamama

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


clookie

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

Joachim Müller

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?

lamama

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.


Joachim Müller

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

clookie

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

clookie

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

Joachim Müller

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.