briansc
Member
Posted 6 months ago #
Hi,
Whenever I am clicking the Picasa icon, select my photos I'd like the plugin to display on my posts, and click 'Insert shortcode' and then 'Post', in the post there is nothing. Nothing. What's wrong? I'm using the latest versions of both plugin and WordPress.
http://wordpress.org/extend/plugins/shashin/
Mike Toppa
Member
Posted 6 months ago #
Hi - could you let me know what browser you are using? (which kind, version number, and your platform). Clicking "Insert shortcode" should put the shortcode in the post wherever the cursor was positioned, and then close the media browser window.
briansc
Member
Posted 6 months ago #
Hi
I'm using Google Chrome 15.0.874.121 on Mac OS X Lion. Yes, when I click 'Insert shortcode' it puts it into the post, but when I'm publishing it, there is nothing.
Mike Toppa
Member
Posted 6 months ago #
Ok - I misunderstood. Could you copy and paste the shortcode here, so I can see it? Also, could you give me a link to the post where you put the shortcode? Then I can examine the html. (If you don't want to post a link publicly, you can send it to me through my contact form - http://www.toppa.com/contact )
briansc
Member
Posted 6 months ago #
Shortcode: [shashin type="album" id="3" size="small" crop="n" columns="max" caption="y" order="date" position="center"]
Post: http://chordoverstreet-online.com/2011/11/new-pictures-of-chord-overstreet-from-glee-set/
There are 4 images in the post but they are added with WordPress itself not the plugin.
Mike Toppa
Member
Posted 6 months ago #
Well that is odd - the shortcode looks fine, and it's generating an html table in the post, but it's an empty table. Could you also give me a link to the album on picasa? (the one that has shashin id #3, since that's what's in the shortcode). I will see if I can reproduce this problem. (It might be Friday before I get to it - it's getting late tonight and we have guests tomorrow for thanksgiving...)
briansc
Member
Posted 6 months ago #
Apparently, I checked whether I have "album id="3"" on Picasa, but I don't. I only have album id=1, so I replaced the shortcode with: [shashin type="album" id="1" size="small" crop="n" columns="max" caption="y" order="date" position="center"] - Nothing now either.
Here's the album: https://picasaweb.google.com/107666248430213520099/Photos
Mike Toppa
Member
Posted 6 months ago #
I can't reproduce the problem - it works ok for me. Could you go to your Shashin Tools menu, and click on the album title? Then you should see all the photos in the album. This will give me a clue whether it's a syncing problem or something to do with the shortcode. If you don't see the photos, click the sync icon on the tools menu for the album and see if that fixes it.
Also, just to clarify, the album id number you see in the shortcode is assigned by Shashin. It's not the Picasa ID number. Since Shashin supports Picasa, Twitpic, and YouTube, it assigns its own ID numbers to the albums. You'll see on the Shashin Tools menu that each album has an ID number.
briansc
Member
Posted 6 months ago #
I clicked the album title and the photos are there. I also clicked sync but still nothing. I see that it generates the table too but there is nothing.
Mike Toppa
Member
Posted 6 months ago #
On the Shashin settings menu, could you check the value for "Default maximum number of photos to show"? If it's 0, then nothing will display. I'm not sure why else it wouldn't work for you. I haven't seen this problem anywhere else. Can you get any of the other shortcodes to work, like for showing individual photos?
briansc
Member
Posted 6 months ago #
It's set to 18 and no, individual photos don't work either.
Mike Toppa
Member
Posted 6 months ago #
Sorry, I don't think there's anything else I can do to diagnose this using just observation. My only other suggestion would be to delete and re-install the plugin, in case there is somehow some corruption of its data.
briansc
Member
Posted 6 months ago #
briansc
Member
Posted 6 months ago #
When deleting, it says at the end: Fatal error: Class 'ToppaDatabaseFacadeWp' not found in /***/wp-content/plugins/shashin/Lib/ShashinContainer.php on line 24
briansc
Member
Posted 6 months ago #
I now downgraded to 2.6.3 since I saw a site that's using that version with the latest WP version and it works fine for them but when I'm trying to sync the albums, they say "ShashinAlbum::setAlbum - Failed to insert/update database record for album. SQL Error:" with 0 photos in them.
Both of the albums have two photos on Picasa.
briansc
Member
Posted 6 months ago #
Upgraded back to 3.0.6, tried to delete both Shashin and Toppa (first Shashin but since not succeeded, didn't try to delete Toppa), Shashin still says the same.
Mike Toppa
Member
Posted 6 months ago #
Sorry for the trouble. I did a fresh install of Shashin on my test site and was able to delete it without any errors. I'm not sure what has caused these problems with your installation.
You can't switch back and forth between versions 2 and 3 like that. When you upgrade to 3 it makes significant changes to the shashin database tables (and there is no "downgrade" code in shashin 2).
If you're comfortable using FTP and phpMyAdmin (or a similar database tool your hosting provider should have), you can use FTP to delete the "shashin" folder from your plugins folder, and phpMyAdmin to remove the shashin database tables - wp_shashin_album and wp_shashin_photo. Let me know if I can advise further.
briansc
Member
Posted 6 months ago #
OK, deleted the Shashin folder via FTP and Toppa from the plugins menu. I also dropped the database tables.
Installed Shashin and Toppa again, added the RSS feed for my Picasa album, shortcode inserted into post, not displaying any photos.
Mike Toppa
Member
Posted 6 months ago #
So we can rule out any one-time oddity then. What is your PHP version? Since you got that error when deleting, I'm wondering if there is some subtle difference in how class autoloading works in one of the PHP versions.
briansc
Member
Posted 6 months ago #
Mike Toppa
Member
Posted 6 months ago #
Sorry for the delay. I just uploaded version 3.0.7. It turns out there actually was an uninstall problem, which is now fixed (I missed it before because I had another active plugin which uses my toppa plugin libs, which hid the problem). So it's probably not the PHP version problem I was suspecting.
I still don't know what's causing the problem you're having, but I did add some code that will now display an error if it's not finding any photos that match the shortcode. That should help us narrow down the possible causes of the problem.