Page 1 of 1

IP changed, ZM doesn't work anymore

Posted: Wed May 18, 2005 11:09 am
by mangoo
I just changed the IP address of my ZoneMinder server.

When I wasnt to access web interface, I get this error:

Warning: main(zm_wav.php): failed to open stream: No such file or directory in /var/www/html/zm/zm.php on line 162

Fatal error: main(): Failed opening required 'zm_wav.php' (include_path='.:/usr/lib/php/:/usr/share/pear/') in /var/www/html/zm/zm.php on line 162


What should I do?

Posted: Wed May 18, 2005 2:27 pm
by cordel
Have you restarted the network service or rebooted the box?

Posted: Wed May 18, 2005 2:49 pm
by mangoo
Yep, many times, didn't help.

Actually, what I noticed, it only happens on Firefox I last used with ZoneMinder... with other browsers it doesn't happen.

So it is probably browser-related.
On the other hand, I tried cleaning the cache, history etc., and it doesn't help.
More - I changed the path to zm (from /var/www/html/zm to /var/www/html/zm-new) to make sure nothing is cached - but still the same error.
I also tried looking for "wav" with grep -r wav ./* (error says something about missing 'zm_wav.php') - but it doesn't exist in ZM root.

So maybe it's ZM-related?

Posted: Wed May 18, 2005 3:21 pm
by cordel
I highly dought that it is zm.
I have changed the IP many times and have had no issues.
What is your configuration (What flavor of linux, Apache version, php version ect...)?
I would start by checking your config for apache, you may have it bound to the old IP.
Regards,
Cordel

Posted: Wed May 18, 2005 3:23 pm
by zoneminder
There is no zm_wav.php in ZM. The only way it could possibly try and access a file by this name is if there is a session variable at the location that ZM now is that has a variable called 'format' that contains 'wav'. This sounds fairly contrived but I would first ensure that you have deleted all cookies for the server just to be on the safe side.

Phil

Posted: Wed May 18, 2005 3:37 pm
by mangoo
I didn't clean my cookies!

So after clearing my whole Firefox profile, everything works again now... :)