Validation Error
werelax
Joined: 2007-09-24
Posts: 12 |
Posted: Tue, 2007-09-25 05:02 |
System status Gallery version : 2.2.2 Wordpress Compatible? Success Error message: I have set the path manually to the correct directories, Same error I was able to install gallery two and the older version of wpg2 2.13 and get it to work. it is not embeding it in my pages and I can not get it to work with FCKeditor. What is the next step to check to get 3.0 to work? Tried reinstalling 3.0 and it still did not work. |
|
Posts: 1378
*sighs* Looks like I have to refine that check to only fail on 404 errors.. It be a day or two until I can alter the code to only check for 404 errors..
Sorry..
____________________________________
Wordpress / Gallery2 (WPG2) Author
Posts: 492
You have to copy the g2image directory to the FCKEditor plugins directory: wp-content/plugins/fckeditor-for-wordpress-plugin/fckeditor/editor/plugins (Copy, not move. WPG2 still needs a copy in its directory.) And then edit the FCKEditor config file as documented here: http://g2image.steffensenfamily.com/index.php?title=FCKEditor
Since FCKEditor is not the official WordPress editor, there are no hooks to do this automatically like there are for TinyMCE and the code editor.
Posts: 12
Hi, well I'm glad the 3.0 problem was not just a stupid oversight on my part. Sorry it is going to cause you some more work.
I am having a problem getting the fckeditor to work with gallery2 and wpg2 2.13
I made the changes in http://g2image.steffensenfamily.com/index.php?title=FCKEditor
as you suggested
Here they are: I bolded the changes
when I attempt to use the flckeditor I get a not found file error
/public_html/wp-content/plugins/fckeditor_for_wordpress/fckeditor/editor/plugins/g2image/fckplugin.js
I the file did not exist in the wpg2 2.13 plugin I downloaded from here http://downloads.wordpress.org/plugin/wpg2.2.13.zip
I tried copying fckplugin.js from the verision wpg2 3.0 download into the subdirectory. It seemed to work there is an unknown toolbar item "undefined" error, but the G2 button shows up in the tool bar, the pop window comes up and everything is there and I can navigate the ablums but clicking on the thumb nail or the the insert button in advanced setting does not insert the image into the post.
I left the wpg2 setup options in the sub memus in the default
Any thoughts?
I appreciate the help,
Posts: 492
Make sure you do a refresh on the "Write Posts" page. This will force the javascript to reload.
I have not used 2.1.3 with FCKEditor, so I don't know for sure if it will work. Other people have definitely gotten it to work with 2.0, and it definitely works with 3.0, but 2.1.x had some kludges so that we could get it out the door. I'm not sure if those kludges will keep it from working with FCKEditor.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 12
Any progress? I would like to get it all working the gallery works fine standalone
Posts: 492
It's been done for a while. It's in the final WPG2 3.0 release.
Please confirm that it works for you.
Thanks,
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 12
Well it is not failing on 404 errors now it is failing on 406 errors
Trying to insert a picture in a post error message is
Fatal Gallery2 Error: Cannot activate the Gallery2 Embedded functions.
For WordPress users, Validate WPG2 in the Options Admin panel.
For other platforms, please verify your Gallery2 path in config.php.
the validation check is provides the following error:
Warning: Possible invalid URL to Gallery2
Possible Validation Problem of Gallery2 URL http://www.we-relax.com/gallery/embed.php returned HTTP/1.1 406 Not Acceptable
Well then I thought maybe it was because I did not have the latest gallery2 installed. I installed the latest version 2.2.3, what a process. Had to permission problems several interactions with hosting service, trying the lib/support tools, then ftp then cache problems finally got it working.
Still the same embed.php error 406 not acceptable
I am still trying, any more suggestions
Posts: 492
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
Posts: 12
Sorry same problem
Fatal Gallery2 Error: Cannot activate the Gallery2 Embedded functions.
For WordPress users, Validate WPG2 in the Options Admin panel.
For other platforms, please verify your Gallery2 path in config.php.
Warning: Possible invalid URL to Gallery2
Possible Validation Problem of Gallery2 URL. The error returned reads: "http://www.we-relax.com/gallery/embed.php returned HTTP/1.1 406 Not Acceptable"
by the way - I do not think this is a problem but, re-reading the readme.txt files included I noticed "If you are upgrading from WPG2 version 2.0, delete all of the files in the wp-includes/js/tinymce/plugins/g2image/ directory." when I checked wp-includes/js/tinymce/plugins/ there was no g2image directory, I am using FCKeditor
Posts: 492
What does it say when you click on the WPG2 tab and WPG2 Paths tab in the WP admin panel?
Also, just to be clear, you deleted the old G2Image files in your FCKEditor plugins directory and copied the g2image/ directory there from the wpg2/ directory, when you upgraded, right?
EDIT: Also, trying to get to the root of the 406 problem, check out this post, this post, and this post.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 12
Ahhhh.... Ummmm..... hummmmmmm welllllll no.
When I did it got rid of the 406 problem, but still have a problem.
The paths look ok to me
http://www.we-relax.com/gallery/
URL to WPG2 Output: http://www.we-relax.com/gallery/main.php
http://www.we-relax.com/gallery/
http://www.we-relax.com/gallery/
clicking on the icon in fckeditor brings up the popup window I can select a gallery subdirectory/album check a picture and it inserts it but this is what is inserted,
<p><wpg2>338</wpg2></p>
this http://www.we-relax.com/gallery/main.php?g2_itemId=338 is the path to the picture in the gallery
So I am still at a lost, futher down the trail but lost
Posts: 12
Ahhhh.... Ummmm..... hummmmmmm welllllll no.
When I did it got rid of the 406 problem, but still have a problem.
The paths look ok to me
http://www.we-relax.com/gallery/
URL to WPG2 Output: http://www.we-relax.com/gallery/main.php
http://www.we-relax.com/gallery/
http://www.we-relax.com/gallery/
clicking on the icon in fckeditor brings up the popup window I can select a gallery subdirectory/album check a picture and it inserts it but this is what is inserted,
<p><wpg2>338</wpg2></p>
this http://www.we-relax.com/gallery/main.php?g2_itemId=338 is the path to the picture in the gallery
So I am still at a lost, futher down the trail but lost
Posts: 492
It's doing what it's supposed to do. Those are wpg2 tags. WPG2 will translate them into the image in the post. The 338 is the Gallery2 itemId from the URL for the image.
That's because you have "WPG2 Tag of Image" selected in "How to Insert Image:"
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website