Search found 23 matches

by Cramac1
Sat Nov 23, 2019 10:01 am
Forum: ZoneMinder 1.33.x
Topic: ZM on multiserver v1.33.14
Replies: 0
Views: 170

ZM on multiserver v1.33.14

Hello. there was a server, everything worked. Added a second. Servers are in different network segments: 1 - 10.10.10.35 2 - 10.10.100.35 added cameras to the new server in "storage" Id Name Path Type Scheme Server DiskSpace Mark 3 Dav /var/cache/zoneminder/events local Medium Dav 859.22GB of 1.78TB...
by Cramac1
Fri Nov 15, 2019 2:47 pm
Forum: ZoneMinder 1.33.x
Topic: 1.33.10 to 1.33.14
Replies: 2
Views: 219

Re: 1.33.10 to 1.33.14

thx!
by Cramac1
Fri Nov 15, 2019 12:01 pm
Forum: ZoneMinder 1.33.x
Topic: 1.33.10 to 1.33.14
Replies: 2
Views: 219

1.33.10 to 1.33.14

everything worked. Yesterday updated, now I can not watch online monitors. when trying to view http://video.site.com/zm/cgi-bin/nph-zms..... HTTP ERROR 403 although I didn’t touch the settings, I did only update the packages on the server: apache2 and zoneminder in zm log: Socket /var/run/zm/zms-850...
by Cramac1
Wed Jun 19, 2019 9:40 am
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 4999

Re: API Error (zm 1.33.6)

and what web interface does it use?
judging by the database, Russian is not stored in utf8
Безымянный.jpg
Безымянный.jpg (422.08 KiB) Viewed 1644 times
by Cramac1
Sun Jun 16, 2019 6:47 pm
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 4999

Re: API Error (zm 1.33.6)

The new question is, in what encoding does the API return the name? in zm web:
Запись- 53703

in api:
[Name] => Запись- 50857

Russian text
by Cramac1
Sun Jun 16, 2019 6:16 pm
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 4999

Re: API Error (zm 1.33.6)

asker wrote:
Sun Jun 16, 2019 1:02 pm
1. Create a AUTH_HASH_SECRET

-- other option ---
1. What happens if you change your code to use the new token system? That is, replace "&auth=" with "&token=" and use "access_token" key (new API docs here)
made a new AUTH_HASH_SECRET and replaced auth with a token
and now it works

thx
by Cramac1
Sun Jun 16, 2019 12:17 pm
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 4999

Re: API Error (zm 1.33.6)

yesterday just updated

[version] => 1.33.9
by Cramac1
Sat Jun 15, 2019 8:58 pm
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 4999

Re: API Error (zm 1.33.6)

Yes, there is a problem, the video does not go, in the log: ERR Unable to authenticate user
by Cramac1
Sat Jun 15, 2019 9:36 am
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 4999

Re: API Error (zm 1.33.6)

auth return: Array ( [access_token] => eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNTYwNTkxMDU4LCJleHAiOjE1NjA1OTQ2NTgsInVzZXIiOiJhZG1pbiIsInR5cGUiOiJhY2Nlc3MifQ.TSVWYhUl_kN3NUZvNP6cRAg0N_mUqDImi_vUNJPtIuY [access_token_expires] => 3600 [refresh_token] => eyJ0eXAiOiJKV1Q...
by Cramac1
Sat Jun 15, 2019 8:42 am
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 4999

Re: API Error (zm 1.33.6)

rockedge wrote:
Tue Apr 30, 2019 7:46 pm
do you have Options->Systems->AUTH_HASH_LOGINS enabled?
yes
Безымянный.gif
Безымянный.gif (116.93 KiB) Viewed 2770 times
by Cramac1
Tue Apr 30, 2019 7:40 pm
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 4999

Re: API Error (zm 1.33.6)

Only viewing online pictures does not work. Error: zms_m2 Dav 9241 ERR Unable to authenticate user I pass authorization, I see a list of monitors, I want to see a picture, but he does not give: <img src="http://video.site.ru/zm/cgi-bin/nph-zms?scale=auto&width=1920px&height=1080px&mode=jpeg&maxfps=3...
by Cramac1
Tue Apr 30, 2019 7:32 pm
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 4999

Re: API Error (zm 1.33.6)

updated to zoneminder (1.33.6~20190428120633-bionic)
here all the rules
by Cramac1
Fri Apr 12, 2019 6:39 pm
Forum: ZoneMinder 1.33.x
Topic: API Error (zm 1.33.6)
Replies: 16
Views: 4999

API Error (zm 1.33.6)

login API $ch = curl_init(); curl_setopt( $ch, CURLOPT_URL, "http://site.ru/zm/api/host/login.json" ); curl_setopt( $ch, CURLOPT_POST, 1); //0 for a get request curl_setopt( $ch, CURLOPT_POSTFIELDS, "user=admin&pass=xxx" ); curl_setopt( $ch, CURLOPT_COOKIEJAR, dirname(__FILE__).'/cookie.txt' ); $res...
by Cramac1
Sat Mar 30, 2019 7:28 pm
Forum: ZoneMinder 1.33.x
Topic: modify filters error (500)
Replies: 1
Views: 669

modify filters error (500)

Hello. when you try to change the filter, error 500 crashes [Sat Mar 30 22:13:38.975152 2019] [php7:notice] [pid 26550] [client 176.59.46.156:51350] PHP Fatal error: Uncaught Error: Call to undefined function ZM\\csrf_get_secret() in /usr/share/zoneminder/www/includes/Filter.php:221\nStack trace:\n#...
by Cramac1
Tue Dec 11, 2018 3:37 pm
Forum: Feature Requests
Topic: arsp ?
Replies: 0
Views: 1276

arsp ?

Hello
is arsp support planned