Ubuntu upgrade caused failure

bforsse

Joined: 2008-02-26
Posts: 13
Posted: Wed, 2009-07-15 01:24

Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.2.4-2ubuntu5 apache2handler
Webserver = Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5 with Suhosin-Patch
Database = mysqli 5.0.51a-3ubuntu5, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd, Ffmpeg, ImageMagick, Thumbnail
Acceleration = none, none
Operating system = Linux supernerd 2.6.22-14-server #1 SMP Sun Oct 14 23:34:23 GMT 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11
Rows in GalleryAccessMap table = 298
Rows in GalleryAccessSubscriberMap table = 7150
Rows in GalleryUser table = 19
Rows in GalleryItem table = 7147
Rows in GalleryAlbumItem table = 209
Rows in GalleryCacheMap table = 0

www.bforsse.org

Hi, my system was updated to the latest Ubuntu 8.04 for various reasons from Ubuntu 7.10. WP2G stopped working due to that update.

In an attempt to fix the issue, I activated the newer WP2G update 3.07. That didn't work, so I reverted to 3.02

Now from what I can see the embedded gallery points to WPG2 with a page ID of 83 (or http://www.bforsse.org/?page_id=83). Previously the gallery page was http://www.bforsse.org/?page_id=4, which seems to have been re-labeled as page_id=82 and doesn't invoke the embedded gallery.

Also, the embedded gallery page comes up blank (http://www.bforsse.org/?page_id=83), even though the gallery is still working fine (http://www.bforsse.org/gallery2/main.php)

My questions are:

1. How would I point the embedded gallery page back to page_id=4?

2. How can I get the embedded gallery page back to normal?

Thanks,
-Brian

 
bforsse

Joined: 2008-02-26
Posts: 13
Posted: Thu, 2009-07-16 02:46

After restarting the server mysql is now eating up the CPU and spawning infinite apache processes. The httpd log shows a number of errors that mention "GET ?page_id=4", I will post the full error message later this evening.

Update: the continuous error message looks like this:

XXX.XXX.XXX.XXX - - [15/Jul/2009:19:44:09 -0700] "GET /?page_id=4&g2_view=rss.Render&g2_name=Bforsse.org+Gallery+Comments HTTP/1.0" 200 8890 "-" "WordPress/2.3.3"

 
bforsse

Joined: 2008-02-26
Posts: 13
Posted: Thu, 2009-07-16 15:54

I restored from an older SQL backup and that appears to have fixed the ?page_id=4 problems and the runaway process problems.

Now my issue comes back to the plugin itself not working due to the Ubuntu upgrade. All I get on the http://www.bforsse.org/?page_id=4 page is the title and a link to Site Admin. Is this a common problem with a distribution upgrade or a PHP upgrade?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-07-16 18:47

Stand alone seems to work fine:
http://www.bforsse.org/gallery2/main.php?g2_page=4

So I guess it has to do with WPG2 ( do you have?) or the url rewrite.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bforsse

Joined: 2008-02-26
Posts: 13
Posted: Thu, 2009-07-16 20:06

Yes, the Gallery2 install is working fine, and the WPG2 install was working without any problems for years until the Ubuntu update.

Thanks,
-Brian

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-07-16 22:42

Sorry I don't know.
What I can see is you have a post:
http://www.bforsse.org/?p=75
and click the car photo and I am taken to:
http://www.bforsse.org/?page_id=4&g2_itemId=56896

it appears to work so don't know what to say.
no clue on what you got setup for url rewite and don't know where this ?page_id=4 is coming from.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bforsse

Joined: 2008-02-26
Posts: 13
Posted: Thu, 2009-07-16 22:56

I am not using rewrite, its set to the default ?p=123 scheme.

I guess I left a few details out, the previously working gallery site was fully integrated/embedded into the wordpress template at http://www.bforsse.org/?page_id=4 , now it's a mostly blank page.

The post insertion and standalone Gallery2 install are working, but the embedded functionality is broken. I had to point my gallery links to the standalone http://www.bforsse.org/gallery2 site as a temporary fix.

Any ideas?

Thanks,
-Brian

 
bforsse

Joined: 2008-02-26
Posts: 13
Posted: Wed, 2009-07-22 21:52

Interestingly the "site admin" section in gallery displays properly inside a wordpress template, but the main gallery page does not.

Do you have any ideas about why WP2G would not be inserting gallery properly into the wordpress page template? What is the difference between the insertion method on the Gallery Admin page vs the Gallery front page?

Also, changing to "WPG2 Output via Standalone Gallery2 Page" works fine.

Thanks,
-Brian