Validation Error

slamp

Joined: 2006-04-05
Posts: 11
Posted: Wed, 2007-10-03 03:05

Possible Validation Problem with Gallery2 URL:http://www.domain.com/blog/gallery2/embed.php returned HTTP/1.1 400 Bad Request

I tried automatic path and it did not work. so i entered the paths manually. I get a Warning for URI to Gallery2 Ok? in the Validate screen.

Gallery is in /home/user/public_html/gallery2/ (I have a symlink /var/www/htdocs/gallery2 to this dir).
Wordpress is in /var/www/htdocs/blog/

Gallery2 URL PATH: http://www.jqfnet.com/gallery2/ (I also tried to set it to http://www.jqfnet.com/~user/gallery2/)
Gallery2 FILE PATH: /var/www/htdocs/gallery2/ (I also tried to set it to /home/user/public_html/gallery2/)

I cannot access my gallery through wgp2. I can access directly.

FYI this setup works fine in wpg2 2.1.3.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Wed, 2007-10-03 07:10

As it is just a warning the WPG2 will still validate and as long as your paths are right, should work fine..
____________________________________
Wordpress / Gallery2 (WPG2) Author

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Wed, 2007-10-03 08:40

I have the same problem here. The correct remark " Options not available until WPG2 Plugin is Validated " I cannot use one of the options

[img]http://www.almerecultuur.nl/gallery0.jpg[/img]

[img]http://www.almerecultuur.nl/gallery1.jpg[/img]

What I also find out that http://www.franslieshout.nl/gallery2/ and http://www.almerecultuur.nl/gallery2/ works fine and shows all the thumbnails but http://www.flfinancieel/gallery2. does not.

Can anyone help me out.

Can you use all the themes I am using Pedro Gilbert more than beautifull theme, but can that be a problem when you want to embed. ?

system info:

Gallery versie = 2.3-svn core 1.2.22 r17068
API = Core 7.38, Module 3.8, Theme 2.6, Embed 1.2
PHP versie = 5.2.1 apache2handler
Web server = Apache/2.2.3 (Ubuntu) PHP/5.2.1
Database = mysqli 5.0.38-Ubuntu_0ubuntu1-log, lock.system=flock
Toolkits = Getid3, LinkItemToolkit, Gd, ArchiveUpload, mplayer, NetPBM, ImageMagick, Dcraw, Ffmpeg, jpegtran, Thumbnail, SquareThumb, Exif
Versnelling = none, full/3600
Besturingssysteem = Linux flfinancieel 2.6.20-16-server #2 SMP Fri Aug 31 01:01:45 UTC 2007 i686
Standaard thema = x_treme
gettext = enabled
Talen = nl_NL
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
Rows in GalleryAccessMap table = 405
Rows in GalleryAccessSubscriberMap table = 7811
Rows in GalleryUser table = 25
Rows in GalleryItem table = 7765
Rows in GalleryAlbumItem table = 152
Rows in GalleryCacheMap table = 9

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-10-03 10:12

Slamp, after you enter the paths manually, does WPG2 validate and work, or not? (Please realize that your wp-gallery2.php page is gone in WPG2 v3.0. Your embedded gallery link will be http://www.jqfnet.com/blog/wpg2 unless you change the page slug per these directions.)

Frans, please read the "WPG2 Status" page in more detail. You do not have the G2 ImageBlock Module activated. This is listed in the requirements. Please go to Gallery2 -> Site Admin -> Plugins and install/activate the ImageBlock module.

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

 
slamp

Joined: 2006-04-05
Posts: 11
Posted: Wed, 2007-10-03 13:06

capt_kirk, no it doesn't work. that is why i'm posting here. when i try to access http://www.jqfnet.com/blog/wpg2, i get a 404 error saying it doesn't exist. when i restored wp-gallery2.php, i can see my gallery but when i click on any albums, i get 404 also. i;ve reverted back to 2.13 for now.

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-10-03 13:51
slamp wrote:
capt_kirk, no it doesn't work. that is why i'm posting here.

Slamp, I wasn't trying to be condescending, I just wasn't clear if you were getting the warning but it was working or if you were getting the warning and it wasn't working. I also wanted to make sure you knew about the new embedded page, since your "gallery" link at the top of the page is hard-coded to wp-gallery2.php.

Are you using a custom wpg2header.php or the simple header?

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

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Wed, 2007-10-03 14:09

capt_kirk

I am getting confused more and more, but most of the time thats good :-) > On one website I have the same php error now as well
after adjusting the path as suggested I now have the 404 message.

But due to you're remark about ImageBlock I once checked it again and it is activated but in side bar is not always show up. and when it shows up and I click it, the message permission denied appears ?

So there is something wrong there. I have never seen or noticed a problem here.

I will check the gallery forum about this because this happend after the last svn update.

If you have any suggestions pleas let me now

Frans

 
capt_kirk

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

Frans,

Not the WPG2 Sidebar Block, but the Gallery2 ImageBlock Module. You have to go to your Gallery2 main page, http://www.almerecultuur.nl/gallery2/, and then go to Site Admin -> Plugins and install/activate the ImageBlock module.

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

 
slamp

Joined: 2006-04-05
Posts: 11
Posted: Wed, 2007-10-03 23:09

capt_kirk, yes i knew of the new embedded page but for some reason i guess my wordpress is not interpreting the page slug wpg2. i am not using wpg2header.php, just the simple header. how else is wpg2 3.0 tied to wordpress other than creating a new page called wpg2? how else does wp know about this plugin? how does it know to show gallery2 when wpg2 is accessed?

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Thu, 2007-10-04 00:20

Slamp, it uses internal WordPress templates to redirect the embedded page to WPG2. If it's validated, it shouldn't fail (or every plugin that uses template redirects would fail, which are many). After you validate WPG2 v3.0, click on the "View Page" link that's right next to the big green "Valid". If that works, then your embedded page is working.

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

 
capt_kirk

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

Slamp,

Please try WPG2 3.0.2, and let me know if that changes anything or fixes it.

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

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Fri, 2007-10-12 08:15

I will do the coming weekend I let you know

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Mon, 2007-10-15 07:18

Oke people I have installed wpg 3.02

Nothing worked anymore I. I did not got any message but with or without the wordempressed theme. Nothing is working anymore. (the google plugin works perfect)

Also the rewrites gave more problems and I could not connect to the gallery site the normal way as well.

I deinstalled the plugin and removed everywhere the .htaccess and activate the rewrite in gallery again and everything is working again. Seems to me the same problem why I still not got embedded working with egroupware.

because I cannot get it working it is probaly something on my machines but what.

I stop with it,

Thanks for the help so far

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Mon, 2007-10-15 10:16

Frans,

Could you set up a temporary admin account on your WP for me to take a look at what it's doing? Sometimes it can be very hard to troubleshoot by asking 20 questions instead of just seeing it for yourself. If that is possible, please send me the username and password by PM.

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