WPG2 Validation Failure ~ Results in Blank WPG2 Settings Page

namespace
namespace's picture

Joined: 2008-01-29
Posts: 8
Posted: Fri, 2008-05-09 01:47

Well,

After rebuilding the whole site from the ground up, I'm stuck on one remaining step that would pretty much finish the rebuild process.

So here goes. New Wordpress setup, new gallery2 setup, both using the same database which is also new. Both Gallery2 and WPG2 reside in the same plugins directory of wp-content. Both function independently and correctly.

This brings us to the WPG2 plugin and the validation. After activating the plugin, clicking the WPG2 settings link at the top of the wordpress page brings me to the check list, of which the first two are green, and then fails. Clicking the WPG2 Paths link brings up the menu as it should where I proceed to fill out the information both manually and automatically getting the same result. It initially complains about the relative path to WPG2 until manually corrected, at least so I believe. once correct settings are saved, the webpage processes as if it were completing the task, but just goes blank until click the WPG2 Paths link again. Only then does it show a completed form of paths with no errors being reported. When I click the Main WPG2 link, it pulls up a blank page nothing else. All of the options are also complaining that the plugin isn't validated. I've checked that the imageblock, imageframe, and rewrite plugins are activated on the standalone gallery but I'm having no luck validating gallery2 to wordpress. What could I be missing...

MJL
TextureLove.com

Login or register to post comments
namespace
namespace's picture

Joined: 2008-01-29
Posts: 8
Posted: Fri, 2008-05-09 01:55

to add information that may be useful to help answer the paradox at hand:

After a brief that that it might have something to do with the database being locked, I changed the security to be file based. I got the same result as previously mentioned.

Gallery version = 2.2.4 core 1.2.0.6
PHP version = 4.4.8 cgi
Webserver = Apache/1.3.34 Ben-SSL/1.55
Database = mysqlt 4.0.27-standard-log, lock.system=flock
Toolkits = Exif, Getid3, LinkItemToolkit, NetPBM, Thumbnail, Gd, SquareThumb
Acceleration = none/0, full/900
Operating system = Linux infong 2.4 #1 SMP Wed Sep 26 00:19:50 CEST 2007 i686 GNU/Linux
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Rows in GalleryAccessMap table = 31
Rows in GalleryAccessSubscriberMap table = 373
Rows in GalleryUser table = 2
Rows in GalleryItem table = 371
Rows in GalleryAlbumItem table = 4
Rows in GalleryCacheMap table = 4

MJL
TextureLove.com

Login or register to post comments
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1022
Posted: Sat, 2008-05-10 02:18

Hiya,

Can I please ask you to install the BTEV event plug as per this topic

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

Login or register to post comments
namespace
namespace's picture

Joined: 2008-01-29
Posts: 8
Posted: Sun, 2008-05-11 14:47

Probably related , but after installing and activating the BTEV plugin, I am still without WPG2. But that's not the strange thing about this, because BTEV just returns a blank page with no events being reported. The events could still be being tracked, but I don't know enough about the backed of wordpress to determine that. If its any help, I'm using 1and1 as the host.

MJL
TextureLove.com

Login or register to post comments
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1022
Posted: Sun, 2008-05-11 22:27

Namespace,

Yeah you should be seeing a log from the BTEV Debug Dashboard.. In this forum up the top is a long thread regarding 1and1, you might want to have a look through that thread as it has a number of tips on dealing with the 1&1 less than standard hosting environment

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

Login or register to post comments
namespace
namespace's picture

Joined: 2008-01-29
Posts: 8
Posted: Mon, 2008-05-12 15:44

Well, I think I may know what's going on and believe its related to the .htaccess file. When setting up the php test environment, I copied the .htaccess file from my gallery2 and pasted into the directory I created for said test. When i tried to browse to that folder, I was denied access. After removing the code that pertains to Gallery2, I was able to browse to the test folder. the code in the file is as follows:

DirectoryIndex .htaccess
SetHandler Gallery_Security_Do_Not_Remove
Options None
<IfModule mod_rewrite.c>
RewriteEngine off
</IfModule>
Order allow,deny
Deny from all

when this code is removed, I had the access I needed. Can anyone explain the code itself and what I'd need to change to grant the necessary access to said gallery2

MJL
TextureLove.com

Login or register to post comments
namespace
namespace's picture

Joined: 2008-01-29
Posts: 8
Posted: Mon, 2008-05-12 20:27

Well to update thigns, I'm now using the Apache mod_rewrite instead of the php based version. However, that has had no impact on my given situation. the modrewrite is working correctly under apache

MJL
TextureLove.com

Login or register to post comments
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1022
Posted: Mon, 2008-05-12 22:34

namespace,

I suspect the code is designed to prevent access to the g2data directory which should always be located outside of Web root anyway so people cannot directly browse to it. Please REMOVE the code from the .htaccess as it is denying the required access to Gallery2.

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

Login or register to post comments