coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: MissEmmaLee on March 28, 2007, 04:27:48 PM

Title: Error Message HTTP/1.0 200 OK on URL upload..
Post by: MissEmmaLee on March 28, 2007, 04:27:48 PM
When uploading a photo through a url,
each time with a different url..it's not working.

Permissions have been checked..
the URL isn't password protected..

I just get an HTTP error..

Any clue?
Thanks...

http://girlsdancedifferent.com/coppermine/

tester
tester
Title: Re: Error Message HTTP/1.0 200 OK on URL upload..
Post by: Nibbler on March 28, 2007, 06:00:29 PM
Verify you have url_fopen enabled in phpinfo.php
Title: Re: Error Message HTTP/1.0 200 OK on URL upload..
Post by: MissEmmaLee on March 28, 2007, 09:30:24 PM
Can you tell me where to put it?
Total nOOb..sorry

error_reporting (E_ALL ^ E_NOTICE);

define('IN_COPPERMINE', true);

define('PHPINFO_PHP', true);

require('include/init.inc.php');



$CONFIG['debug_mode']=0;



if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied']);



pageheader($lang_cpg_debug_output['phpinfo']);



ob_start();

phpinfo();

$string = ob_get_contents();

$string = strchr($string, '</style>');

$string = str_replace('</style>','',$string);

$string = str_replace('class="p"','',$string);

$string = str_replace('class="e"','class="tableb"',$string);

$string = str_replace('class="v"','class="tablef"',$string);

$string = str_replace('class="h"','class="tableh2"',$string);

$string = str_replace('class="center"','',$string);

ob_end_clean();



print '<div align="left" style="overflow:hidden;width:800px;text-align:left;">';

starttable('100%', $lang_phpinfo_php['php_info'], 1);

print '<tr><td class="tableb">';

print $lang_phpinfo_php['explanation'];

print '<br />';

print $lang_phpinfo_php['no_link'];

print '</td></tr>';

endtable();

print '<br />';





print $string;

print "</div>\n";





pagefooter();

ob_end_flush();



?>
Title: Re: Error Message HTTP/1.0 200 OK on URL upload..
Post by: Nibbler on March 28, 2007, 10:42:56 PM
Click on http://girlsdancedifferent.com/coppermine/phpinfo.php and see if it is enabled.
Title: Re: Error Message HTTP/1.0 200 OK on URL upload..
Post by: MissEmmaLee on March 29, 2007, 07:22:22 PM
It's says it's not..can you tell me how?

Really appreciate this.. :-[
Title: Re: Error Message HTTP/1.0 200 OK on URL upload..
Post by: Nibbler on March 29, 2007, 07:25:29 PM
You'd need to ask your webhost.
Title: Re: Error Message HTTP/1.0 200 OK on URL upload..
Post by: Joachim Müller on March 30, 2007, 08:19:25 AM
Just as a clarification: URI uploads are not a terribly usefull feature: some users seem to belive that this equals hotlinking and remote storage, leaving the pics on the place the URI points to, thus saving webspace. This is not the case: when using URI uploads, the files get transfered to your coppermine webspace, just as well as when using http uploads. I recommend forgetting about the URI uploads feature. You (as Coppermine admin) should use FTP-upload plus batch-add instead.