'nw' is null or not an object

Mose

Joined: 2004-01-07
Posts: 7
Posted: Mon, 2004-02-16 17:45

I've had gallery installed for over a month without any problems, until today that is. I haven't updated any new pictures in probably about a week, but as of the last upload things were fine. I went to add some photos today and for some reason received this error message:

Line: 143
Char: 3
Error: 'nw' is null or not an object
Code: 0

I receive this error message when I try to select any option from any of the drop down menus... Anyone have any ideas?

Mose

----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL: http://www.themoseys.com/gallery/
Gallery version: 1.41
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2004-02-16 17:51

Mose, things like that usually doesn't appear by themselves ... :)

Especially a javascript error like that, could you try upgrading to 1.4.2 ?

 
Mose

Joined: 2004-01-07
Posts: 7
Posted: Mon, 2004-02-16 17:57

That's what seems strange to me... I haven't touched the website in about a week and now all of the sudden this has happened... Strange stuff!

I'll try the update now.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2004-02-16 18:12

Mose, great! let us know. :)

 
Mose

Joined: 2004-01-07
Posts: 7
Posted: Mon, 2004-02-16 19:23

I installed the latest version of gallery into a new directory on my server and am still receiving the same error message. The only similarity I can find between the two folders is that I am using the same albums folder and I copied my netpbm folder from the old version of gallery to the new.

 
Mose

Joined: 2004-01-07
Posts: 7
Posted: Mon, 2004-02-16 19:50

Hummm... I just went and tried everything on my neighbors computer and it worked fine... obviously there seems to be some sort of problem with my Internet Exploer... anyone have any ideas?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2004-02-16 19:58

Mose, pop-up killer? Javascript disabled? (the error is javascript related)

 
Mose

Joined: 2004-01-07
Posts: 7
Posted: Mon, 2004-02-16 20:24

I did just install a pop-up killer... I'll delete that and see if it helps. For now I've resorted to updating everything via Opera

 
Mose

Joined: 2004-01-07
Posts: 7
Posted: Mon, 2004-02-16 20:38

That fixed it... Thanks for your help!

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2004-02-16 21:43

Mose, no problem. :) (btw, the Google toolbar is "Gallery friendly" if you set it to allow popups from your site. :) )

 
jgentes

Joined: 2004-03-09
Posts: 2
Posted: Tue, 2006-11-21 15:40

BTW, I know this post is years old, but I just fixed this by updating my theme.tpl file in the Gallery theme directory to match the script information that I had placed in my Wordpress header file. I basically added Lightbox to my Wordpress page (included in the header file), and to also ensure it works when someone goes to the photo gallery, I had to update the theme.tpl file with the same content (but using http://location rather than a php call to get the location of the /js/scripts.)