Javascript errors on Gallery2 image chooser page

Scromple

Joined: 2006-05-06
Posts: 3
Posted: Wed, 2009-09-09 02:47

Greets everyone...

Am having problems with the Gallery2 Image Chooser page that comes up to select an image to insert into a blog post. Hasn't worked at all so far. All I get is javascript errors when clicking on the INSERT button.

The steps being performed are as follows:

  • Log into the Wordpress admin area and go to POSTS | ADD NEW
  • Type some text into the post and position the cursor where I wan to insert a picture.
  • Click on the G2 button to bring up the Gallery2 Image Chooser page
  • Browse my Gallery folders to locate an image
  • Select an image and click the Insert button

    ** Receive error

    Quote:
    An error has occurred in the script on this page.

    Line: 149
    Char: 2
    Error: 'g2ic_form.value' is null or not an object
    Code: 0
    URL: http://_MY_SITE_/wordpress/wp-content/plugins/wpg2/g2image/jscripts/functions.js

    Do you want to continue running scripts on this page?

  • Select yes to continue running scripts

    ** Receive error

    Quote:
    An error has occurred on this page.

    Line: 149
    Char: 1
    Error: Object doesn't support this property or method
    Code: 0
    URL: http://_MY_SITE_/wordpress/wp-content/plugins/wpg2/g2image/g2image.php?g2ic_tinymce=1&ver=3241-1141

    Do you wan to continue running scripts on this page?

I have had a bit of a search around trying to find a solution, pretty much everything I had come across though is a bit different and all the solutions I tried have not worked.

If anyone has any ideas would be fantastic. I don't know squat about javascript and am a bit of a noob on php

Info on the Gallery and Wordpress configuration:

Quote:
Gallery
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
Webserver = Apache/1.3.41 (Unix) PHP/5.2.9
Database = mysqlt 5.0.27-log

Wordpress
WordPress 2.8.4
WPG2 3.0.7

Other
IE 8 (Am looking to change to Opera 10 though)
vSlider 3 themes installed in both Gallery2 and Wordpress

If I have not given enough or the correct information about the problem let me know and will add what's needed

Thanks in advance
S