1.20.1 pre-release available for testing
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
1.20.1 pre-release available for testing
I have put a pre-release 1.20.1 up in the usual place (just change the version from one of the other downloads).
I wonder if anyone who is having problems could check whether this addresses them or not. Also may you RPMers out there might want to just make sure you can build with this version.
This is not the final 1.20.1 and I do not recommend you install it unless checking one of the issues above.
These are the current fixes in 1.20.1
Removed dependency on RegExp in zm_config.cpp.
Added ZM_RAND_STREAM option, this adds a time code onto each stream to prevent it from being cached. I think this may have affected perceptions of whether some streams were working.
Made zms check OPT_AUTH before loading user details. This should fix the issue where streams did not work with authentication off.
Removed debug output to temp file in zm_xhtml.php.
Fixed user sql, added debug and wrapped in check for libcrypto in zm_user.cpp. This should correct bogus loading of user data which may have affected some people. You can also now just bump up the debug level to see what the auth strings being used are.
Allowed no .conf file to be present in zmupdate.pl. Ignore this, not working.
xhtml console now uses mobile group as it should.
Modified Username to be binary. You need to run the zmalter sql to change your Users table to disallow case-inseitive checking which may have been breaking some peoples streams.
Phil
I wonder if anyone who is having problems could check whether this addresses them or not. Also may you RPMers out there might want to just make sure you can build with this version.
This is not the final 1.20.1 and I do not recommend you install it unless checking one of the issues above.
These are the current fixes in 1.20.1
Removed dependency on RegExp in zm_config.cpp.
Added ZM_RAND_STREAM option, this adds a time code onto each stream to prevent it from being cached. I think this may have affected perceptions of whether some streams were working.
Made zms check OPT_AUTH before loading user details. This should fix the issue where streams did not work with authentication off.
Removed debug output to temp file in zm_xhtml.php.
Fixed user sql, added debug and wrapped in check for libcrypto in zm_user.cpp. This should correct bogus loading of user data which may have affected some people. You can also now just bump up the debug level to see what the auth strings being used are.
Allowed no .conf file to be present in zmupdate.pl. Ignore this, not working.
xhtml console now uses mobile group as it should.
Modified Username to be binary. You need to run the zmalter sql to change your Users table to disallow case-inseitive checking which may have been breaking some peoples streams.
Phil
Hi Phil,
I'll test it right away if I can find it. Not here:
http://www.zoneminder.com/fileadmin/dow ... 0.1.tar.gz
I'l try a few variations.
Ross
I'll test it right away if I can find it. Not here:
http://www.zoneminder.com/fileadmin/dow ... 0.1.tar.gz
I'l try a few variations.
Ross
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
This is the only issue I have not been able to pin down. Other than checking the case is correct.
It's a bit of a long shot but perhaps you could edit zm.php and change the line
to
I doubt it will make any difference but it possibly could. I'll try and get you something to debug the logins as well.
Phil
It's a bit of a long shot but perhaps you could edit zm.php and change the line
Code: Select all
import_request_variables( "GPC" );
Code: Select all
import_request_variables( "GPCS" );
Phil
- securiteaze
- Posts: 25
- Joined: Wed Jun 16, 2004 5:38 pm
Works Great
Great work Phil!
All streams are visible and I have yet to find any odd behaviour.
No more unusual log entries either.
Gentoo linux-2.6.9
mysql-4.0.22
apache-2.0.52
mod_php-4.3.10
php-4.3.10
All streams are visible and I have yet to find any odd behaviour.
No more unusual log entries either.
Gentoo linux-2.6.9
mysql-4.0.22
apache-2.0.52
mod_php-4.3.10
php-4.3.10
A suggestion...
Not to sound promiscuous, but in my experience in large PHP projects I've noticed that using import_request_variables over directly reading the $_REQUEST variable leaves you more open to 'oddness' occurring in your http post and get variables.
I know orginaly coming from a perl background when first I started using PHP I relied on the import_request_variables function as well. Then when I found out about the $_REQUEST variable, it made my life much much easier. Just in the fact of being able to call a foreach on all request variables to trim the input makes it invaluable in my mind.
But I guess it all boils down to personal preference.
Anyways great project you got going here, I'm really looking forward to seeing better time searching functionaly as I would like to setup a 50+ camera system, but can't justify using zoneminder without more "stupid" freindly searching for the end users... But now I'm getting off topic. Cheers Mate!
P.S. I have not been able to try this patch yet, but I like everyone else was unable to try the new version yet.
I know orginaly coming from a perl background when first I started using PHP I relied on the import_request_variables function as well. Then when I found out about the $_REQUEST variable, it made my life much much easier. Just in the fact of being able to call a foreach on all request variables to trim the input makes it invaluable in my mind.
But I guess it all boils down to personal preference.
Anyways great project you got going here, I'm really looking forward to seeing better time searching functionaly as I would like to setup a 50+ camera system, but can't justify using zoneminder without more "stupid" freindly searching for the end users... But now I'm getting off topic. Cheers Mate!
P.S. I have not been able to try this patch yet, but I like everyone else was unable to try the new version yet.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Yes. I plan to phase out the import_request_variables when I can. When I started _REQUEST wasn't very widespread so I'd have had to have handcrafted one for older versions of PHP and when you include references in there it got a bit ugly.
Nowadays, it's rather simpler so I'll try and do it sooner rather than later.
Phil
Nowadays, it's rather simpler so I'll try and do it sooner rather than later.
Phil
I try make rpm package - it is Ok.
As for Ross I have no such problem.
P.S.
$ wget http://www.zonemi....../zm-1.20.0.tar.gz
$ wget http://www.zonemi....../zm-1.20.1.tar.gz
$ tar zxf zm-1.20.0.tar.gz
$ tar zxf zm-1.20.1.tar.gz
$ diff -U 3 -N -r zm-1.20.0 zm-1.20.1 | grep '+++'
+++ zm-1.20.1/aclocal.m4 2005-01-27 10:59:29.000000000 +0300
+++ zm-1.20.1/configure 2005-01-27 10:59:35.000000000 +0300
+++ zm-1.20.1/configure.in 2005-01-27 10:59:21.000000000 +0300
+++ zm-1.20.1/db/Makefile.in 2005-01-27 11:00:47.000000000 +0300
+++ zm-1.20.1/Makefile.in 2005-01-27 10:59:33.000000000 +0300
+++ zm-1.20.1/scripts/Makefile.in 2005-01-27 11:00:44.000000000 +0300
+++ zm-1.20.1/src/Makefile.in 2005-01-27 11:00:07.000000000 +0300
+++ zm-1.20.1/web/Makefile.in 2005-01-27 11:00:42.000000000 +0300
$
I.e. in 1.20.0 errors too are corrected?..
As for Ross I have no such problem.
P.S.
$ wget http://www.zonemi....../zm-1.20.0.tar.gz
$ wget http://www.zonemi....../zm-1.20.1.tar.gz
$ tar zxf zm-1.20.0.tar.gz
$ tar zxf zm-1.20.1.tar.gz
$ diff -U 3 -N -r zm-1.20.0 zm-1.20.1 | grep '+++'
+++ zm-1.20.1/aclocal.m4 2005-01-27 10:59:29.000000000 +0300
+++ zm-1.20.1/configure 2005-01-27 10:59:35.000000000 +0300
+++ zm-1.20.1/configure.in 2005-01-27 10:59:21.000000000 +0300
+++ zm-1.20.1/db/Makefile.in 2005-01-27 11:00:47.000000000 +0300
+++ zm-1.20.1/Makefile.in 2005-01-27 10:59:33.000000000 +0300
+++ zm-1.20.1/scripts/Makefile.in 2005-01-27 11:00:44.000000000 +0300
+++ zm-1.20.1/src/Makefile.in 2005-01-27 11:00:07.000000000 +0300
+++ zm-1.20.1/web/Makefile.in 2005-01-27 11:00:42.000000000 +0300
$
I.e. in 1.20.0 errors too are corrected?..
I have installed openssl.zoneminder wrote:This is the only issue I have not been able to pin down. Other than checking the case is correct.
It's a bit of a long shot but perhaps you could edit zm.php and change the linetoCode: Select all
import_request_variables( "GPC" );
I doubt it will make any difference but it possibly could. I'll try and get you something to debug the logins as well.Code: Select all
import_request_variables( "GPCS" );
Phil
Make Zoneminder have passed without mistakes.
I have edited import_request_variables ("GPC") - import_request_variables (" GPCS). But, using registration records which worked in version 1.19.5 (LiveCD 1.19.1 with update 1.19.5), I cannot Zoneminder login!
How enter in Zoneminder?
P.S. Zoneminder 1.20.1 works perfectly - I have checked up it with ZM_OPT_USE_AUTH=no
Serg
Last edited by Serg on Sat Jan 29, 2005 10:00 pm, edited 1 time in total.
There is a doubt, what this RPM will not be established on Mandrake 10.0cordel wrote:zm-1.20.1-RC3 is up on my ftp
Minor change in zm_actions.php for brightness, contrast... settings
Cheers,
Cordel
But I shall try to establish it necessarily as soon as I shall find it on yours FTP.
Serg
P.S. There is no it there (ftp://cordel.no-ip.info/pub/)!
I have the source in the SRPMS dir for anyone whom wishes to try. Ross Might once we establish that all the issues with mandrake are ironed out. Can you connect to
ftp cordel.no-ip.info? I don't have it configured to play well with browsers for security. I got hacked really good about six months back and lost every thing on three machines so the server is set to paranoid
Cordel
ftp cordel.no-ip.info? I don't have it configured to play well with browsers for security. I got hacked really good about six months back and lost every thing on three machines so the server is set to paranoid
Cordel