• Hey!

    I have an issue when trying to import Picasa Albums to Shashin on the Tools Page. When I open the page I already get these messages:

    Notice: Undefined variable: _SESSION in /home/…/plugins/shashin/admin/ShashinInstall.php on line 145

    AND

    Notice: wpdb::escape on kehotettu välttämään versiosta 3.6 asti! Käytä sen sijaan wpdb::prepare() or esc_sql(). in /home/…/wp-includes/functions.php on line 2908

    (My wordpress is in Finnish, but the latter message means that it’s advised not to use wpdb::escape since version 3.6 and instead use wpdb::prepare() or esc_sql().)

    When I try to add ALL the albums on a Picasa account (65 public albums) it fails with this message:

    Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 84 bytes) in /home/…/plugins/shashin/admin/ShashinSynchronizer.php on line 101

    I then added a single album from the same Picasa account that only contains 16 photos. I got the following messages:

    Notice: Undefined variable: _SESSION in /home/…/wp-content/plugins/shashin/admin/ShashinInstall.php on line 145

    AND

    Notice: wpdb::escape on kehotettu välttämään versiosta 3.6 asti! Käytä sen sijaan wpdb::prepare() or esc_sql(). in /home/…/wp-includes/functions.php on line 2908

    The single album DOES appear on the list of added albums, but when I open the details of the album I got this message 16 times:

    Notice: Undefined index: HTTPS in /home/…/plugins/shashin/public/ShashinDataObjectDisplayer.php on line 313

    Under these messages I get the 16 photos with their options.

    Would you have a clue how I could fix the errors mentioned above? I would really like to get Shashin working since it seems to be exactly what I need for my site. Thank you a lot!

    https://wordpress.org/plugins/shashin/

Viewing 1 replies (of 1 total)
  • Plugin Author Mike Toppa

    (@toppa)

    Sorry for the late reply.

    The “Notice” messages are pointing out things that should be done differently, but still work. You should log notices in your production environment, but not display them to users. But I will make a point of addressing those notices in the next version – I’ve logged an issue for it:

    https://github.com/toppa/Shashin/issues/65

    For the “add all albums” error, you have too much photo data for Shashin to process all at once, within the memory limits allocated to PHP on your server. For now you would need to add the albums one at a time. I’d like to use AJAX so that it can add the albums in batches, but i have not coded this yet:

    https://github.com/toppa/Shashin/issues/11

Viewing 1 replies (of 1 total)
  • The topic ‘Failure to Import Picasa Albums’ is closed to new replies.