Hello,
no,it is not a question of php 5.4
please check "$root_dir" and $httpd_dir; if they are not correct, all other filenames will be not correct too.
but mjpeg.php is not working;
try it out here:
http://www.test.opensmartcam.com
Best regards
Holger
Hello Holger,
Thank You for your help !!!
first of all, i am really happy with the functions which works already.
Many Problems i had, were caused due to my Installation and a leg of knowledge.
Today the gallery.php and cam.php are working 100%. (including Image.php)
I have had Trouble with the function in cam.php:
$image =
@imagecreatefromjpeg($archivefile);
The script (Cam.php) stops working. (No Message: "Thumpnail OK" on the phone) After a new PHP-BIN file in my server this function is also working. (JPEG Support was missing) The thumbnails exists now.
By the way, i am using a Apache 2.2.17 on fritzbox 7390.
The Timelaps function generate the following error message, one message every Picture:
[Thu Aug 22 19:25:47 2013] [error] [client 95.90.120.66] PHP Warning: file_get_contents(/archive/2013-08-22/320x240/1377190737.jpg): failed to open stream: No such file or directory in /var/media/ftp/WD-Elements1023-01/apache-2.2.17/htdocs/mjpeg.php on line 46, referer:
http://xxxxxxxx.selfhost.bz:85/gallery.php
The file exist for sure, i have set the permission for tests to 777.
The $root_dir is set to /var/media/ftp/WD-Elements1023-01/apache-2.2.17/htdocs which is correct i think.
In your last posting you wrote:
but mjpeg.php is not working;
Does it mean it is a known bug ?
Kind reagrds
Klaus
PS: It would be easier to write in german, is it ok ?