ZenphotoCMS Forum
null or not an object errors.. - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: null or not an object errors.. (/thread-1902.html)



null or not an object errors.. - bxh - 2007-12-06

I just installed zenphoto and seeing some "is null or not an object" errors on the following 2 pages?

  1. When on the following page I am getting the following error:

Line: 585
Char: 5
Error: 'tagName' is null or not an object
Code: 0
URL: ....../zp-core/admin.php?page=edit&album=XXXXXX

  1. When on the following page in "admin" mode I am getting the following error:

Line: 26
Char: 3
Error: 'undefined' is null or not an object
Code: 0
URL: ....../index.php?album=XXXXXX&image=XXXXXX.jpg

Thanks in advance for any help!




null or not an object errors.. - sbillard - 2007-12-06

It would help a bit if you told us what files these errors were occuring in. This should be reported in the error message.




null or not an object errors.. - bxh - 2007-12-06

... ?

These are the error messages...

  1. When on the following page I am getting the following error:

Line: 585
Char: 5
Error: 'tagName' is null or not an object
Code: 0
URL: ....../zp-core/admin.php?page=edit&album=XXXXXX

  1. When on the following page in "admin" mode I am getting the following error:

Line: 26
Char: 3
Error: 'undefined' is null or not an object
Code: 0
URL: ....../index.php?album=XXXXXX&image=XXXXXX.jpg




null or not an object errors.. - sbillard - 2007-12-06

Please quote the error messages EXACTLY and in their ENTIREITY. You have not given us enough information to have a clue about what is happening. It is not possible, at least for me, to envision what you mean when you say "when on the following page...". Following what????

While you are at it, what version of zenphoto did you install and what theme are you using?




null or not an object errors.. - bxh - 2007-12-06

I am using zenphoto 1.1.2 default theme

The error is on the lower left hand corner of the browser window that says "Done, but with errors on page"

  1. When on the this page (URL) of my site (....../zp-core/admin.php?page=edit&album=XXXXXX) and I click on the link that says "Done, but with errors on page" it shows the following error:

Line: 585
Char: 5
Error: 'tagName' is null or not an object
Code: 0
URL: ....../zp-core/admin.php?page=edit&album=XXXXXX

  1. When on this page (URL) of my site (....../index.php?album=XXXXXX&image=XXXXXX.jpg) in "admin" mode and I click on the link that says "Done, but with errors on page" it shows the following error:

Line: 26
Char: 3
Error: 'undefined' is null or not an object
Code: 0
URL: ....../index.php?album=XXXXXX&image=XXXXXX.jpg

Please see this post at the following URL, it's the same basic problem, except I need an answer..
http://www.zenphoto.org/support/topic.php?id=472&replies=3




null or not an object errors.. - sbillard - 2007-12-06

That post describes a problem with IE6. What browser are you using? Have you tried FireFox? Does your site work when you are not logged in?

Have you looked to see if there are any CGI errors being reported?

Since you refuse to give your full URL, we can't look and see so you will have to be content with trying things and responding to posts.




null or not an object errors.. - bxh - 2007-12-06

I am using the latest version of IE7 .. Is zenphoto not compatible with IE? The site works fine when I am logged in and when I am not logged in, it's just giving the "Done, but with errors on page" error? No CGI errors are being reported.




null or not an object errors.. - sbillard - 2007-12-06

ZP is compatible with IE7. However, IE is sometimes problematical. If the site is working, then I would just ignore the error. Or you can try FireFox.




null or not an object errors.. - bxh - 2007-12-07

The error seems to have something to do with the tags? Is there a way to disable the tags or remove them just to see if my theory is right?

I only get the error when I am logged in as the administrator and I am on 1 of the following pages (URLs)..

.../pix/zp-core/admin.php?page=edit&album=XXXXXX

Or this page (URL) but only when I click on "Click to add tags..."

.../pix/index.php?album=XXXXXX

Let me know how to disable tags or what line of code need to be removed from what file?




null or not an object errors.. - sbillard - 2007-12-07

The error also only happend in IE. So, for administration, use FireFox for now. I think the error is caused by some js code, but I am not sure yet. I also don't think it is a real error since everything seems to be correct.