|
Interesting, I haven't personally had time to try out WP 2.3 yet, but just upgrading wordpress shouldn't have changed the behavior of the plugin that much. On my installation, when I write posts (/wp-admin/post-new.php) I have three tabs below the WYSIWYG editing area: "Uploads", "Photos", and "Albums" What did you see before the upgrade? When you say it appears "under uploads" do you mean /wp-admin/upload.php ?
Hopefully one of those posters over at the WP 2.3 compatibility discussion will pipe up. If not I'll probably get around to installing 2.3 in the next week or so and I'll post back. As far as I know, tho, the plugin should work exactly the same on 2.3 as it did in earlier versions.
Posted 57 months ago.
(permalink)
|
|
Hi Meta,
you are understanding me exactly, since installing 2.3 when i view /wp-admin/post-new.php I no longer see the three tabs Uploads-Photos-Albums below the WYSIWYG, I used to be able to click in the Upload-Photos-Album and it would appear in the WYSIWYG but now the three tabs are only under /wp-admin/upload.php.
here is 3 screen shots
One - Two - Three
Thanks,
Jon.
Posted 57 months ago.
(permalink)
|
|
Thanks a ton for posting those screenshots, they helped give a little insight to your problem. For whatever reason, the iFrame that is supposed to contain the three tabs is returning a 404 error message. If you have Firefox try the following. Right click on the 404 error message and choose "This Frame > View Frame Info" The address of the frame should be /wp-admin/upload.php?style=inline (plus a few other parameters) If it's not, paste that URL here. I'm still not 100% sure why the frame is pointing at the wrong address (maybe another plugin?) but now, at least, you're getting the problem narrowed down.
Posted 57 months ago.
(permalink)
|
|
Wow, that 404, I just did not see it.... weird how blind I can be!
Address:
/wp-content/plugins/silaspartners/flickr/upload.php?style=inline (plus a few other parameters)
So it is wrong - where is this coming from? post.php does not contain the phrase "upload" so presumably some other file is calling it from somewhere else which is where I get a bit out of my depth.....
Deactivating the Flikr Photo Galley Plugin on the Manage Plugins page mends means the upload iFrame re-appears but obviously minus the Flikr bits.
Originally posted 57 months ago.
(permalink)
jon starbuck edited this topic 57 months ago.
|
|
Just re-uploaded the plugin ant it all seems to be working again.
Thanks for all your help, I'll let you know if i find any more problems, but it looks like it is fine.
Jon.
Posted 57 months ago.
(permalink)
|
|
I've had a similar problemt to Jon. I had the Flickr bar on my write page but having changed computers I now cant' access it. I confess I don't know how to upload the plugin. I am simply using Edublogs (based on WordPress) as web application. Are your directions intended for a downloaded version?
Thanks
Posted 57 months ago.
(permalink)
|
|
I have the same error message on mine but after reloading the plugin - I haven't had the same happy outcome as jon.
I can't see an upload.php file anyway in the plug-in files.
Any clues?
redsultana.com
Originally posted 56 months ago.
(permalink)
cellobella edited this topic 56 months ago.
|
|
If you follow the steps in my 2nd post, does the URL from your site look like Jon's? (e.g. /wp-content/plugins/silaspartners/flickr/upload.php?style=inline (plus a few other parameters) The plugin isn't supposed to have an upload.php file, the iFrame should be pointing at /wp-admin/upload.php?style=inline (plus a few other parameters)
Posted 56 months ago.
(permalink)
|
|
Hi Metavida,
Yes I think so...
The 404 says "You clicked a link to redsultana.com/WordPress/wp-content/plugins/silaspartners... and it doesn't exist.
The frame info says address = redsultana.com/WordPress/wp-content/plugins/silaspartners...
referring page = redsultana.com/WordPress/wp-admin/post-new.php
So from your previous post it should have a wp-upload before the upload?
Posted 56 months ago.
(permalink)
|
|
And I don't seem to have a post-new.php doesn't seem to exist so not sure what's going on there! I can see page-new...
Posted 56 months ago.
(permalink)
|
|
Alright, here we go... first of I'll offer the easy fix, then I'll describe some bugfixing code that I would love you to respond to, as it might help us avoid this problem for future wp_flickr users.
The easy fix: In the file "silarpartners/flickr/class-admin.php" comment out (add two slashes "//" before) line 209 "add_filter('uploading_iframe_src', array(&$this, 'uploading_iframe'));"
The bugfixing:
1) In the same file mentioned above, add the following code at line 208 (right before the "if(version_compare..." line:
echo get_bloginfo('version');
echo version_compare(get_bloginfo('version'), '2.1', '<') ? ' true' : ' false';
2) Go to any administrative WP page (like the "Write a post" page) copy the line of text that appears above the header (e.g. "2.3 false" or "2.0.7 true") and paste it into a reply here in this discussion.
3) Remove the two "echo" lines you just added :-)
My guess is that the wp_flickr plugin thinks you have an older version of Wordpress than you actually do. Good luck!
Posted 56 months ago.
(permalink)
|
|
First of all - Metavida - you are a legend!
The easy fix works a treat.
This is the code I adjusted:
function addhooks() {
add_options_page('Photo Album', 'Photo Album', 10, __FILE__, array(&$this, 'admin'));
if (!ereg('^2.1', get_bloginfo('version'))) {
//add_filter('uploading_iframe_src', array(&$this, 'uploading_iframe'));
}
When I added the echo lines it says... 2.3 false.
So... were you right?
:)
CB
Posted 56 months ago.
(permalink)
|
|
Hi, on Wordpress MU I see this message:
wordpress-mu-1.2.5 true
:)
Posted 56 months ago.
(permalink)
|
|
Thanks for taking the extra effort to post back.
cellobella, it actually looks like you have an older version of the plugin (0.9.0 maybe?), but since you have things working now that should be ok.
Eulinky, Wordpress MU eh? If it broke for you it was because the current code only checks the version number & MU apparently has a different series of version numbers that the plugin doesn't know.
Posted 56 months ago.
(permalink)
|
Would you like to comment?
Sign up for a free account, or sign in (if you're already a member).
|