WPG2 admin = blank pages

noworyz

Joined: 2007-05-10
Posts: 24
Posted: Wed, 2007-10-10 17:24

I was using 3.0 and it seemed to be working fine but I upgraded to 3.0.1 anyways and after the upgrade, while trying to go to the WPG2 admin pages, it was just a blank page. If I clicked the WPG2 paths link to validate, the page came up but said it wasn't valid. So I entered in my gallery URL and then clicked validate, which then took me to a blank page again. If I click the WPG2 paths link to go to the validate page again, it still says it is invalid.

The main WPG2 admin page is blank and nothing I do can fix it. I even put back the 3.0 version and the same result happens now.

Any ideas?

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-10-10 17:36

Hmm. If it worked in 3.0, it should work in 3.0.1, all we did was add a check for the wrong version of the G2 ImageBlock module on that page.

Did you deactivate and reactivate the plugin?

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

 
noworyz

Joined: 2007-05-10
Posts: 24
Posted: Wed, 2007-10-10 17:38

I did deactiate the plugin!

here is the error that shows up in my log files

Quote:
PHP Fatal error: Class 'GalleryCoreApi' not found in /var/www/vhosts/bigskyfans.com/httpdocs/wp-content/plugins/wpg2/wpg2validate.inc on line 147, referer: http://www.bigskyfans.com/wp-admin/

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-10-10 17:48

Were you using the final 3.0, or one of the pre-release beta/release-candidate builds?

It sounds like the same problem some others are having, but it wouldn't be the same, if you were using the final 3.0 build.

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

 
noworyz

Joined: 2007-05-10
Posts: 24
Posted: Wed, 2007-10-10 19:24

I was using the final 3.0 build

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-10-10 19:39

Unfortunately, this is one of those frustrating errors that I cannot reproduce on my machine. So, let's try a couple of things.

If you can edit files, please change line 146 of wpg2/wpg2validate.inc from

if (!(defined('G2IMAGEBLOCKERR'))) {

to

if (!$validate_err&&!(defined('G2IMAGEBLOCKERR'))) {

and see if that at least lets the validation script go to completion.

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

 
noworyz

Joined: 2007-05-10
Posts: 24
Posted: Wed, 2007-10-10 19:51

that fixed the issue with blank pages but it won't validate my Gallery URL, when I paste it in and click validate, the just removed the address from the box and says the same stuff.

attached are screen shots

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-10-10 19:59

Thanks. Well, at least we figured out the blank page...

Could you try entering the path information on the manual paths part of the WPG2 Paths tab? If that doesn't work, could you paste a screenshot of what you get there? I'd like to try to get you working in manual mode and then try to figure out why auto is failing.

(Ozgreg's on his honeymoon, so it's just me right now. This is one of those errors that it really helps to have two people who know their way around the code to bounce ideas off of each other. So, please bear with me as I try to figure this one out...)

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

 
noworyz

Joined: 2007-05-10
Posts: 24
Posted: Wed, 2007-10-10 20:05

when I entered the paths manually everything works great!

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-10-10 20:14

Thanks. Glad it's working.

Now if you go to the WPG2 tab, does it auto-validate correctly?

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

 
noworyz

Joined: 2007-05-10
Posts: 24
Posted: Wed, 2007-10-10 20:48

i went to the tab but I don't see the auto validation. screen shot attached.

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-10-10 21:04

Thanks. That is the autovalidation. I'll put out a WPG2 3.0.2 tonight or tomorrow, based on the one bug above and another I found while digging through the code.

Thanks again for the feedback and working with me to troubleshoot.

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

 
noworyz

Joined: 2007-05-10
Posts: 24
Posted: Wed, 2007-10-10 21:12

no problem! Thanks for getting this fixed!

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Thu, 2007-10-11 13:58

Noworyz,

Could you please try WPG2 3.0.2, and let me know if that works "out of the box".

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

 
noworyz

Joined: 2007-05-10
Posts: 24
Posted: Thu, 2007-10-11 18:49

just installed 3.0.2 and it works just fine out of the box! Thanks for the work on that!

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Thu, 2007-10-11 18:56

Thanks for the feedback. Glad it's working.

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