Mike Toppa
Forum Replies Created
-
Forum: Plugins
In reply to: [Deko Boko] [Plugin: Deko Boko] stripslashes() errorHi – this function is called from a few different locations in the code. Could you tell me what you were doing when the error occurred? That will help me narrow it down.
Forum: Plugins
In reply to: [Plugin: Shashin] Error message with widgetsHi asaf – sorry for the late reply. If you’re still out there, use the contact form on my web site – http://www.toppa.com/contact – and I’ll email you back (I’ll be quicker next time).
Forum: Plugins
In reply to: [Plugin: Shashin] Error message with widgetsHi 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 successfulI haven’t heard of this problem before, so I’m trying to determine the scope of the syncing problem you’re having.
Forum: Plugins
In reply to: [Plugin: Shashin] Error message with widgetsHi 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?
Forum: Plugins
In reply to: [Plugin: Shashin] Error message with widgetsHi 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”
Forum: Plugins
In reply to: [Plugin: Shashin] parse album feedHi Markus – I added your albums on my test server without any problems, so the albums are ok. Are you putting this URL on the Shashins Settings page, or on the Options page?
For the Options page you should put in just the server URL – http://picasaweb.google.com
You can use the http://picasaweb.google.com/markuslabs URL under “add albums” on the Settings page.
Shashin enforces the use of the server name from the Options page when you put in the URL of an album on the Settings page.
Forum: Plugins
In reply to: [Plugin: Shashin] Error message with widgetsHi 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).
Forum: Plugins
In reply to: [Plugin: Shashin] parse album feedSorry for the late reply. What is feed URL you are trying to use? If you don’t want to post it publicly, you can send it to me through the contact form on my site – http://www.toppa.com
Forum: Plugins
In reply to: [Plugin: Shashin] Error message with widgetsHi 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.
Forum: Plugins
In reply to: [Plugin: Shashin] Error message with widgetsHi – 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.
Forum: Plugins
In reply to: [Plugin: Shashin] sthumbs… Code visible in excerpt on homepageDid you get this working? If not, let me know and I’ll take a look.
Please tag your posts (in this case a “shashin” tag) – that makes them easier to find.
Forum: Plugins
In reply to: [Plugin: Shashin] Error message with widgetsI’m glad you got it working. Your mySQL version should have been the first thing I asked; sorry for not thinking of it. For anyone else following this, Shashin requires mySQL 4.1 or higher, as listed on my Shashin page.
Forum: Plugins
In reply to: [Plugin: Shashin] Error message with widgetsI tested your SQL statement, and it worked fine for me, so it’s not a syntax problem. Let’s see if we can get a message from your database as to why it’s failing for you. Please go to line 251 again in ToppaWPFunctions.php and remove the lines you added before. Then make it look like this:
// return $wpdb->query($sql); var_dump($wpdb->query($sql)); $wpdb->print_error(); exit;So you’re commenting out the “return” line that’s there, and then adding 3 lines that should tell us why the database insert is failing. Then try to add the album again, and copy-and-paste the output here.
Forum: Plugins
In reply to: [Plugin: Shashin] Error message with widgetsHi – let’s take a look at the database insert query that’s failing. If you don’t mind a little code editing, please go to line 251 in ToppaWPFunctions.php (in your shashin plugin folder). Add this line immediately before the “return” line:
var_dump($sql); exit;Then try to add just one album again. It should then spew a SQL statement to your screen. Please copy and paste it here so I can take a look.
Forum: Plugins
In reply to: [Plugin: Shashin] Error message with widgetsHi – I just uploaded Shashin 2.4.2 to wordpress.org – the Shashin::getAlbumList() function should work for you now. But I don’t know why some of the widgets aren’t working for you – I’m not aware of a problem with them. I’d like to see a screenshot of your widget admin page, so I can see exactly how you’re using them and then try to reproduce it. Can you upload a screenshot somewhere I can see it?