• Hi

    Im using WP 2.7 and Shashin 2.3.5

    I get a error message with some of the widgets
    Like the “random images”

    Warning: Invalid argument supplied for foreach() in xx/xx/xx/wp-content/plugins/shashin/ShashinWidget.php on line 108

    Any idea of how i can fix this?

Viewing 14 replies - 16 through 29 (of 29 total)
  • Hi – A few other people have reported this error since the release of Shashin 2.4, and they’ve all been running WordPress on Windows. Are you on Windows? I don’t have a Windows server and so far no one running Windows has been able to help me debug. I’ll be happy to work with you on this if you’re up for adding some debugging code to your copy of Shashin.

    hi
    does this mean that i have bad luck if my provider only gives me mySQL version 4.0?
    or is there a workaround so that i can use this plugin?
    thanks
    mark

    Hi Mark – go to ToppaWPFUnctions.php and comment out lines 245-248. The “on duplicate key update” syntax was introduced in mySQL 4.1. In doing this you’ll lose the ability of Shashin to accommodate photos being moved from one album to another. As long as you don’t move photos between albums, you’ll be ok. I’m pretty sure that’s the only 4.1 specific code, but if you run into something else, post a follow-up.

    hi toppa,
    thanks for the tip.
    I commented it but unfortunately still have the error when I try to add an album.

    ShashinAlbum::setUserAlbums - Failed to insert database record for album ID 2147483647. Possible SQL Error:

    Is there anything else I can do?

    Hi Mark – sorry for the late reply. I’m guessing you’re running into the same problem zer0efx ran into (above). But he upgraded his mySQL before we got to the bottom of the problem. If you have a mySQL browser like phpMyAdmin, browse the wp_shashin_album table and look for a record with the album ID you see in the error message. It may be that it’s trying to insert a record that’s already there, and it’s failing since the “on duplicate key update” option isn’t available (but it shouldn’t be relying on that in this case – if it is, then there’s a problem in my code).

    Hi toppa, I′m using WordPress 2.8.1. so Shashin is included,but this error appears:

    Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/blogsterceros/htdocs/wordpress/wp-includes/class-snoopy.php on line 1142

    Warning: fsockopen() [function.fsockopen]: unable to connect to sededecana:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /www/blogsterceros/htdocs/wordpress/wp-includes/class-snoopy.php on line 1142
    Support Shashin ? Shashin Help
    Shashin

    ShashinAlbum::setUserAlbums – Failed to parse album feed.

    Any help would be appreciated.

    Hello toppa

    I am using wp 2.8.4 and Shashin 2.4.2 for a long time, with mySQL 5.0 in 3-4 different web sites.

    I have just seen that after adding new albums to picasa, they don’t Sync at all with your pluging, not just daily but not at all – I checked the -Sync all albums daily, and i don’t have several hundered albums (i have less then 10 with less then 20 pic each)

    I haven’t change anything, would be happy if you could check this out.

    One of my site is @ https://www.ido.signin.co.il/pic/

    Thank you,
    Asaf

    Hi aleli – You should be trying to connect to a picasa server – from your error message, it looks like you’re trying to connect to something called “sededecana”

    Hi asaf – could you try going to the Shashin tools page and clicking the “sync” icon for one of your albums? If you get an error message, please post it here.

    Also, are you saying that the automatic daily syncing is working for albums you added before, but not for new albums, or something else? Did the problem start after upgrading from the previous version of Shashin?

    Hey toppa – I press the sync icon for one of my albums and get the – Album synchronized. message (no error…)

    As you write – the automatic daily syncing is working for albums I added before, but not for new albums?.

    I can’t say when it started, I have just notice that in the last two weeks.

    Do you need my login pass in order to deep check ?

    Hi asaf – when you clicked the sync icon, did it successfully sync the album, or did it fail but not report an error? Can you try the following:

    * click the sync button for a new album, and check if it’s succesful,
    * click the sync button for an old album and check if it’s successful
    * then click the “sync all” button and check if it’s successful

    I haven’t heard of this problem before, so I’m trying to determine the scope of the syncing problem you’re having.

    Hi toppa

    I try your things with no luck:

    *click the sync button for an old album -it give the message- Album synchronized… but actually he didn’t sync the album

    *click the “sync all” button – it give the message – All albums synced for… but actually he didn’t sync all albums

    *click the sync button for a new album – i can’t do it because he doesn’t show me the new albums

    If you need my user ID and password in order to check this closer, give me your mail address. i would be happy if you could check that out.

    Thank you,
    Asaf

    hey

    Had a mistake, when i click the sync button for an old album -it give the message- Album synchronized… and DID SYNC THE ALBUM SUCCESSFULLY

    Hi asaf – sorry for the late reply. If you’re still out there, use the contact form on my web site – https://www.toppa.com/contact – and I’ll email you back (I’ll be quicker next time).

Viewing 14 replies - 16 through 29 (of 29 total)
  • The topic ‘[Plugin: Shashin] Error message with widgets’ is closed to new replies.