It may fix your problem.
The Bug #44 is some thing to do with "return" charactors in the title would break the album tree. I have not experienced this problem, but then again I don't have any return charactors in my titles
Yep, that fixes it - superb!
Let me know if you want me to try out any other changes on my installation.
RobFerrer
Joined: 2005-03-10
Posts: 33
Posted: Wed, 2008-04-30 07:40
OzDamian wrote:
The Bug #44 is some thing to do with "return" charactors in the title would break the album tree. I have not experienced this problem, but then again I don't have any return charactors in my titles
Ah, just seen what you mean by return characters!
I'll get rid of them one I've installed the full release, but will leave them for now so any changes can be tested on my installation.
ozgreg
Joined: 2003-10-18
Posts: 1378
Posted: Wed, 2008-04-30 22:38
Unfortunately although it appears to fix the issue, it just causes another. I had a very very quick look at this last night and found the Wordpress hook is firing to early. I think I may have found another Wordpress Filter to add G2 titles to the WP Title being generated so hopefully I will finish up this tonight and release 3.05
Anyone else having problems with the beta 3.05 + WP2.5 with the editor buttons not showing up for G2Image, and the <wpg2id> tags getting filtered out of the post?
It looks like the tinymce filters are not firing up properly, even though they at least appear to be inserted correctly. I'll try to investigate this a bit further.
moogie
Joined: 2007-01-16
Posts: 13
Posted: Thu, 2008-05-01 09:00
moogie wrote:
Anyone else having problems with the beta 3.05 + WP2.5 with the editor buttons not showing up for G2Image, and the <wpg2id> tags getting filtered out of the post?
It looks like the tinymce filters are not firing up properly, even though they at least appear to be inserted correctly. I'll try to investigate this a bit further.
Ok, well - this was easy to fix. Looks like my browser had some old timymce stuff in it's cache - flushing the cache made everything work fine again.
ozgreg
Joined: 2003-10-18
Posts: 1378
Posted: Thu, 2008-05-01 12:04
I was going to post it sounds like an old cache issue.. Tinymce got some nasty issues around old caches..
Quick question. When I click on the WPG2 menu item, then the WPG2 tab, all I get is a blank screen. I assume that this is supposed to be the Validation Page, but it's completely empty. Clicking on the tab calls "http://www.parkerpress.com/wp/wp-admin/admin.php?page=wpg2/wpg2functions.inc" but I end up with an empty screen.
I did deactivate the all plugins, then used "svn" to update to 2.5.1. I uploaded the latest 3.0.5 wpg2 installation and unzipped it over the old one.
Any ideas why this is a completely blank screen?
Thanks,
Steve
sparker
Joined: 2004-02-18
Posts: 27
Posted: Thu, 2008-05-01 15:18
Never mind..... The problem is that I use a Multi-Gallery implementation on my site, and the default paths for Gallery2 URL and Gallery2 File Path were changed to "...com/gallery2", which is where the core installation of gallery2 resides, but the actual albums I'm linking to are in "...com/Albums". I changed both paths back to their original values, and things are working fine now.
Thanks,
Steve
robert_gallery_...
Joined: 2008-04-29
Posts: 3
Posted: Thu, 2008-05-01 17:12
1- New to Gallery and WPG2. Have a basic WordPress 2.5 blog and a seperate Gallery 2.2.4 page setup. Gallery page running ok, WP page "was" running ok until I installed WPG2 3.02.
2- After wpg2 folder was ftp to site I did "activate" in WP dashboard.
3- These errors appear on my WP page:
Warning: include_once(/home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2template.inc) [function.include-once]: failed to open stream: No such file or directory in /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php on line 53
Warning: include_once() [function.include]: Failed opening '/home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2template.inc' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php on line 53
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wpg2_sidebar_widgets_init' was given in /home/robertgerson/www/www/artist/wp-includes/plugin.php on line 311
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wpg2_addwpmenus' was given in /home/robertgerson/www/www/artist/wp-includes/plugin.php on line 311
4- I am trying to log out of the WP page and get additional errors that prevent logout:
Warning: Cannot modify header information - headers already sent by (output started at /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php:53) in /home/robertgerson/www/www/artist/wp-login.php on line 202
Warning: Cannot modify header information - headers already sent by (output started at /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php:53) in /home/robertgerson/www/www/artist/wp-login.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php:53) in /home/robertgerson/www/www/artist/wp-includes/pluggable.php on line 565
Warning: Cannot modify header information - headers already sent by (output started at /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php:53) in /home/robertgerson/www/www/artist/wp-includes/pluggable.php on line 566
Warning: Cannot modify header information - headers already sent by (output started at /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php:53) in /home/robertgerson/www/www/artist/wp-includes/pluggable.php on line 569
Warning: Cannot modify header information - headers already sent by (output started at /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php:53) in /home/robertgerson/www/www/artist/wp-includes/pluggable.php on line 570
Warning: Cannot modify header information - headers already sent by (output started at /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php:53) in /home/robertgerson/www/www/artist/wp-includes/pluggable.php on line 571
Any direction and help is very appreciated.
Thanks,
Robert
capt_kirk
Joined: 2006-01-24
Posts: 492
Posted: Thu, 2008-05-01 17:20
Please try deactivating it and reactivating it in the dashboard.
Warning: include_once() [function.include]: Failed opening '/home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2template.inc' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php on line 53
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wpg2_sidebar_widgets_init' was given in /home/robertgerson/www/www/artist/wp-includes/plugin.php on line 311
I'm suspicious of the "....robertgerson/www/www/artist...." string. Is it possible that you have one to many "www/" strings in your paths that you entered in WPG2 Paths???
Steve
robert_gallery_...
Joined: 2008-04-29
Posts: 3
Posted: Thu, 2008-05-01 18:28
Thanks for quick reply. Will implement all these suggestions this evening, the day just got crazy work here.
-robert
Hello! I really appreciate the effort in this, but I run a site with Irui's Vslider3 theme embedding Gallery into Wordpress.
I installed the very latest WPG2 and Gallery and Wordpress yesterday, and I thought it was OK, but although I can edit the album properties as if I was admin, when I click on the site admin link, the url changes to
/wp-login.php?g2_reAuthenticate=1
and I am taken to the root level of my gallery.
ozgreg
Joined: 2003-10-18
Posts: 1378
Posted: Fri, 2008-05-02 01:32
Toastmaster,
What version of Gallery2 are you running, G2.3 SVN Build?? If so then I believe some issue exists around the Site Admin / Authentication etc... It looks like your G2 session has gotten expired and it is trying to get you to log back into WP (/wp-login.php)
I'm having problems with Gallery Site Admin using the vSlider theme too (the slide-down menu isn't working). I'll send a quick note to Rui and see what he says....
Steve
ozgreg
Joined: 2003-10-18
Posts: 1378
Posted: Fri, 2008-05-02 02:09
FYI I cannot reproduce any site admin issues running WP 2.51 so I am suspecting it is something in the vslider theme causing the issue..
I agree. I'll let you know what Rui says as soon as I hear back from him....
Steve
etan
Joined: 2007-08-29
Posts: 12
Posted: Fri, 2008-05-02 06:05
ozgreg wrote:
Hiya Etan,
Yes you still can, turn off the Wordpress Header and footers option in the WPG2 Output Tab and you will get the same thing..
Hello,
I did following operations, but I always have the same problem:
1. I said "no" to the option "Output Wordpress Header & Footer?"
2. I emptied all fields (CSS, header and footer)
You can see the problem I have with the 2 attached screenshots:
"Screenshot gallery coming from Wordpress" : output when I click on an element (album in this case) from Wordpress
"Screenshot direct access to the gallery" : output when I access directly to the gallery
I have the following problems:
1. I have a white border around the gallery
2. the font sizes are not the correct ones
3. With the old plugin, in the standalone mode, with a clic on an element (album or photo), I was redirected on the URL of the gallery. Now the URL always looks like: "http://www.etisan.ch/wordpress/..." so I always stay in Wordpress
It would be great it I could always be redirected to the standalone URLs of the gallery.
Thank you even very much for all your work on this plugin !
etan
Joined: 2007-08-29
Posts: 12
Posted: Fri, 2008-05-02 06:27
As I use a personalized theme (bases on "Carbon"), I made a test with the theme "Matrix".
Here are the results of my "investigation"
Like the previous post, you can see the problem I have with the 2 attached screenshots and 2 HTML files:
"Screenshot gallery coming from Wordpress" : output when I click on an element (album in this case) from Wordpress
"HTML gallery coming from Wordpress" : HTML code of this page
"Screenshot direct access to the gallery" : output when I access directly to the gallery
"HTML direct access to the gallery" : HTML code of this page
I looked at the HTML code and I found the problem:
The page generated from the WPG2-plugin doesn't contain the opening and closing tags of <html> and <body>. As <body> contains a CSS class, it can be the problem why the page isn't displayed correctly.
ozgreg
Joined: 2003-10-18
Posts: 1378
Posted: Fri, 2008-05-02 06:53
To answer your question about pointing directly to gallery2 but sorry no this can not be done as it caused an issue with Gallery2 sessions not being logged in when we pointed the URL via Gallery2 main.php. (This was a bug in WPG2 3.0.2 and I missed this in unit testing)
Regarding the fonts being wrong the page is missing a DOCTYPE declaration thus it is being rendered in Quirks mode which is causing the CSS to mis-display.. Interesting that Gallery2 does not supply this, it should be but I can code around the fact it is missing the DOCTYPE and the closing HTML by quickly adding two lines in WPG2TEMPLATE.INC File..
I have found (and fixed) the issue however I have a small issue in I have to supply a few constants including the DIV tag in the BODY which is less than optimal..
You can grab a copy of the 3.0.6 development build here I am not going to release this as final until I have a think about the constants issue...
... about pointing directly to gallery2 but sorry no this can not be done as it caused an issue with Gallery2 sessions not being logged in when we pointed the URL via Gallery2 main.php. ...
Understood !
ozgreg wrote:
Regarding the fonts being wrong the page is missing a DOCTYPE declaration thus it is being rendered in Quirks mode which is causing the CSS to mis-display.. Interesting that Gallery2 does not supply this, it should be but I can code around the fact it is missing the DOCTYPE and the closing HTML by quickly adding two lines in WPG2TEMPLATE.INC File..
Yes, the Doctype is missing. Just to remember : it is not only the closing HTML which is missing, bus opening AND closing HTML, and opening AND closing BODY (including its CSS class).
Thank you for all your work debugging your plugin so quickly!
ozgreg
Joined: 2003-10-18
Posts: 1378
Posted: Sat, 2008-05-03 04:44
WPG2 3.0.6 has just been released which should correctly render / Add any missing HTML Elements to the Wordpress (Gallery2) Page..
WPG2 3.0.6 has just been released which should correctly render / Add any missing HTML Elements to the Wordpress (Gallery2) Page..
Just installed. When setting it up I got the following error when using "validate" to automatically set up the paths. If I enter the paths manually however it all works a treat - even with my awkward title with "returns".
Quote:
Warning: Missing argument 2 for wpg2_validateg2url(), called in /home/robferrer/wordpress/wp-content/plugins/wpg2/wpg2options.inc on line 32 and defined in /home/robferrer/wordpress/wp-content/plugins/wpg2/wpg2embed.inc on line 430
Fatal error: Class 'GalleryEmbed' not found in /home/robferrer/wordpress/wp-content/plugins/wpg2/wpg2embed.inc on line 42
bard63
Joined: 2008-05-03
Posts: 1
Posted: Sat, 2008-05-03 10:36
Thanks Rob - I just did the automatic update to 3.0.6 and got exactly the same error. Was stuck, but tried your suggestion of manually entering the paths, and that works fine.
cheers
ozgreg
Joined: 2003-10-18
Posts: 1378
Posted: Sat, 2008-05-03 11:09
You should not be getting a NULL Relative path but I threw in an extra line of code just in case this happens to anyone else. Thanks for reporting this..
I also had a problem with the "Gallery2 to WPG2 Relative Path" which wasn't set correctly. I corrected it manually and now it works really good!
Thank you very much for your quick handling of this "bug"! Now I can use Wordpress 2.5.x with Gallery without any problem, it's great!
Etienne
sparker
Joined: 2004-02-18
Posts: 27
Posted: Sat, 2008-05-03 14:20
ozgreg,
Just FYI, the first post still says 3.0.5...
Steve
PS: Thanks for your quick work on 3.0.5+ It's great to have 2.5 installed now....
sparker
Joined: 2004-02-18
Posts: 27
Posted: Sat, 2008-05-03 14:27
I'd like to make one "enhancement request" for future multi-site gallery2 users. If the "Gallery2 URL" and "Gallery2 File Path" in the WPG2 path pages use "..../gallery2/" (the code base), the Validation page is entirely blank. If I change them both to the location of the multisite location (.../Albums/), everything works great.
The ENH: Put a string at the top of the validation page that says "If this page appears blank, check your Gallery2 URL and Gallery2 File Path and make sure they are set to your multisite gallery location, not the codebase".
My $0.02....
Steve
robert_gallery_...
Joined: 2008-04-29
Posts: 3
Posted: Sat, 2008-05-03 16:41
1- The path: robertgerson/www/www/artist/ is correct, I have WordPress and Gallery running on that directory path.(Not sure why there are two www/www, was created by server).
2- Deactivated WPG2 3.0.5, reactivated, still getting same errors.
3- Deleted WPG2 3.0.5, installed 3.0.6, activated in WP plugin panel and getting these errors:
Warning: include_once(/home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2template.inc) [function.include-once]: failed to open stream: No such file or directory in /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php on line 53
Warning: include_once() [function.include]: Failed opening '/home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2template.inc' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php on line 53
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wpg2_sidebar_widgets_init' was given in /home/robertgerson/www/www/artist/wp-includes/plugin.php on line 311
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wpg2_addwpmenus' was given in /home/robertgerson/www/www/artist/wp-includes/plugin.php on line 311
4- Have deactivated/activated 3.0.6 in the WP plugin page, problem repeats.
Any ideas on what I should do next?
Thank you,
Robert
ozgreg
Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-05-04 00:38
Hiya Robert,
Unfortunately this is not a WPG2 issue but it looks like your hosting firm done something very odd in it's path and as a result the ABSPATH which should be your Wordpress install is being incorrectly returned thus why it cannot find the file to include. I am really sorry but only your hosting firm can fix this kind of issue.
With wp 2.5.1 and wpg2.3.0.6 i still dont have a g2 button in my toolbar if i write a new post.
Is this still a bug or did i something wrong ?
arirea
Joined: 2008-03-09
Posts: 20
Posted: Sun, 2008-05-04 15:08
giel1 wrote:
PPL:
With wp 2.5.1 and wpg2.3.0.6 i still dont have a g2 button in my toolbar if i write a new post.
Is this still a bug or did i something wrong ?
@Ozreg: THANKS A BUNCH for your work on wpg2. I've been using it for quite a while now and your support (and the community's) is outstanding.
@giel1: I also notice the same. I upgraded WP2.3 with WP2.5.1 yesterday, and right away installed wpg2 3.0.6. There is no wpg2 button in the Visual editor. However, if you go to "HTML" mode, there is a wpg2 button, and works fine.
cheers
arirea
Joined: 2008-03-09
Posts: 20
Posted: Sun, 2008-05-04 15:24
Correction FYR: the button in wpg2 3.0.6 / HTML mode (or the plugin to the visual editor) is not working right for me.
When adding a g2 image, wpg2 gives me the image chooser which works all right, and inserts the HTML tag, like this:
<div class="g2image_normal"><wpg2>58</wpg2></div>
However, when I go to "Visual" mode, I only see:
58
... just the image number, no image. If I click on preview the post, I just see the number, no image. If I Publish the post, same problem, no image, just the number.
If I go back to HTML view, I see that something went wrong, the tag gets converted to:
<div class="g2image_normal">58</div>
the <wpg2> tag is lost... which I guess is the problem.
I would suggest other people to avoid editing old posts with wpg2 images until a fix comes, since they may get ruined (I don't want to try this myself).
cheers
giel1
Joined: 2007-10-10
Posts: 13
Posted: Sun, 2008-05-04 18:25
arirea wrote:
Correction FYR: the button in wpg2 3.0.6 / HTML mode (or the plugin to the visual editor) is not working right for me.
When adding a g2 image, wpg2 gives me the image chooser which works all right, and inserts the HTML tag, like this:
<div class="g2image_normal"><wpg2>58</wpg2></div>
However, when I go to "Visual" mode, I only see:
58
... just the image number, no image. If I click on preview the post, I just see the number, no image. If I Publish the post, same problem, no image, just the number.
If I go back to HTML view, I see that something went wrong, the tag gets converted to:
<div class="g2image_normal">58</div>
the <wpg2> tag is lost... which I guess is the problem.
I would suggest other people to avoid editing old posts with wpg2 images until a fix comes, since they may get ruined (I don't want to try this myself).
cheers
I figured this out as well. The pictures are displayd after adding the wpg2 tag
ozgreg
Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-05-04 22:32
arirea,
I am sorry but this is not a bug, I can perfectly edit old posts without any issues.. I suspect the issue is either another plugin you have installed or possibly a caching issue..
Please try a Force Reload (Control F5) in the Tinymce editor to see if that corrects your issue or if that does not work, try deactivating your other Wordpress Plugins and then a Force Reload..
I will see if I can hunt down Kirk and give him a heads up over the buttons issue. He tends to go into hiding when you mention the words missing buttons in G2image
Well, believe it or not, now the G2 button is showing up in Visual mode and the problem of the <wpg2> tag disappearing when switching from HTML to Visual mode is gone.
Very weird. The only thing I noticed is that my session had expired and I had to re-login into WP. So it must be as ozreg says, something related to caching.
for the records, I don't really have a lot of plugins:
wpg2
akismet
page-links-to
sharethis
wordpress stats
Morgan's replacement links widget.
Also, my client is Firefox 3 beta 5 / Ubuntu 8.04
thanks for keeping wpg2 up
ozgreg
Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2008-05-05 11:56
Funny you posted about this odd issue, I had another very odd issue with another wordpress install it would show me as logged in but clearly I was not.. Could be that WP got some weird ass session issue happening. How did you upgrade WPG2 plugin, via the automatic feature? Did you deactivate it first?
____________________________________ Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
arirea
Joined: 2008-03-09
Posts: 20
Posted: Mon, 2008-05-05 22:37
ozgreg wrote:
Funny you posted about this odd issue, I had another very odd issue with another wordpress install it would show me as logged in but clearly I was not.. Could be that WP got some weird ass session issue happening. How did you upgrade WPG2 plugin, via the automatic feature? Did you deactivate it first?
I did. I de-activated all plugins, then upgraded to 2.5.1 (bypassing 2.5), then checking that WP was working. Finally I manually upgraded wpg2 to .3.0.6 by unzipping the folder and ftp'ing it to the server, and later on I just enabled it. Maybe I should have used the automatic update feature to avoid this quirk, I can't tell (I just tested again and the wpg2 button is still there).
Cheers
ozgreg
Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2008-05-06 01:57
no issues on how you upgrade, I was just interested to see if I could find a pattern on weird session issues like you got.. I still suspect something inside Wordpress is not right because have also seen issues with weird transient behaviour that only a clear browser cache could resolve..
Hi, I've got the very latest wpg2 and gallery2 cvs from last night and I still get the re-authenticate error and when I try and edit the album, I get the error pasted below..
I know I shouldn't have gone so cutting edge, but I'm bordering on giving up and going to picasaweb, BUT...I really don't want to lose my comments.
* in modules/core/classes/helpers/GalleryFactoryHelper_simple.class at line 171 (GalleryCoreApi::error)
* in modules/core/classes/helpers/GalleryFactoryHelper_simple.class at line 201 (GalleryFactoryHelper_simple::newInstance)
* in modules/core/classes/GalleryCoreApi.class at line 175 (GalleryFactoryHelper_simple::newInstanceById)
* in modules/core/ItemEdit.inc at line 224 (GalleryCoreApi::newFactoryInstanceById)
* in modules/core/ItemAdmin.inc at line 140 (ItemEditView::loadTemplate)
* in modules/core/classes/GalleryView.class at line 283 (ItemAdminView::loadTemplate)
* in main.php at line 454 (GalleryView::doLoadTemplate)
* in main.php at line 103
* in modules/core/classes/GalleryEmbed.class at line 189
* in /home/digitalt/public_html/blog/wp-content/plugins/wpg2/wpg2template.inc at line 73 (GalleryEmbed::handleRequest)
* in ??? at line 0
* in /home/digitalt/public_html/blog/wp-includes/plugin.php at line 311
* in /home/digitalt/public_html/blog/wp-includes/template-loader.php at line 7
* in /home/digitalt/public_html/blog/wp-blog-header.php at line 20
* in /home/digitalt/public_html/index.php at line 4
System Information
Gallery version 2.3-svn
PHP version 5.2.5 cgi
Webserver Apache/1.3.41 (Unix) mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7a
Database mysqli 5.0.45-community
Toolkits SquareThumb, ImageMagick, Thumbnail, NetPBM, Gd
ozgreg
Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-05-18 07:07
Hiya Toastmaster,
Please post that over @ the Gallery2 troubleshooting and errors as it is not a WPG2 issue..
Posts: 33
Yep, that fixes it - superb!
Let me know if you want me to try out any other changes on my installation.
Posts: 33
Ah, just seen what you mean by return characters!
I'll get rid of them one I've installed the full release, but will leave them for now so any changes can be tested on my installation.
Posts: 1378
Unfortunately although it appears to fix the issue, it just causes another. I had a very very quick look at this last night and found the Wordpress hook is firing to early. I think I may have found another Wordpress Filter to add G2 titles to the WP Title being generated so hopefully I will finish up this tonight and release 3.05
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 13
Anyone else having problems with the beta 3.05 + WP2.5 with the editor buttons not showing up for G2Image, and the <wpg2id> tags getting filtered out of the post?
It looks like the tinymce filters are not firing up properly, even though they at least appear to be inserted correctly. I'll try to investigate this a bit further.
Posts: 13
Ok, well - this was easy to fix. Looks like my browser had some old timymce stuff in it's cache - flushing the cache made everything work fine again.
Posts: 1378
I was going to post it sounds like an old cache issue.. Tinymce got some nasty issues around old caches..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 1378
WPG2 3.0.5 is out.. Upgrade via Extend, please do not forget to DEACTIVATE the plugin prior to upgrading!!
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 492
REMINDER TO ALL: WPG2 3.0.5 is only compatible with WordPress 2.5 and higher!!! Here is the link.
If you are still using WordPress 2.3.x, you can still get WPG2 3.0.2 at this link.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 27
Quick question. When I click on the WPG2 menu item, then the WPG2 tab, all I get is a blank screen. I assume that this is supposed to be the Validation Page, but it's completely empty. Clicking on the tab calls "http://www.parkerpress.com/wp/wp-admin/admin.php?page=wpg2/wpg2functions.inc" but I end up with an empty screen.
I did deactivate the all plugins, then used "svn" to update to 2.5.1. I uploaded the latest 3.0.5 wpg2 installation and unzipped it over the old one.
Any ideas why this is a completely blank screen?
Thanks,
Steve
Posts: 27
Never mind..... The problem is that I use a Multi-Gallery implementation on my site, and the default paths for Gallery2 URL and Gallery2 File Path were changed to "...com/gallery2", which is where the core installation of gallery2 resides, but the actual albums I'm linking to are in "...com/Albums". I changed both paths back to their original values, and things are working fine now.
Thanks,
Steve
Posts: 3
1- New to Gallery and WPG2. Have a basic WordPress 2.5 blog and a seperate Gallery 2.2.4 page setup. Gallery page running ok, WP page "was" running ok until I installed WPG2 3.02.
2- After wpg2 folder was ftp to site I did "activate" in WP dashboard.
3- These errors appear on my WP page:
Warning: include_once(/home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2template.inc) [function.include-once]: failed to open stream: No such file or directory in /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php on line 53
Warning: include_once() [function.include]: Failed opening '/home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2template.inc' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php on line 53
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wpg2_sidebar_widgets_init' was given in /home/robertgerson/www/www/artist/wp-includes/plugin.php on line 311
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wpg2_addwpmenus' was given in /home/robertgerson/www/www/artist/wp-includes/plugin.php on line 311
4- I am trying to log out of the WP page and get additional errors that prevent logout:
Warning: Cannot modify header information - headers already sent by (output started at /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php:53) in /home/robertgerson/www/www/artist/wp-login.php on line 202
Warning: Cannot modify header information - headers already sent by (output started at /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php:53) in /home/robertgerson/www/www/artist/wp-login.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php:53) in /home/robertgerson/www/www/artist/wp-includes/pluggable.php on line 565
Warning: Cannot modify header information - headers already sent by (output started at /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php:53) in /home/robertgerson/www/www/artist/wp-includes/pluggable.php on line 566
Warning: Cannot modify header information - headers already sent by (output started at /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php:53) in /home/robertgerson/www/www/artist/wp-includes/pluggable.php on line 569
Warning: Cannot modify header information - headers already sent by (output started at /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php:53) in /home/robertgerson/www/www/artist/wp-includes/pluggable.php on line 570
Warning: Cannot modify header information - headers already sent by (output started at /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php:53) in /home/robertgerson/www/www/artist/wp-includes/pluggable.php on line 571
Any direction and help is very appreciated.
Thanks,
Robert
Posts: 492
Please try deactivating it and reactivating it in the dashboard.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 492
You'll also need to go to the WPG2 tab to validate the plugin after activating it.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 27
I'm suspicious of the "....robertgerson/www/www/artist...." string. Is it possible that you have one to many "www/" strings in your paths that you entered in WPG2 Paths???
Steve
Posts: 3
Thanks for quick reply. Will implement all these suggestions this evening, the day just got crazy work here.
-robert
Posts: 12
Hello,
Thank you very much for this new plugin!
I have a small problem with it :
In the previous version, we had an option which allowed to output the gallery in a standalone mode (see http://codex.gallery2.org/Integration:WPG2_Options_-_WPG2_Output option "2" )
With this new version of WPG2 I'm not able to output my gallery in this standalone mode. Is it normal ?
How can I do it ?
Thank you very much !
Posts: 1378
Hiya Etan,
Yes you still can, turn off the Wordpress Header and footers option in the WPG2 Output Tab and you will get the same thing..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 2
Just upgraded to the released version. (Deactivated and deleted all files first)
No problem with an extra page being generated.
Relative path from Gallery to WP was set correctly
My former formatting problem has gone away.
Great work - thanks very much
Posts: 1378
Thanks Glad the extra page went away. Just when we had the option to debug why it was doing so!!! (Did we scare it into submission??)
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 219
Hello! I really appreciate the effort in this, but I run a site with Irui's Vslider3 theme embedding Gallery into Wordpress.
I installed the very latest WPG2 and Gallery and Wordpress yesterday, and I thought it was OK, but although I can edit the album properties as if I was admin, when I click on the site admin link, the url changes to
/wp-login.php?g2_reAuthenticate=1
and I am taken to the root level of my gallery.
Posts: 1378
Toastmaster,
What version of Gallery2 are you running, G2.3 SVN Build?? If so then I believe some issue exists around the Site Admin / Authentication etc... It looks like your G2 session has gotten expired and it is trying to get you to log back into WP (/wp-login.php)
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 27
FYI, I'm running WP 2.5.1, Gallery 2.2.4, WPG2 3.0.5 and vSlider 3.1.1.
I'm having problems with Gallery Site Admin using the vSlider theme too (the slide-down menu isn't working). I'll send a quick note to Rui and see what he says....
Steve
Posts: 1378
FYI I cannot reproduce any site admin issues running WP 2.51 so I am suspecting it is something in the vslider theme causing the issue..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 27
ozgreg,
I agree. I'll let you know what Rui says as soon as I hear back from him....
Steve
Posts: 12
Hello,
I did following operations, but I always have the same problem:
1. I said "no" to the option "Output Wordpress Header & Footer?"
2. I emptied all fields (CSS, header and footer)
You can see the problem I have with the 2 attached screenshots:
"Screenshot gallery coming from Wordpress" : output when I click on an element (album in this case) from Wordpress
"Screenshot direct access to the gallery" : output when I access directly to the gallery
I have the following problems:
1. I have a white border around the gallery
2. the font sizes are not the correct ones
3. With the old plugin, in the standalone mode, with a clic on an element (album or photo), I was redirected on the URL of the gallery. Now the URL always looks like: "http://www.etisan.ch/wordpress/..." so I always stay in Wordpress
It would be great it I could always be redirected to the standalone URLs of the gallery.
Thank you even very much for all your work on this plugin !
Posts: 12
As I use a personalized theme (bases on "Carbon"), I made a test with the theme "Matrix".
Here are the results of my "investigation"
Like the previous post, you can see the problem I have with the 2 attached screenshots and 2 HTML files:
"Screenshot gallery coming from Wordpress" : output when I click on an element (album in this case) from Wordpress
"HTML gallery coming from Wordpress" : HTML code of this page
"Screenshot direct access to the gallery" : output when I access directly to the gallery
"HTML direct access to the gallery" : HTML code of this page
I looked at the HTML code and I found the problem:
The page generated from the WPG2-plugin doesn't contain the opening and closing tags of <html> and <body>. As <body> contains a CSS class, it can be the problem why the page isn't displayed correctly.
Posts: 1378
To answer your question about pointing directly to gallery2 but sorry no this can not be done as it caused an issue with Gallery2 sessions not being logged in when we pointed the URL via Gallery2 main.php. (This was a bug in WPG2 3.0.2 and I missed this in unit testing)
Regarding the fonts being wrong the page is missing a DOCTYPE declaration thus it is being rendered in Quirks mode which is causing the CSS to mis-display.. Interesting that Gallery2 does not supply this, it should be but I can code around the fact it is missing the DOCTYPE and the closing HTML by quickly adding two lines in WPG2TEMPLATE.INC File..
I will fix this for you in the next few hours..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 1378
I have found (and fixed) the issue however I have a small issue in I have to supply a few constants including the DIV tag in the BODY which is less than optimal..
You can grab a copy of the 3.0.6 development build here I am not going to release this as final until I have a think about the constants issue...
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 12
Understood !
Yes, the Doctype is missing.
Just to remember : it is not only the closing HTML which is missing, bus opening AND closing HTML, and opening AND closing BODY (including its CSS class).
Thank you for all your work debugging your plugin so quickly!
Posts: 1378
WPG2 3.0.6 has just been released which should correctly render / Add any missing HTML Elements to the Wordpress (Gallery2) Page..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 33
Just installed. When setting it up I got the following error when using "validate" to automatically set up the paths. If I enter the paths manually however it all works a treat - even with my awkward title with "returns".
Posts: 1
Thanks Rob - I just did the automatic update to 3.0.6 and got exactly the same error. Was stuck, but tried your suggestion of manually entering the paths, and that works fine.
cheers
Posts: 1378
You should not be getting a NULL Relative path but I threw in an extra line of code just in case this happens to anyone else. Thanks for reporting this..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 12
Hello,
I also had a problem with the "Gallery2 to WPG2 Relative Path" which wasn't set correctly. I corrected it manually and now it works really good!
Thank you very much for your quick handling of this "bug"! Now I can use Wordpress 2.5.x with Gallery without any problem, it's great!
Etienne
Posts: 27
ozgreg,
Just FYI, the first post still says 3.0.5...
Steve
PS: Thanks for your quick work on 3.0.5+ It's great to have 2.5 installed now....
Posts: 27
I'd like to make one "enhancement request" for future multi-site gallery2 users. If the "Gallery2 URL" and "Gallery2 File Path" in the WPG2 path pages use "..../gallery2/" (the code base), the Validation page is entirely blank. If I change them both to the location of the multisite location (.../Albums/), everything works great.
The ENH: Put a string at the top of the validation page that says "If this page appears blank, check your Gallery2 URL and Gallery2 File Path and make sure they are set to your multisite gallery location, not the codebase".
My $0.02....
Steve
Posts: 3
1- The path: robertgerson/www/www/artist/ is correct, I have WordPress and Gallery running on that directory path.(Not sure why there are two www/www, was created by server).
2- Deactivated WPG2 3.0.5, reactivated, still getting same errors.
3- Deleted WPG2 3.0.5, installed 3.0.6, activated in WP plugin panel and getting these errors:
Warning: include_once(/home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2template.inc) [function.include-once]: failed to open stream: No such file or directory in /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php on line 53
Warning: include_once() [function.include]: Failed opening '/home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2template.inc' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/robertgerson/www/www/artist/wp-content/plugins/wpg2/wpg2.php on line 53
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wpg2_sidebar_widgets_init' was given in /home/robertgerson/www/www/artist/wp-includes/plugin.php on line 311
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wpg2_addwpmenus' was given in /home/robertgerson/www/www/artist/wp-includes/plugin.php on line 311
4- Have deactivated/activated 3.0.6 in the WP plugin page, problem repeats.
Any ideas on what I should do next?
Thank you,
Robert
Posts: 1378
Hiya Robert,
Unfortunately this is not a WPG2 issue but it looks like your hosting firm done something very odd in it's path and as a result the ABSPATH which should be your Wordpress install is being incorrectly returned thus why it cannot find the file to include. I am really sorry but only your hosting firm can fix this kind of issue.
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 13
PPL:
With wp 2.5.1 and wpg2.3.0.6 i still dont have a g2 button in my toolbar if i write a new post.
Is this still a bug or did i something wrong ?
Posts: 20
@Ozreg: THANKS A BUNCH for your work on wpg2. I've been using it for quite a while now and your support (and the community's) is outstanding.
@giel1: I also notice the same. I upgraded WP2.3 with WP2.5.1 yesterday, and right away installed wpg2 3.0.6. There is no wpg2 button in the Visual editor. However, if you go to "HTML" mode, there is a wpg2 button, and works fine.
cheers
Posts: 20
Correction FYR: the button in wpg2 3.0.6 / HTML mode (or the plugin to the visual editor) is not working right for me.
When adding a g2 image, wpg2 gives me the image chooser which works all right, and inserts the HTML tag, like this:
<div class="g2image_normal"><wpg2>58</wpg2></div>
However, when I go to "Visual" mode, I only see:
58
... just the image number, no image. If I click on preview the post, I just see the number, no image. If I Publish the post, same problem, no image, just the number.
If I go back to HTML view, I see that something went wrong, the tag gets converted to:
<div class="g2image_normal">58</div>
the <wpg2> tag is lost... which I guess is the problem.
I would suggest other people to avoid editing old posts with wpg2 images until a fix comes, since they may get ruined (I don't want to try this myself).
cheers
Posts: 13
I figured this out as well. The pictures are displayd after adding the wpg2 tag
Posts: 1378
arirea,
I am sorry but this is not a bug, I can perfectly edit old posts without any issues.. I suspect the issue is either another plugin you have installed or possibly a caching issue..
Please try a Force Reload (Control F5) in the Tinymce editor to see if that corrects your issue or if that does not work, try deactivating your other Wordpress Plugins and then a Force Reload..
I will see if I can hunt down Kirk and give him a heads up over the buttons issue. He tends to go into hiding when you mention the words missing buttons in G2image
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 20
Well, believe it or not, now the G2 button is showing up in Visual mode and the problem of the <wpg2> tag disappearing when switching from HTML to Visual mode is gone.
Very weird. The only thing I noticed is that my session had expired and I had to re-login into WP. So it must be as ozreg says, something related to caching.
for the records, I don't really have a lot of plugins:
wpg2
akismet
page-links-to
sharethis
wordpress stats
Morgan's replacement links widget.
Also, my client is Firefox 3 beta 5 / Ubuntu 8.04
thanks for keeping wpg2 up
Posts: 1378
Funny you posted about this odd issue, I had another very odd issue with another wordpress install it would show me as logged in but clearly I was not.. Could be that WP got some weird ass session issue happening. How did you upgrade WPG2 plugin, via the automatic feature? Did you deactivate it first?
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 20
I did. I de-activated all plugins, then upgraded to 2.5.1 (bypassing 2.5), then checking that WP was working. Finally I manually upgraded wpg2 to .3.0.6 by unzipping the folder and ftp'ing it to the server, and later on I just enabled it. Maybe I should have used the automatic update feature to avoid this quirk, I can't tell (I just tested again and the wpg2 button is still there).
Cheers
Posts: 1378
no issues on how you upgrade, I was just interested to see if I could find a pattern on weird session issues like you got.. I still suspect something inside Wordpress is not right because have also seen issues with weird transient behaviour that only a clear browser cache could resolve..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 219
Hi, I've got the very latest wpg2 and gallery2 cvs from last night and I still get the re-authenticate error and when I try and edit the album, I get the error pasted below..
I know I shouldn't have gone so cutting edge, but I'm bordering on giving up and going to picasaweb, BUT...I really don't want to lose my comments.
So I'd really like to make this work.
Error Detail -
Error (ERROR_BAD_PATH) : Invalid path: modules/map/mapItemEdit.inc
* in modules/core/classes/helpers/GalleryFactoryHelper_simple.class at line 171 (GalleryCoreApi::error)
* in modules/core/classes/helpers/GalleryFactoryHelper_simple.class at line 201 (GalleryFactoryHelper_simple::newInstance)
* in modules/core/classes/GalleryCoreApi.class at line 175 (GalleryFactoryHelper_simple::newInstanceById)
* in modules/core/ItemEdit.inc at line 224 (GalleryCoreApi::newFactoryInstanceById)
* in modules/core/ItemAdmin.inc at line 140 (ItemEditView::loadTemplate)
* in modules/core/classes/GalleryView.class at line 283 (ItemAdminView::loadTemplate)
* in main.php at line 454 (GalleryView::doLoadTemplate)
* in main.php at line 103
* in modules/core/classes/GalleryEmbed.class at line 189
* in /home/digitalt/public_html/blog/wp-content/plugins/wpg2/wpg2template.inc at line 73 (GalleryEmbed::handleRequest)
* in ??? at line 0
* in /home/digitalt/public_html/blog/wp-includes/plugin.php at line 311
* in /home/digitalt/public_html/blog/wp-includes/template-loader.php at line 7
* in /home/digitalt/public_html/blog/wp-blog-header.php at line 20
* in /home/digitalt/public_html/index.php at line 4
System Information
Gallery version 2.3-svn
PHP version 5.2.5 cgi
Webserver Apache/1.3.41 (Unix) mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7a
Database mysqli 5.0.45-community
Toolkits SquareThumb, ImageMagick, Thumbnail, NetPBM, Gd
Posts: 1378
Hiya Toastmaster,
Please post that over @ the Gallery2 troubleshooting and errors as it is not a WPG2 issue..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo