I have coded some PHP pages, so if you could give me some directions, I can try coding that features myself.
Thanks a lot! ;-)
seany187
Joined: 2008-06-27
Posts: 2
Posted: Mon, 2008-06-30 15:40
Awesome thanks!!
technobilder
Joined: 2003-02-09
Posts: 214
Posted: Wed, 2008-08-06 15:10
I have problems with G-2.2.5 and the module.
Installation works fine, but after it there's no button displayed for the gallery2flickr tool anywhere. Not in Albumview or the sidebar or the picture displayed. Anything I could check up?
TheGoOse
Joined: 2002-12-31
Posts: 50
Posted: Sat, 2008-08-16 15:56
TheGoOse wrote:
Hi. I'm migrating my personal gallery from Gallery2 to Flickr, and I've found your module great.
It works fine, but I have some problems and missing features:
Dates in the photos are reset to present day.
Geographical data is not translated. I'm using Gallery 2 Google Map Integration, which keeps a g2_mapMap table with the GPS coordinates.
Comment dates get lost, too. It would be fine if the comment date could be imported in flickr as a literal ("Gallery Comment :: User :: Date :: ...")
I think I've managed to make all those changes by myself. Heres the patch file for the "Gallery2Flickr.class.php" file
I suppose the code should be very similar for the import functions.
Please test it, as I've only tried it in my own Gallery.
Regards,
Javier
robrecord
Joined: 2008-10-01
Posts: 13
Posted: Wed, 2008-10-01 16:51
Noob advice (from fresh experience):
I had a fresh install of Gallery2 and added Gallery2Flickr. Could not for the life of me find a link to get it to work.
Then I stumbled into the 'Your Account' page (top right) and found the key!
If you can't see where to administer Gallery2Flickr, go there and authenticate first.
It doesn't seem to say this in the instructions. Or maybe I was being too hasty.
After this the links should be available in the main Gallery area, on the left as usual.
jbd
Joined: 2008-10-11
Posts: 2
Posted: Sat, 2008-10-11 02:29
Hi. Is there a way to import Flickr comments into Gallery2 using this module?
jbd
Joined: 2008-10-11
Posts: 2
Posted: Sat, 2008-10-11 22:00
TheGoOse,
I just saw your comment from above, regarding importing Flickr comments into Gallery2:
Quote:
I suppose the code should be very similar for the import functions.
Do you have any plans to add this feature? This is the only thing keeping me from migrating my 32,000 photos completely off of flickr to gallery2.
Thanks.
joshain
Joined: 2009-01-06
Posts: 2
Posted: Tue, 2009-01-06 05:44
Hello all,
I just installed the gallery2flickr plugin, and it does not seem to be uploading to flickr correctly. I figured out how to provide my flickr credential, and am able to import from flickr (I only tried importing one image so far, but it worked fine). When I export to flickr, and choose the visibility of my photo or album, the pages submits immediately, and no new pictures appear in my photo stream.
I am using the most recent version of the plugin (.91) and the most recent version of gallery (2.3). Any help would be appreciated. Thanks!
jdaldous
Joined: 2009-01-12
Posts: 1
Posted: Mon, 2009-01-12 20:52
I'm afraid I'm in the same boat as joshain. The latest Gallery2, the latest Flickr Module. Imports work fine, but the exports just send me to a the gallery page of the image!
I wouldn't imagine that it's a lightbox related clash?
Any advice would be greatly appreciated.
joshain
Joined: 2009-01-06
Posts: 2
Posted: Mon, 2009-01-12 21:00
jdaldous -- I wound up using export-to-flickr to copy my images over to flickr. It is a script, not a plugin, and has much less control than gallery2flickr, but then again I was able to get it to work. It basically dumps all of your gallery albums to flickr. Details are at http://www.wantmoore.com/archives/tag/gallery2/ and http://www.wildgardenseed.com/Taj/Export_Gallery2_to_Flickr.shtml. Setting up the flickr api key was a little tricky, you need to set the callback to auth.php on your export-to-flickr installation. Also, the script cannot handle any gallery nesting, and gave me an out of memory exception on a slightly large video. Good luck!
Jean-Marc Liotier
Joined: 2004-03-07
Posts: 80
Posted: Mon, 2009-01-26 16:48
jdaldous wrote:
I'm afraid I'm in the same boat as joshain. The latest Gallery2, the latest Flickr Module. Imports work fine, but the exports just send me to a the gallery page of the image!
Seems this has not been issue to many, but i get (after a nice and clean plugin install) that sad "Flickr does not provide a frob!" message. Any idea in which direction i should dig? Downgrade/upgrade gallery a bit?
--
Gallery version = 2.3-RC1 core 1.2.36
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.4
PHP version = 5.2.0-8+etch13 apache2handler
Webserver = Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8c
Database = mysqlt 5.0.51a-24~bpo40+1, lock.system=flock
Toolkits = Exif, Getid3, LinkItemToolkit, Thumbnail, ArchiveUpload, ImageMagick, NetPBM, SquareThumb
Acceleration = none, none
Operating system = Linux woolik 2.6.26.6-grsec #1 SMP Sun Oct 12 15:11:35 UTC 2008 x86_64
Default theme = siriux
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6
Rows in GalleryAccessMap table = 17
Rows in GalleryAccessSubscriberMap table = 2620
Rows in GalleryUser table = 3
Rows in GalleryItem table = 2616
Rows in GalleryAlbumItem table = 71
Rows in GalleryCacheMap table = 0
warthog9
Joined: 2009-03-17
Posts: 1
Posted: Thu, 2009-03-19 18:51
Don't know if anyone else has had this problem, but there's a tendency for the keywords being exported out of gallery2flickr to flickr to contains ';' characters at the end of the keywords. Flickr seems to have a mixed opinion on weather this is legal or not. In any case I've got a quick patch that sanitizes the keywords before uploading them into Flickr. Patch submitted here:
Can you help me to find the place where I add "Export to Flickr" to the menus of people who aren't the admin? I have a user in Gallery2 who is the owner of an album who sees all album admin actions except for the flickr module. Is there someplace I can enable it for more than just myself?
Thanks!
PF4Gallery2
Joined: 2009-03-29
Posts: 8
Posted: Sun, 2009-04-12 19:42
Hi
I am having some problems with uploading sets and pictures on Flickr from Gallery2. I initially tested the module and everything worked fine. Since then I have changed a couple of things (added more modules to Joomla and activated url_rewrite) and now, when I really need to use the plugin, I am not able to properly upload sets any more. I disabled url_rewrite but nothing changed. The plugin configuration process is working fine and everything seems be OK with the Gallery2Flickr communication. I can say that because importing pictures is OK. The exporting is not working and here is what is happening. Either if I choose a picture or a set when I press export the page reloads to the image of the picture or to the page of the set that I am trying to upload and that's all ! Is there any log for this module ? What else can I do to debug this ? Are there any special permissions that have to be changed/granted on Flickr? I have changed a few things there too, mostly things regarding the privacy.
Thank you
PF
benjaminchodroff
Joined: 2008-11-05
Posts: 5
Posted: Thu, 2009-04-16 18:26
It sounds like I am having the same problem as PF4Gallery2. I have installed the galler2flickr-0.9.1 plugin and went to my user page and gave permissions to flickr. I can import items from Flickr without problem, but when I go to export an album/image it shows the Privacy settings page as expected and then when I click export item to stream it simply goes back to the album/item I was trying to export.
There are no events in the event log in the gallery2 admin page. I have disabled URL rewrites and will now try disabling other plugins.
Here is my setup:
Gallery URL = http://www.benchodroff.com/g2/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.6 cgi
Webserver = Apache/1.3.41 (Unix) mod_fastcgi/2.4.6 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7a
Database = mysqlt 5.0.67-community, lock.system=flock
Toolkits = ImageMagick, SquareThumb, Gd, Ffmpeg, ArchiveUpload
Acceleration = none/3600, none/3600
Operating system = Linux losi.lunarmania.com 2.6.9-78.0.8.ELsmp #1 SMP Wed Nov 19 20:05:04 EST 2008 i686
Default theme = siriux
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
Rows in GalleryAccessMap table = 2057
Rows in GalleryAccessSubscriberMap table = 20292
Rows in GalleryUser table = 7
Rows in GalleryItem table = 20285
Rows in GalleryAlbumItem table = 810
Rows in GalleryCacheMap table = 0
azimov
Joined: 2006-03-16
Posts: 16
Posted: Sun, 2009-04-26 17:01
I am also having the same problem.
Installed the plugin to a newly upgraded gallery site 2.3 and I can import but can't export.
I'm using Gallery 2.3 and the 0.9.1 Gallery2Flickr plugin. I'm running this in 'multi-site' mode if that matters. I'm getting the following messages in my apache error log when I try and export to Flickr:
Most likely is that your host has disabled the fopen function.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
theooze
Joined: 2005-02-17
Posts: 3
Posted: Mon, 2009-07-13 22:59
I am my own host and fopen is not disabled. there's something wrong w/ this call in Gallery2Flickr.class.php
because if I take out '$tmpDir' and hardcode the path, the plugin works ok.
nivekiam
Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-07-13 23:03
post a link to your phpinfo or just hardcode the path. There is likely to be no further updates to this plugin unless the developer of it sees fit to do so. There will be no further updates to G2, except for maybe a security patch if needed. All development resources for the core team are being spent on G3.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
james789
Joined: 2005-11-10
Posts: 96
Posted: Tue, 2009-07-14 09:53
azimov wrote:
I added this bit of code, and the export worked for me, I also increased my PHP memory allocation from 30M to 50M.
One thing I'd then really like to do is insert a line break (or two) after the commenter name and before their comment. Have tried both html and \n etc but none of them get picked up by Flickr. Any ideas what I might try?
nivekiam
Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2009-07-14 13:30
Quote:
Have tried both html and \n etc but none of them get picked up by Flickr. Any ideas what I might try?
I've have to dig out my unused flickr account to test. When manually adding stuff to flickr are you able to do that?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
james789
Joined: 2005-11-10
Posts: 96
Posted: Tue, 2009-07-14 13:47
Normally when adding comments on Flickr you use html tags for basic formatting (bold, italics, links etc) but put in lines breaks using the carriage return, so it must just detect them automatically. I guess it's just a case then of finding what 'symbol' to pass in the php to replicate this.
I wonder how hard it would be to modify the code to transform those into live links? Just swapping [url= for <a href= and [/url] for </a>, then tidying up one stray ], should do it. Unfortunately my PHP skills are limited!
james789
Joined: 2005-11-10
Posts: 96
Posted: Tue, 2009-07-14 14:25
nivekiam wrote:
I've have to dig out my unused flickr account to test. When manually adding stuff to flickr are you able to do that?
I found the solution - I just had to add <br>\n<br>\n to the end of a line where I wanted a two-line break.
james789
Joined: 2005-11-10
Posts: 96
Posted: Tue, 2009-07-21 07:51
Hi again, and sorry if I seem to be hogging the thread!
The basic functionality of the plugin is working fine, but I am still having a few issues.
It will now go through even very large albums and successfully export all the images to Flickr. But where there are large numbers of comments it simply stops adding them, so I may get comments for say the first 6-8 images, but then none for the rest. Even on single image exports it sometimes fails to export all comments. I have PHP memory set at 64M and as I say, it continues to export all the images so I doubt it is that. I did see a thread somewhere about filling up /tmp. Could it be something like that?
Thanks, James
anfri
Joined: 2008-03-06
Posts: 13
Posted: Wed, 2009-08-19 09:35
After installing gallery2flickr in my gallery 2.3 installation i get http 500 errors when trying to access my site. I have understood so much as that this has something to do with a mismatch in requiered core api and module api versions. I tried to update the module.inc of the gallery2flickr module to the versions my gallery uses. But that did n't solve the problem. Any Ideas? The same problem occurs when trying to use some other user contributed modules as well, modules that worked with 2.2.6 do make the whole site unaccessible, such as the forum module and bulkupload and others.
Gallery URL = http://www.bilder.snf.se/gallery2/main.php
Galleryversion = 2.3 kärna 1.3.0
API = Kärna 7.54, Modul 3.9, Tema 2.6, Inbyggd 1.5
PHP-version = 5.2.5 isapi
Webbserver = Microsoft-IIS/6.0
Databasbaserad = mysqlt 5.0.51a-community-nt, lock.system=database
Verktyg = Exif, ArchiveUpload, Gd, ImageMagick, NetPBM, Ffmpeg, Dcraw, Thumbnail
Acceleration = none/0, none/0
Operativsystem = Windows NT SNFBS01 5.2 build 3790
Standardtema = matrix
gettext = aktiverad
Lokala inställningar = sv_SE
Webbläsare = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Rader i GalleryAccessMap-tabellen = 946
Rader i GalleryAccessSubscriberMap-tabellen = 8872
Rader i GalleryUser-tabellen = 217
Rader i GalleryItem-tabellen = 8851
Rader i GalleryAlbumItem-tabellen = 453
Rader i GalleryCacheMap-tabellen = 0
Händelsedetaljer
Datum 08/18/09 15:33:30
Typ Gallery Error
Plats http://www.bilder.snf.se/main.php?g2_view=dynamicalbum.PopularAlbum&g2_albumId=19494&g2_itemId=19535
Användar-id 5
Klient 67.218.116.130
Sammanfattning C:\Inetpub\wwwroot\gallery2\modules/Gallery2Flickr/module.inc
Hänvisning null
Detaljer Error (ERROR_BAD_PARAMETER) : C:\Inetpub\wwwroot\gallery2\modules/Gallery2Flickr/module.inc in C:\Inetpub\wwwroot\gallery2\modules\core\classes\helpers\GalleryPluginHelper_simple.class at line 94 (GalleryCoreApi::error) in C:\Inetpub\wwwroot\gallery2\modules\core\classes\helpers\GalleryPluginHelper_simple.class at line 88 (GalleryPluginHelper_simple::loadPlugin) in C:\Inetpub\wwwroot\gallery2\modules\core\classes\GalleryCoreApi.class at line 273 (GalleryPluginHelper_simple::loadPlugin) in C:\Inetpub\wwwroot\gallery2\modules\core\classes\GalleryTheme.class at line 1517 (GalleryCoreApi::loadPlugin) in C:\Inetpub\wwwroot\gallery2\themes\matrix\theme.inc at line 87 (GalleryTheme::loadCommonTemplateData) in C:\Inetpub\wwwroot\gallery2\modules\core\classes\GalleryTheme.class at line 938 (MatrixTheme::showPhotoPage) in C:\Inetpub\wwwroot\gallery2\modules\core\classes\GalleryView.class at line 301 (GalleryTheme::loadTemplate) in C:\Inetpub\wwwroot\gallery2\main.php at line 465 (GalleryView::doLoadTemplate) in C:\Inetpub\wwwroot\gallery2\main.php at line 104 in C:\Inetpub\wwwroot\gallery2\main.php at line 88 Request variables: Array ( [view] => dynamicalbum.PopularAlbum [albumId] => 19494 [itemId] => 19535 )
muser
Joined: 2003-04-07
Posts: 4
Posted: Fri, 2010-03-12 10:53
Hi. Is this module still supported? I just installed it and everything looks fine but nothing is appearing at Flickr. No errors, though.
dcnc
Joined: 2006-05-30
Posts: 19
Posted: Wed, 2010-07-14 20:27
I am getting this error - any ideas?
Quote:
Oops! Flickr doesn't recognise the "frob" this application is trying to use.
Posts: 50
Hi. I'm migrating my personal gallery from Gallery2 to Flickr, and I've found your module great.
It works fine, but I have some problems and missing features:
I've imported a test album to Flickr for testing:
http://www.ganso.org/gallery/main.php?g2_itemId=59 --> http://flickr.com/photos/14167171@N03/sets/72157605884896511/.
The map URL for that album is http://www.ganso.org/gallery/main.php?g2_view=map.ShowMap&g2_Mode=Normal&g2_Group=&g2_album=Paisajes+y+Naturaleza.
I have coded some PHP pages, so if you could give me some directions, I can try coding that features myself.
Thanks a lot! ;-)
Posts: 2
Awesome thanks!!
Posts: 214
I have problems with G-2.2.5 and the module.
Installation works fine, but after it there's no button displayed for the gallery2flickr tool anywhere. Not in Albumview or the sidebar or the picture displayed. Anything I could check up?
Posts: 50
I think I've managed to make all those changes by myself. Heres the patch file for the "Gallery2Flickr.class.php" file
I suppose the code should be very similar for the import functions.
Please test it, as I've only tried it in my own Gallery.
Regards,
Javier
Posts: 13
Noob advice (from fresh experience):
I had a fresh install of Gallery2 and added Gallery2Flickr. Could not for the life of me find a link to get it to work.
Then I stumbled into the 'Your Account' page (top right) and found the key!
If you can't see where to administer Gallery2Flickr, go there and authenticate first.
It doesn't seem to say this in the instructions. Or maybe I was being too hasty.
After this the links should be available in the main Gallery area, on the left as usual.
Posts: 2
Hi. Is there a way to import Flickr comments into Gallery2 using this module?
Posts: 2
TheGoOse,
I just saw your comment from above, regarding importing Flickr comments into Gallery2:
Do you have any plans to add this feature? This is the only thing keeping me from migrating my 32,000 photos completely off of flickr to gallery2.
Thanks.
Posts: 2
Hello all,
I just installed the gallery2flickr plugin, and it does not seem to be uploading to flickr correctly. I figured out how to provide my flickr credential, and am able to import from flickr (I only tried importing one image so far, but it worked fine). When I export to flickr, and choose the visibility of my photo or album, the pages submits immediately, and no new pictures appear in my photo stream.
I am using the most recent version of the plugin (.91) and the most recent version of gallery (2.3). Any help would be appreciated. Thanks!
Posts: 1
I'm afraid I'm in the same boat as joshain. The latest Gallery2, the latest Flickr Module. Imports work fine, but the exports just send me to a the gallery page of the image!
I wouldn't imagine that it's a lightbox related clash?
Any advice would be greatly appreciated.
Posts: 2
jdaldous -- I wound up using export-to-flickr to copy my images over to flickr. It is a script, not a plugin, and has much less control than gallery2flickr, but then again I was able to get it to work. It basically dumps all of your gallery albums to flickr. Details are at http://www.wantmoore.com/archives/tag/gallery2/ and http://www.wildgardenseed.com/Taj/Export_Gallery2_to_Flickr.shtml. Setting up the flickr api key was a little tricky, you need to set the callback to auth.php on your export-to-flickr installation. Also, the script cannot handle any gallery nesting, and gave me an out of memory exception on a slightly large video. Good luck!
Posts: 80
Good to see I'm not alone... I just opened a thread about that problem. Let's see if others have it too.
Posts: 1
Seems this has not been issue to many, but i get (after a nice and clean plugin install) that sad "Flickr does not provide a frob!" message. Any idea in which direction i should dig? Downgrade/upgrade gallery a bit?
--
Gallery version = 2.3-RC1 core 1.2.36
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.4
PHP version = 5.2.0-8+etch13 apache2handler
Webserver = Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8c
Database = mysqlt 5.0.51a-24~bpo40+1, lock.system=flock
Toolkits = Exif, Getid3, LinkItemToolkit, Thumbnail, ArchiveUpload, ImageMagick, NetPBM, SquareThumb
Acceleration = none, none
Operating system = Linux woolik 2.6.26.6-grsec #1 SMP Sun Oct 12 15:11:35 UTC 2008 x86_64
Default theme = siriux
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6
Rows in GalleryAccessMap table = 17
Rows in GalleryAccessSubscriberMap table = 2620
Rows in GalleryUser table = 3
Rows in GalleryItem table = 2616
Rows in GalleryAlbumItem table = 71
Rows in GalleryCacheMap table = 0
Posts: 1
Don't know if anyone else has had this problem, but there's a tendency for the keywords being exported out of gallery2flickr to flickr to contains ';' characters at the end of the keywords. Flickr seems to have a mixed opinion on weather this is legal or not. In any case I've got a quick patch that sanitizes the keywords before uploading them into Flickr. Patch submitted here:
http://sourceforge.net/tracker/index.php?func=detail&aid=2690523&group_id=199596&atid=970128
but for completeness it's:
Posts: 5
Can you help me to find the place where I add "Export to Flickr" to the menus of people who aren't the admin? I have a user in Gallery2 who is the owner of an album who sees all album admin actions except for the flickr module. Is there someplace I can enable it for more than just myself?
Thanks!
Posts: 8
Hi
I am having some problems with uploading sets and pictures on Flickr from Gallery2. I initially tested the module and everything worked fine. Since then I have changed a couple of things (added more modules to Joomla and activated url_rewrite) and now, when I really need to use the plugin, I am not able to properly upload sets any more. I disabled url_rewrite but nothing changed. The plugin configuration process is working fine and everything seems be OK with the Gallery2Flickr communication. I can say that because importing pictures is OK. The exporting is not working and here is what is happening. Either if I choose a picture or a set when I press export the page reloads to the image of the picture or to the page of the set that I am trying to upload and that's all ! Is there any log for this module ? What else can I do to debug this ? Are there any special permissions that have to be changed/granted on Flickr? I have changed a few things there too, mostly things regarding the privacy.
Thank you
PF
Posts: 5
It sounds like I am having the same problem as PF4Gallery2. I have installed the galler2flickr-0.9.1 plugin and went to my user page and gave permissions to flickr. I can import items from Flickr without problem, but when I go to export an album/image it shows the Privacy settings page as expected and then when I click export item to stream it simply goes back to the album/item I was trying to export.
There are no events in the event log in the gallery2 admin page. I have disabled URL rewrites and will now try disabling other plugins.
Here is my setup:
Gallery URL = http://www.benchodroff.com/g2/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.6 cgi
Webserver = Apache/1.3.41 (Unix) mod_fastcgi/2.4.6 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7a
Database = mysqlt 5.0.67-community, lock.system=flock
Toolkits = ImageMagick, SquareThumb, Gd, Ffmpeg, ArchiveUpload
Acceleration = none/3600, none/3600
Operating system = Linux losi.lunarmania.com 2.6.9-78.0.8.ELsmp #1 SMP Wed Nov 19 20:05:04 EST 2008 i686
Default theme = siriux
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
Rows in GalleryAccessMap table = 2057
Rows in GalleryAccessSubscriberMap table = 20292
Rows in GalleryUser table = 7
Rows in GalleryItem table = 20285
Rows in GalleryAlbumItem table = 810
Rows in GalleryCacheMap table = 0
Posts: 16
I am also having the same problem.
Installed the plugin to a newly upgraded gallery site 2.3 and I can import but can't export.
I have noticed that the permission link http://gunnarwrobel.de/projects/Gallery2Flickr.html is broken. Could this be part of a reason why this plugin is not working.
Gallery URL = http://gallery.andyramblings.co.uk/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.42-servage10 apache2handler
Webserver = Apache
Database = mysqli 5.0.51a, lock.system=flock
Toolkits = Getid3, LinkItemToolkit, Thumbnail, ArchiveUpload, ImageMagick, NetPBM, Gd, Exif
Acceleration = partial/21600, none/900
Operating system = Linux node2 2.100.3-1-amd64-grsec #1 SMP Thu Oct 2 20:14:46 CEST 2008 x86_64
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.9) Gecko/2009040821 Firefox/3.0.9 (.NET CLR 3.5.30729)
Rows in GalleryAccessMap table = 55
Rows in GalleryAccessSubscriberMap table = 448
Rows in GalleryUser table = 2
Rows in GalleryItem table = 445
Rows in GalleryAlbumItem table = 18
Rows in GalleryCacheMap table = 896
Would really like this to work, as I like to use both sites.
Posts: 16
I checked the link provided by Jean-Marc. This fix is in that link.
Posts: 8
Hi Azimov
Can you please be more specific.
Posts: 16
I added this bit of code, and the export worked for me, I also increased my PHP memory allocation from 30M to 50M.
Hope this helps.
Posts: 3
I'm using Gallery 2.3 and the 0.9.1 Gallery2Flickr plugin. I'm running this in 'multi-site' mode if that matters. I'm getting the following messages in my apache error log when I try and export to Flickr:
[Mon Jul 13 17:28:12 2009] [error] [client 192.168.100.27] PHP Warning: fopen(/exportuEFDHF) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /usr/share/gallery2/modules/core/classes/GalleryPlatform.class on line 337, referer: http://server.foo.com/main.php?g2_view=Gallery2Flickr.FlickrExport&g2_itemId=2498
[Mon Jul 13 17:28:12 2009] [error] [client 192.168.100.27] PHP Notice: Undefined variable: tmpDir in /usr/share/gallery2/modules/Gallery2Flickr/classes/Gallery2Flickr.class.php on line 400, referer: http://server.foo.com/main.php?g2_view=Gallery2Flickr.FlickrExport&g2_itemId=2498
Posts: 16504
Most likely is that your host has disabled the fopen function.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 3
I am my own host and fopen is not disabled. there's something wrong w/ this call in Gallery2Flickr.class.php
$tmpDir = $gallery->getConfig('data.gallery.tmp');
or, the value isn't getting passed to this line:
$path = $platform->tempnam($tmpDir, 'export');
because if I take out '$tmpDir' and hardcode the path, the plugin works ok.
Posts: 16504
post a link to your phpinfo or just hardcode the path. There is likely to be no further updates to this plugin unless the developer of it sees fit to do so. There will be no further updates to G2, except for maybe a security patch if needed. All development resources for the core team are being spent on G3.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 96
Just thought I would report that I had this same problem, applied this patch, and all works absolutely brilliantly for me now.
Posts: 96
Two questions that would really enhance my use of this module:
- is there any way that a description can be created on Flickr that includes a link back to the original image in my Gallery installation?
- alongside that, can the 'Summary' info be easily exported into the description?
Thanks
Posts: 96
OK, on the first point I have pretty much solved it, by using the following on what is my line 538 ...
One thing I'd then really like to do is insert a line break (or two) after the commenter name and before their comment. Have tried both html and \n etc but none of them get picked up by Flickr. Any ideas what I might try?
Posts: 16504
I've have to dig out my unused flickr account to test. When manually adding stuff to flickr are you able to do that?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 96
Normally when adding comments on Flickr you use html tags for basic formatting (bold, italics, links etc) but put in lines breaks using the carriage return, so it must just detect them automatically. I guess it's just a case then of finding what 'symbol' to pass in the php to replicate this.
You can see an example of what I have got it to do so far at http://www.flickr.com/photos/whatsthatpicture/3719654111/
I now see that it has imported Summary information. But one thing it hasn't done is convert links in comments - they have simply come across as e.g.
I wonder how hard it would be to modify the code to transform those into live links? Just swapping
[url= for <a href= and [/url] for </a>, then tidying up one stray ]
, should do it. Unfortunately my PHP skills are limited!Posts: 96
I found the solution - I just had to add
<br>\n<br>\n
to the end of a line where I wanted a two-line break.Posts: 96
Hi again, and sorry if I seem to be hogging the thread!
The basic functionality of the plugin is working fine, but I am still having a few issues.
It will now go through even very large albums and successfully export all the images to Flickr. But where there are large numbers of comments it simply stops adding them, so I may get comments for say the first 6-8 images, but then none for the rest. Even on single image exports it sometimes fails to export all comments. I have PHP memory set at 64M and as I say, it continues to export all the images so I doubt it is that. I did see a thread somewhere about filling up /tmp. Could it be something like that?
Thanks, James
Posts: 13
After installing gallery2flickr in my gallery 2.3 installation i get http 500 errors when trying to access my site. I have understood so much as that this has something to do with a mismatch in requiered core api and module api versions. I tried to update the module.inc of the gallery2flickr module to the versions my gallery uses. But that did n't solve the problem. Any Ideas? The same problem occurs when trying to use some other user contributed modules as well, modules that worked with 2.2.6 do make the whole site unaccessible, such as the forum module and bulkupload and others.
Gallery URL = http://www.bilder.snf.se/gallery2/main.php
Galleryversion = 2.3 kärna 1.3.0
API = Kärna 7.54, Modul 3.9, Tema 2.6, Inbyggd 1.5
PHP-version = 5.2.5 isapi
Webbserver = Microsoft-IIS/6.0
Databasbaserad = mysqlt 5.0.51a-community-nt, lock.system=database
Verktyg = Exif, ArchiveUpload, Gd, ImageMagick, NetPBM, Ffmpeg, Dcraw, Thumbnail
Acceleration = none/0, none/0
Operativsystem = Windows NT SNFBS01 5.2 build 3790
Standardtema = matrix
gettext = aktiverad
Lokala inställningar = sv_SE
Webbläsare = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Rader i GalleryAccessMap-tabellen = 946
Rader i GalleryAccessSubscriberMap-tabellen = 8872
Rader i GalleryUser-tabellen = 217
Rader i GalleryItem-tabellen = 8851
Rader i GalleryAlbumItem-tabellen = 453
Rader i GalleryCacheMap-tabellen = 0
Händelsedetaljer
Datum 08/18/09 15:33:30
Typ Gallery Error
Plats http://www.bilder.snf.se/main.php?g2_view=dynamicalbum.PopularAlbum&g2_albumId=19494&g2_itemId=19535
Användar-id 5
Klient 67.218.116.130
Sammanfattning C:\Inetpub\wwwroot\gallery2\modules/Gallery2Flickr/module.inc
Hänvisning null
Detaljer Error (ERROR_BAD_PARAMETER) : C:\Inetpub\wwwroot\gallery2\modules/Gallery2Flickr/module.inc in C:\Inetpub\wwwroot\gallery2\modules\core\classes\helpers\GalleryPluginHelper_simple.class at line 94 (GalleryCoreApi::error) in C:\Inetpub\wwwroot\gallery2\modules\core\classes\helpers\GalleryPluginHelper_simple.class at line 88 (GalleryPluginHelper_simple::loadPlugin) in C:\Inetpub\wwwroot\gallery2\modules\core\classes\GalleryCoreApi.class at line 273 (GalleryPluginHelper_simple::loadPlugin) in C:\Inetpub\wwwroot\gallery2\modules\core\classes\GalleryTheme.class at line 1517 (GalleryCoreApi::loadPlugin) in C:\Inetpub\wwwroot\gallery2\themes\matrix\theme.inc at line 87 (GalleryTheme::loadCommonTemplateData) in C:\Inetpub\wwwroot\gallery2\modules\core\classes\GalleryTheme.class at line 938 (MatrixTheme::showPhotoPage) in C:\Inetpub\wwwroot\gallery2\modules\core\classes\GalleryView.class at line 301 (GalleryTheme::loadTemplate) in C:\Inetpub\wwwroot\gallery2\main.php at line 465 (GalleryView::doLoadTemplate) in C:\Inetpub\wwwroot\gallery2\main.php at line 104 in C:\Inetpub\wwwroot\gallery2\main.php at line 88 Request variables: Array ( [view] => dynamicalbum.PopularAlbum [albumId] => 19494 [itemId] => 19535 )
Posts: 4
Hi. Is this module still supported? I just installed it and everything looks fine but nothing is appearing at Flickr. No errors, though.
Posts: 19
I am getting this error - any ideas?