• You’re supposed to get a token from flickr automatically. That doesn’t work, so I added the token manually.
    Then there is an option to upload a test picture. That doesn’t do anything at all.
    So I tried to create a test page with a picture, published it…and nothing happened.
    And when I tried to go to settings wp2flickr my apache server died.
    So I uninstalled and deleted the plugin.
    The idea may be good but I would like to have a plugin that works.

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author fsimo

    (@fsimo)

    Since Flickr changed its API I’m trying to fix the plugin. My problem is I can’t test on any server. I have it working on mine, I have a friend how is trying to help me to fix it for its server.

    I have no previous notice about any problem with 4.0. It’s working on my server with 4.0 so it’s not a 4.0 problem, it’s server libraries problem.

    Also I have a very limited time to this.

    Token may fail, that’s why there is a manual option.
    Test image should work *after* the token setting is saved.

    If test image is not uploaded there is a problem with cURL libraries.

    Unfortunately the plugin still does not work! I have really loved to use this one and it would be great if Fran could make it work again!

    Plugin Author fsimo

    (@fsimo)

    I need to be clear. The problem is server side related. It’s working on my servers… I can’t test in others.

    I’ll try to update PHPFlickr library again.

    Plugin Author fsimo

    (@fsimo)

    I just uploaded the 0.15 version. It might solve the problems.
    Please can someone test it? Thanks

    Thread Starter topsoftbe

    (@topsoftbe)

    I tested it today. Installation went OK, I had to enter the code manually but the test picture uploaded successfully.
    I created a new post, but each time I tried to upload a picture into the post, the connection to the server was broken and I had to restart apache and mysql.
    I then deactivated the plugin and I could upload the same picture into the same post without any problem.
    I have now uninstalled and deleted the plugin.

    Plugin Author fsimo

    (@fsimo)

    @topsoftbe It is a problem with the size of your picture or your connection to Flickr. If the test image can be upload the plugin works. But you must understand that it depends on flickr.
    If the image resolution is too high I suspect that your server is killing the PHP script before it ends to upload the photo.

    Plugin Author fsimo

    (@fsimo)

    Any way, the plugin is spected to publish schedule posts not living edits.

    Thread Starter topsoftbe

    (@topsoftbe)

    That is what I thought, so it was strange that my server died while editing my post (simply uploading a picture) with the plugin activated.
    The picture was 379 KB.
    Anyway, I will try again tomorrow and keep you informed.

    Hi Fran,

    great you updated wp2flickr! Still I have issues. Here is what I did:

    – 2 WordPress installations
    – both run at the same hoster, same setup, same PHP version etc.

    Installation 1:
    – ALL other plugins deactivated
    – flickr authorization gives error message
    – test picture does not work
    – with normal post no photo uploaded

    Installation 2:
    – only a few other plugins running
    – flickr authorization gives error message
    – test picture works!!!
    – with normal post no featured image uploaded, but image that is in the post gets uploaded!!!!

    Any idea what to look for? Is there a log file generated?

    Also: When I delete the plugin and install again all the settings are still there. How can I completely delete it?

    I would LOVE this to work again – let me know how I can help!

    Thank you!

    Best,
    Andreas

    Thread Starter topsoftbe

    (@topsoftbe)

    I tried again, but still no luck.

    There’s one (720×500) image (95 KB) in the post and as featured image.

    Nothing gets uploaded, but test picture loads without a problem.

    Can you tell a bit more about your WP config? What theme do you use and what plugins do you have? Maybe the plugin looks at the wrong place for the image or maybe there’s a conflict with another plugin.

    I use JetPack and the uploads to Google, Tumblr, Twitter and LinkedIn all work without a problem, not only the picture but also the title and excerpt get uploaded. It’s just the Flickr plugin that doesn’t do anything at all.

    Plugin Author fsimo

    (@fsimo)

    @topoftbe I use the plugin with jetpack too. I use several themes in different installations.

    Did you tried creating a new post? Every time the plugin starts to upload a picture it marks the post as in-upload. If it fails it will never try again. Yes I should add a “upload again” option into the post editing but.

    Can you check if you have the wp_wp2flickr table in your database?

    Plugin Author fsimo

    (@fsimo)

    @timtown to complete de-install you may want to delete the wp_wp2flickr table in your database.

    Yes, there is a log in https://justpictures.es/wp-content/plugins/wp2flickr/log.txt (change you blog address)

    I can add more log message to solve all the issues.

    @fran
    Thanks Fran. I tested this on 2 WP installations. Here is the result:

    A) WP Installation 1 (nothing works)

    New installation of wp2flickr
    1. De-authorized wp2flickr in Flickr
    2. De-installed wp2flickr from wp blog
    3. Deleted database as per your suggestion
    4. Deactivated all plugins on my wp installation
    5. Fresh install of wp2flickr – NOTE: The Token was still there – even though I did all the above steps. Is there somewhere a hidden entry in the database?
    6. Fresh authorization with flickr (get the error message, but code entered correctly)

    Trying to post images
    1. Test Upload
    Result: no image posted

    2. posting a scheduled post with 2 images (one featured image, one in the body)
    Result: no image posted

    3. posting a scheduled post with just 1 image (featured image)
    Result: no image posted

    log file:

    2014-12-17 08:57:19 – insert into wp_wp2flickr ( post_id ) select ID from wp_posts where post_status=’publish’ and id not in ( select post_id from wp_wp2flickr )
    2014-12-17 09:02:04 –
    2014-12-17 09:02:04 – Error uploading /kunden/383368_80999/webseiten/wordpress/wp-content/uploads/2014/12/Andreas-Timm-selfportrait-500×476.jpg
    2014-12-17 09:02:04 – error code: 96
    2014-12-17 09:02:04 – error message: Invalid signature

    Note: The post with just a featured image does not generate any log – the above log only shows the post with the image in the body of the post.

    B) WP Installation 2 (test upload works, posting image on body of post works, featured image posting does not work)

    New installation of wp2flickr
    – did the same as in above –

    Trying to post images
    1. Test Upload
    Result: image posted successfully

    2. posting a scheduled post with 2 images (one featured image, one in the body)
    Result: only image in body posted successfully, featured image not posted

    3. posting a scheduled post with just 1 image (featured image)
    Result: image not posted

    log file:

    2014-12-17 09:16:01 – insert into wp_wp2flickr ( post_id ) select ID from wp_posts where post_status=’publish’ and id not in ( select post_id from wp_wp2flickr )
    2014-12-17 09:20:54 – 16015785176
    2014-12-17 09:20:55 – ,
    2014-12-17 09:20:55 – Adding 16015785176 to:
    2014-12-17 09:20:56 –
    2014-12-17 09:20:56 – error code: 2
    2014-12-17 09:20:56 – error message: Group not found

    Note: The log gives a “Group not found” – but I have not defined any group in the settings

    Any idea? Let me know what else I could do to help.

    Thanks.

    Best, Andreas

    Thread Starter topsoftbe

    (@topsoftbe)

    I checked the database and the logfile.
    This is what I found:

    Logfile:
    2014-12-16 16:46:14 – insert into art_wp2flickr ( post_id ) select ID from art_posts where post_status=’publish’ and id not in ( select post_id from art_wp2flickr )

    2014-12-16 16:53:03 –
    2014-12-16 16:53:03 – Error uploading [path and filename of picture]
    2014-12-16 16:53:03 – error code:
    2014-12-16 16:53:03 – error message:
    2014-12-16 16:53:26 –
    2014-12-16 16:53:26 – Error uploading [path and filename of picture]
    2014-12-16 16:53:26 – error code:
    2014-12-16 16:53:26 – error message:

    Database: I found nearly 500 records:

    Post_id: with incremental numbers starting at 5, ending at 4251
    yapb_id: always 0
    flickr_photo_id: always 0

    The post I posted had one picture in the body and one (the same) featured image.

    But…

    The image in the art_posts table has not a status of “publish” but a status of “inherited”.

    I have deleted all the bogus entries in the art_wp2flickr table and will try again.

    Thread Starter topsoftbe

    (@topsoftbe)

    I have just created a new blog, called test, with only akismet and wp2flickr as plugins and using the twenty fourteen theme.
    I added one post with just one picture.
    The pic got uploaded to flickr and was in the correct group.

    I then created a second post, with 2 pictures and a featured picture, only one picture got uploaded, but maybe that’s the way you programmed it.

    So the plugin is working correctly in this configuration.
    I will now add all my normal plugins one by one until it stops working.
    Also, I will change the theme to my standard theme.
    I will keep you informed about the results.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Not working with V4’ is closed to new replies.