Wordpress 2.7 and WPG2 3.0.7 widget problems

duckpuppy

Joined: 2004-11-09
Posts: 18
Posted: Tue, 2009-01-27 17:15

I have had the gallery random image widget on my blog for a while now (since I started using WP2.5). After upgrading to WP2.7, when I go to manage my widgets I see "%BEG_OF_TITLE%Random Images%END_OF_TITLE%" in the active widgets list instead of the nice AJAX-y blue rectangle. It sows up fine in the available widgets list. Unfortunately, I also can't remove/move/reorder/etc this widget since it's not draggable, only text. Is there a fix for this? I tried adding one of the other widgets as well, and now it's ON the page, but can't be removed (it's not even showing up... probably because the active widgets list is being prematurely ended by the first WPG2 widget in the list).

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Wed, 2009-01-28 01:14

Hmmm I not played around with the WPG2 widgets in WP 2.7, it could be a possible change in the way widgets function in WP 2.7

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
gsmackay

Joined: 2002-07-24
Posts: 34
Posted: Fri, 2009-01-30 15:37

Same problem as most everyone else. This all worked fine on a brand new wp 2.65 install with wpg2 3.07 and when I upgraded wp to 2.7, wpg2 is borked. I can play with the paths and get the wpg2 validation to be happy, but in wp the image blocks are full of errors. Can't find ImageFrame.tpl and such. I know it is a path issue but just can not figure it out. I have a Gallery2 multi-site setup. There is a /gallery folder under each domain folder and the actual gallery2 folder is elsewhere.

 
duckpuppy

Joined: 2004-11-09
Posts: 18
Posted: Fri, 2009-01-30 16:14

I've solved my problem... I finally saw the error in my system logs. It was a PHP out of memory error. Apparently WP2.7 increased it's memory usage significantly or some interaction between WPG2 and WP2.7 is causing a larger memory footprint. I previously had PHP limited to 32MB of memory usage max. Increasing that fixed both this problem for me and the blank G2Rewrites page I posted about in another thread. Try increasing your PHP max memory limit and see if your problems go away.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2009-02-01 10:11

I was going to post that I could not fault the widget code as well. I did however notice a few new tricks in 2.7 around widgets which should be included in the WPG2 codebase

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
gsmackay

Joined: 2002-07-24
Posts: 34
Posted: Mon, 2009-02-02 16:30

Already have mine set to 64M. I still can not get the image blocks to work

 
jffry7

Joined: 2009-03-16
Posts: 1
Posted: Mon, 2009-03-16 01:08

anyone fix this issue? I am still seeing that same error message on my site. If I disable WPG2, widget loads fine. Thanks