Duplicate WPG2 Page link after upgrade

rpalmer68

Joined: 2008-05-13
Posts: 8
Posted: Tue, 2008-05-13 12:50

Hi,

A little while ago I upgraded my WPG2 to v3.0.2 and since then I've had two page links for WPG2 being shown, my original one (I renamed it Photos) and now another "WPG2" link.

When I go into wordpress admin to remove the duplicate page, only the "WPG2" one is there not my "Photos" page.

You can see it here www.thepalmers.com.au

I know I deactivated the plugin before upgrading, but maybe I did something wrong....

Is this fixable somehow?

Thanks
Richard

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Tue, 2008-05-13 16:55

Hmm. That's interesting. If you look at the links associated with the "Photos" and "WPG2" links at the top of your page, they both link to a page_id of 60. My bet is that this is why only one of them shows up under the admin menu.

I'd first try deactivating WPG2, then going back to "Manage Pages" to see if "Photos" shows up then. If it does, delete it, reactivate WPG2 and go from there. Assuming that works, you should be able to rename the page after reactivating the plugin.

If that doesn't work, the only way I know of is to do some surgery on your database using phpmyadmin. Do you have phpmyadmin access to your database? Let me know if it comes to that, and I'll do a run through on my sandbox blog and post the steps here.

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
rpalmer68

Joined: 2008-05-13
Posts: 8
Posted: Tue, 2008-05-13 21:11

Thanks Kirk,

I deactivated the plugin and then there are no pages shown under "Manage Pages"

I then activated the plugin again, and now both link to a page_id of 63.

Yes I do have phpmyadmin access to my DB.

Cheers
Richard

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Tue, 2008-05-13 21:37

Richard,

Just out of curiosity, before trying surgery, can you try changing WPG2 to Photos under "Manage Pages"? I'm wondering if that will fix it, or if you'll end up with two links at the top, both saying Photos.

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
rpalmer68

Joined: 2008-05-13
Posts: 8
Posted: Tue, 2008-05-13 21:44

Two "Photos" now :(

Good thought though.

Cheers
Richard

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Tue, 2008-05-13 21:58

Oh well. Here goes. First deactivate WPG2. Then, go to phpmyadmin and select your database in the pulldown on the left. The scroll down on the left and select the wp_posts table. Then select the search tab at the top of the right panel. Scroll down towards the bottom and type "page" (without quotes) in the box for post_type. This should bring up both entries. If that doesn't work, go back to that search page and try typing "photo" in the box for post_title. If you get the photo page entry to show up, hit the red "x" to delete it. Reactivate WPG2 and see if it's working.

If any of that doesn't work, please let me know and we can try something else.

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
rpalmer68

Joined: 2008-05-13
Posts: 8
Posted: Tue, 2008-05-13 22:16

OK, tried that.

Tried Pages, pages, page, photo, photos, Photos, WPG2.

All return no results.

The SQL query looks like this.

SELECT *
FROM `wp_posts`
WHERE `post_type` LIKE CONVERT( _utf8 'Photos'
USING latin1 )
COLLATE latin1_swedish_ci
LIMIT 0 , 30

Oh dear :)

Richard

 
rpalmer68

Joined: 2008-05-13
Posts: 8
Posted: Tue, 2008-05-13 22:19

If I Activate the plugin, then I get one result for "page" in the query... now ID 64.

If I browse the wp_posts table with the plugin activated, only one WPG page entry is there.

Cheers
Richard

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Tue, 2008-05-13 22:29

Hmm. Now I'm wondering about the theme. What code is creating the page links? (or at least what theme is it and I can go look.)

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2008-05-13 22:36

Did you mean WPG2 3.06 or 3.02??

In 3.06 I have only seen two pages created by the WPG2 plugin when the plugin was not successfully deactivated prior to reactivation. If you want you can turn on WPG2 debug logging to see exactly what WPG2 plugin is doing during deactivate / activate.

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

 
rpalmer68

Joined: 2008-05-13
Posts: 8
Posted: Tue, 2008-05-13 22:37

I'm using the vSlider 3.0 theme. http://irui.ac/

I see there is a 3.1 theme now, but this one was working fine until I did the upgrade of WPG2.

I can look at updating the theme today if you think it might help.

Richard

 
rpalmer68

Joined: 2008-05-13
Posts: 8
Posted: Tue, 2008-05-13 22:45

I'm running 3.02 as I don't want to upgrade to WP 2.5 so can't upgrade above 3.02 I believe.

Just read the following for the vSlider 3.1 update.
"Properly supports the new WPG2 plugin - no double entries on the page navigation anymore. "

Think I'd better upgrade to 3.1 and then see if the problem still exists, this update wasn't available when I did the upgrade....

Will report back once theme is updated.

Thanks for the assistance.

Richard

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Wed, 2008-05-14 00:27

Ahh cool... Not sure what WP version requirements Vslider needs and yes it is a serious pain to keep up with WP, unfortunately the tinymce changes just blew any possibility for backward compatibility out the window..

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

 
rpalmer68

Joined: 2008-05-13
Posts: 8
Posted: Wed, 2008-05-14 02:26

OK an upgrade to 3.1 vSlider themes fixed the problem.

Sorry to bother you both with this false alarm...... but thanks for all your help.

Regards
Richard

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Wed, 2008-05-14 02:31

No issue rather have something put up on my radar rather than have no notification at all..

Glad you got it all sorted out!!

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