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: Cannot upload photos using link from flickr  (Read 7740 times)

0 Members and 1 Guest are viewing this topic.

anindyanuri

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Cannot upload photos using link from flickr
« on: September 19, 2009, 03:28:19 pm »

Sir,

I have uploaded coppermine and installed it. I am using flickr photo links to display of my photo. This returns the following error. Help me please. Damn new to coppermine. Thanks in advance

Code: [Select]
USER:
------------------
Array
(
    [ID] => 508fbb7d4d76b13cea4e769863128f08
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `bardhama_copper`.cpg14x_sessions where time<1253362917 and remember=0; (0s)
    [3] => delete from `bardhama_copper`.cpg14x_sessions where time<1252156917; (0s)
    [4] => select user_id from `bardhama_copper`.cpg14x_sessions where session_id = '698886491f627fd7b786bb85a79702f3' (0s)
    [5] => select user_id as id, user_password as password from `bardhama_copper`.cpg14x_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `bardhama_copper`.cpg14x_users AS u INNER JOIN `bardhama_copper`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `bardhama_copper`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
    [10] => update `bardhama_copper`.cpg14x_sessions set time='1253366517' where session_id = '698886491f627fd7b786bb85a79702f3' (0s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2009-09-19 18:51:57' (0s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='59.93.216.208' OR ip_addr='59.93.216.208' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 ORDER BY title (0s)
    [15] => SELECT aid, title FROM cpg14x_albums WHERE category='10001' ORDER BY title (0s)
    [16] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
    [URI_array] => Array
        (
            [0] => http://farm4.static.flickr.com/3664/3452423945_208dc5a451_o.jpg
            [1] =>
            [2] =>
        )

    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.9 - OK
------------------
mySQL version: 5.0.81-community
------------------
Coppermine version: 1.4.25(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.81
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient  
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.032 seconds - 17 queries in 0 seconds - Album set : ; Meta set: ;

Regards
anindyanuri
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cannot upload photos using link from flickr
« Reply #1 on: September 19, 2009, 06:38:42 pm »

I am using flickr photo links to display of my photo.
I have no idea what that is. We support coppermine here, not Flickr
This returns the following error.
That's not an error message, but debug_output. Turn debug_mode off in coppermine's config (where you have turned in on in the first place) if this bugs you.
If this doesn't answer your question, do exactly as suggested in the docs, section "asking for support on upload issues".
Logged

anindyanuri

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Cannot upload photos using link from flickr
« Reply #2 on: September 20, 2009, 02:55:08 am »

Nice to have your reply. I am sorry for my poor english. Actually the fact is that, I have installed coppermine to my webserver and my photos are stored in Flickr. The thrid party media storage company provides link for each of my photo and I fed the link into coppermine to display my photos instead of uploading photos individually to my web server.

If I upload any photo to my webserver it can display the image, but if I feed the link of the image file, it cannot display, and returns that no image uploaded. The above output was obtained when I get the error.

How can I be able to upload photos to my web server using linking them from my third party photo storage a/c?
Logged

anindyanuri

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Cannot upload photos using link from flickr
« Reply #3 on: September 20, 2009, 08:09:11 am »

Hello,

I have created an guest account. You are requested to visit my site.

Username : guest
Password : guest

Please try uploading a jpg file from your local machine, it will be uploaded well. But as soon as you will try URL upload, it is not being uploaded. Hope this can help all of you to understand my problem.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1543
  • aka 'i-imagine'
    • Home Page
Re: Cannot upload photos using link from flickr
« Reply #4 on: September 20, 2009, 12:25:16 pm »

Follow what the manual tells you to do - someone might be able to take a look.

4.11.4 Upload troubleshooting

Continue here if needed:

4.11.5 Asking for support on upload issues

Make certain you follow all of the steps.

anindyanuri

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Cannot upload photos using link from flickr
« Reply #5 on: September 20, 2009, 03:30:45 pm »

Make certain you follow all of the steps.

My senior, best regards to you for your reply. Yes, I have done all the steps you have mentioned.

First, I turned on the debug mode. It is still turned on. Next, when I enabled Single file upload option to 1 and URI/URL upload option was set to zero, I observed that Album selection box was appearing on the screen along with the File Upload box. I can upload pictures in this mode.

I also used File upload option to zero and URI/URL upload option set to 1. This time the Album selection box was not appearing along with the URI/URL upload box. When I was using URL of my image file, It tells me,
Code: [Select]
Error Report
The following uploads encountered errors:
URI/URL Uploads:
File Name/URL Error Message
1. http://farm4.static.flickr.com/3186/3334518699_1faa471d54_o.jpg
and I cannot upload picture in this mode, but I need this mode as I'll post pictures using the URL link only as there is a very less space in my server. I'll keep my photos to Flickr server and my coppermine to my web server.

At last, I tried setting the File upload set to 1 and URI/URL upload to 1 and given feed to both File upload from my computer and URI/URL upload from Flickr. This time also, the File uploaded from my local machine and the URI/URL upload was failed. This time the Album Selection box came later, after uploading picture from my local computer. The URI/URL upload error message was same as above.

Please tell me, how do I proceed.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1543
  • aka 'i-imagine'
    • Home Page
Re: Cannot upload photos using link from flickr
« Reply #6 on: September 20, 2009, 05:35:19 pm »

It is not a Flicker problem - I have just tried to URL upload one of your thumbs and it failed. It is on your end

The only things that I can suggest (because I have now just tested URI/URL uploads on my test gallery with 1.4.25 and there is no Coppermine issue) is for you to double check your albums folder's permissions settings - (try 777) and also to see if your server and/or setup might have any other write/access restrictions.

anindyanuri

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Cannot upload photos using link from flickr
« Reply #7 on: September 20, 2009, 06:16:53 pm »

I checked. The directories albums and include and its subdirectories and all files have permission 777.

Still I am confused. Any help?  ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cannot upload photos using link from flickr
« Reply #8 on: September 21, 2009, 11:20:06 am »

Does your server allow that in the first place? allow_fopen_url needs to be enabled in your webserver's PHP configuration.

Anyway, I suggest not looking into this in detail: the URI upload feature does not do much except downloading that file to your webserver. You don't save webspace. Use FTP-uploads plus batch-add instead.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.