Page 2 of 6

Posted: Wed Apr 08, 2009 5:15 pm
by newvisionantenna
Coke,

I did find that solution for using unzip, but I stopped at that point. I wasn't sure if things would work correct and I was trying to get my DVD out. Ahagadorn has been very helpful and has checked out my newest DVD build. If it works out I'll include this system along with ZMviewer for people to choose whichever one they want to use. Hopefully you get your install up and running also.

Posted: Thu Apr 09, 2009 1:18 am
by ahagadorn
Coke,

I uploaded a new distribution with a fix for your issue. The version, etc is the same on SourceForge, but the files are new. You only need to replace the server side files.

Please let me know if it fixes the problem. Note that the fix for the NullPointer message is not included, and as I said earlier, that particular message can be ignored. It takes a lot more effort to build a new client release than it does to build the server code, and I wanted to get you up and running. The fix for the null pointer message will be in the next full release.

Andy

Posted: Thu Apr 09, 2009 3:22 pm
by coke
Prior to your update, at some point I changed the URL in the GUI from http://127.0.0.1 to http://127.0.0.1/index.php at which point I couldn't get past the login screen. Possibly due to the error:

Code: Select all

[Fatal Error] :1:63: White spaces are required between publicId and systemId.
Can't seem to locate the configuration file that ended up saved in.

Ok, I tried your update. You should move the -1 to before the .tar, as it confuses the archiver. (Not hard to resolve on this end.) Installed, I'm still stick at the error I mentioned above. May or may not have fixed my original error, but I need to find out how to change that address back. I grep'd for it in the jzmc directory, no cigar.

By the way, during sever downtime yesterday, I was going to give you my camera list. One includes a number, and a few include an underscore.

1. giftshop1
2. giftshop2
3. giftshop3
4. frontdesk
5. breakroom
6. skateless
7. spiral
8. lot
10. parking_old
11. se_garage
12. ne_garage
14. skateless2

Posted: Thu Apr 09, 2009 4:15 pm
by newvisionantenna
I must be missing something really simple here. I looked on my server and it appears both JAVA requirements are there. I can type jzmconsole at the command prompt and get the next JAVA box that pops up and asks for server url and directory. That's about as far as I got.

I'm pretty sure my config file is jacked. I put the server files into /var/www/zm/jzmc/ and set the config file like this,

// Set these constants to reflect your system
define(JAVA_HOME,'/usr/lib/jvm/java-6-sun-6.0.13');
define(JMF_JAR,'/usr/local/JMF-2.1.1e/lib/jmf.jar');
define(JZMC_DIR,'jzmc'); //
define(ZM_HOME,'/var/www/zm');//
define(ZM_EVENT_DIR,'events');
// End user defined constants

// Include the standard ZM config
include(ZM_HOME . "/zm_config.php");

What is this zm_config.php file? I don't see that anywhere. Are the files suppose to be exposed in the webserver? I guess what I mean is if I type http://serverip/zm/jzmc/somefile.php it has a bunch of errors. Pretty sure I'm going about this wrong but I thought I was close when I got the login window to pop up.

Posted: Thu Apr 09, 2009 5:21 pm
by coke
Not sure where your problem is, but zm_config.php is in your zm www root directory. In my case, /var/www

Posted: Thu Apr 09, 2009 5:25 pm
by newvisionantenna
Ok, that's really confusing then. My install direcotry is /var/www/zm and I do not see a zm_config.php, I even did locate zm_config.php and I find no such mention. I do have the index.php in the /var/www/zm direcory.

Posted: Thu Apr 09, 2009 5:57 pm
by coke
Well, I'm running 1.23.whatever'slatest, so maybe they moved it, but mine's in the zm root directory, and it looks like Phil made it, not the java viewer.

Code: Select all

//
// ZoneMinder web configuration file, $Date: 2007-08-29 19:11:09 +0100 (Wed, 29 Aug 2007) $, $Revision: 2175 $
// Copyright (C) 2003, 2004, 2005, 2006  Philip Coombes

Fixed on my machine

Posted: Thu Apr 09, 2009 9:27 pm
by coke
Ok, the problem I had after changing the URL I fixed by changing back the url, after locating the preferences file in

Code: Select all

~/.java/.userPrefs/net/securitykit/jzmconsole
Now it works, it cycles, and it's getting a decent framerate (on the server itself, haven't tried it outside yet.) Will hit my nearest windows box when I have time.

Good job. :)

Edit:
What's up with the doorbell taking over my sound card? You could lose that feature, and I'd be much happier.

Posted: Fri Apr 10, 2009 7:41 pm
by ahagadorn
On the toolbar, click Options->Setup->Sounds and uncheck the "New Events" box.

Andy

Posted: Fri Apr 10, 2009 7:46 pm
by newvisionantenna
Has anyone tried this on 1.24? I got it to the point where the program was starting but I'm thinking the config file was jacked and the file it's looking for is no where in 1.24. I would like to add it for all but if it's only working on 1.23 then I guess I'm out of luck.

Posted: Fri Apr 10, 2009 11:47 pm
by ahagadorn
I developed it on 1.24.1...

Andy

Posted: Sat Apr 11, 2009 6:32 am
by newvisionantenna
Then why is the default config file looking for something called zm_config.php? Am I missing something here, I see no such file. I'm pretty confident I can install it now but when it comes to setting up the config file I think that's where I"m hung up.

Posted: Tue Apr 14, 2009 9:17 pm
by ahagadorn
zm_config.php is part of the Zoneminder distribution, not part of jZMConsole. If it is missing, Zoneminder itself shouldn't be working either.

Andy

Posted: Wed Apr 15, 2009 9:36 am
by punk_ecas
Congratulations for this huge step!

About the source, when do you intend to publish it? I curious to take a look inside your app.

Thanks!

Ricardo

Posted: Wed Apr 15, 2009 10:02 am
by newvisionantenna
Zoneminder works just fine yet there is no zm_config.php. If your using it on 1.24.1 then where is it located at on your install? I see only one other person having it working and they have 1.23. When I search google there is mention of this file in older Zoneminder installs. On 1.24 is it still called the same or maybe something different?

Is there anyone else besides the one person using 1.23 actually using this program? I can get the client to start up on Linux but that's about as far as I got.