Web page issues
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO
Web page issues
On a clean install of 1.24 the pages are not being displayed correctly and some of the buttons do not work (Add new monitor). Running firebug shows this error:
createPopup is not defined
onclick(click clientX=209, clientY=293)3XcTBGqt...QLw%3D%3D (line 2)
[Break on this error] createPopup("?view=monitor", "zmMonitor0", "monitor");
I've reinstalled and reinstalled and verified permissions. I thought it was a mootools issue but according to firebug it's not.
So...I'm really clueless here. I've jacked debugging up to 9 and no errors show up. Nothing in error.log for apache either.
createPopup is not defined
onclick(click clientX=209, clientY=293)3XcTBGqt...QLw%3D%3D (line 2)
[Break on this error] createPopup("?view=monitor", "zmMonitor0", "monitor");
I've reinstalled and reinstalled and verified permissions. I thought it was a mootools issue but according to firebug it's not.
So...I'm really clueless here. I've jacked debugging up to 9 and no errors show up. Nothing in error.log for apache either.
-
- Posts: 381
- Joined: Sat Jan 17, 2009 7:49 pm
- Location: Germany
I haven't noticed that. Could you please go to this live link and let me know if it still does it for you.
Last edited by newvisionantenna on Mon Feb 02, 2009 10:02 pm, edited 1 time in total.
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO
That page is formatted correctly. It's something on the server end but I have no idea what.newvisionantenna wrote:I haven't noticed that. Could you please go to this live link and let me know if it still does it for you.
http://66.220.104.94/zm/
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO
zoneminder wrote:Have you check your apache error_log in case it is unable to access any of the files?
The createPopup function should be defined in skins/classic/js/skin.js
Yup...there isn't anything useful in error.log. It almost seems that the javascript stuff isn't being loaded correct (based on the wierd formatting). But that doesn't make any sense....
I'll get a demo online here in a little bit (the virtual machine is currently on my laptop)
-
- Posts: 381
- Joined: Sat Jan 17, 2009 7:49 pm
- Location: Germany
While we are talking about web page issues, I now notice something with the latest build. At first I stuck with one prior release to the final one that says the control option is fixed and I would just copy the new file over the old build. Now that I had time to roll up the newest release from step one, I think there is a bug with the option to make a video out of an event. In IE7 I can click the button that says video and the box comes up asking what type of video I want to make. When I click generate it does nothing.
Now if I take that same link in the IE7 browser window and copy if over in Google Chrome the same window pops up and I can generate a video no problem. If I go to Google Chrome first and select the button that says video I get this and a box instead of the video making options,
An error has occurred and this operation cannot continue.
For full details check your web logs for the code 'F88AB7'
In Firefox there is no issue's at all. Just thought this was strange.
Now if I take that same link in the IE7 browser window and copy if over in Google Chrome the same window pops up and I can generate a video no problem. If I go to Google Chrome first and select the button that says video I get this and a box instead of the video making options,
An error has occurred and this operation cannot continue.
For full details check your web logs for the code 'F88AB7'
In Firefox there is no issue's at all. Just thought this was strange.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO
Here is the ZM session:curtishall wrote:zoneminder wrote:Have you check your apache error_log in case it is unable to access any of the files?
The createPopup function should be defined in skins/classic/js/skin.js
Yup...there isn't anything useful in error.log. It almost seems that the javascript stuff isn't being loaded correct (based on the wierd formatting). But that doesn't make any sense....
I'll get a demo online here in a little bit (the virtual machine is currently on my laptop)
http://office.bluecherry.net:83
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO
The VM is on my laptop...I'll get it back up when I get into the office this morning. For some reason my workstations crashes every time I load the VM. I've tried with Virtualbox, Parallels and VMWare...which could be the issue...perhaps my fix for mksquashfs freezing (--no-sparse) did something weird and that is my problems.cordel wrote:Alright Curtis, the usual round of questions
Versions:
Apache:
PHP:
Hopefully one of us can get to it before it goes down again.
If it's still a VM, maybe you could PM us with ssh details.
I'm starting the process over again from the beginning...I'll let you know when I get the VM back up.
As for versions:
xUbuntu 8.04.1 (upgraded)
Apache: Apache/2.2.8
PHP: 5.2.4-2ubuntu5.4
Mysql: 5.0.51a-3ubuntu5.4
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO
I just had a look at your system. I'm not sure exactly what I'm looking at but it certainly doesn't look like the ZM php frontend I know. What I am seeing looks as though the tables aren't being created and possibly even the stylesheets aren't being used.
I can switch to the options menu which also looks as though it's being rendered as html, I changed the bandwitdh which opened a new page (again, looks like html) rather than creating the normal pop-up window, and neither the add monitor or filters buttons work.
Is there any indication of in what's going on in your apache logs? You should see an entry for my visit at 23:00 EST or thereabouts. Does the console display properly on localhost in a x session? Is PHP set up properly with apache? How about AJAX ?
If it helps, here is the source for the console header that my browser is receiving -
I can switch to the options menu which also looks as though it's being rendered as html, I changed the bandwitdh which opened a new page (again, looks like html) rather than creating the normal pop-up window, and neither the add monitor or filters buttons work.
Is there any indication of in what's going on in your apache logs? You should see an entry for my visit at 23:00 EST or thereabouts. Does the console display properly on localhost in a x session? Is PHP set up properly with apache? How about AJAX ?
If it helps, here is the source for the console header that my browser is receiving -
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ZM - Console</title>
<link rel="icon" type="image/ico" href="graphics/favicon.ico"/>
<link rel="shortcut icon" href="graphics/favicon.ico"/>
<link rel="stylesheet" href="css/reset.css" type="text/css"/>
<link rel="stylesheet" href="skins/classic/css/skin.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="skins/classic/views/css/console.css" type="text/css" media="screen"/>
<script type="text/javascript" src="tools/mootools/mootools.js"></script>
<script type="text/javascript" src="js/mootools.ext.js"></script>
<script type="text/javascript">
var AJAX_TIMEOUT = 5000;
var currentView = 'console';
var thisUrl = "http://office.bluecherry.net:83/index.php";
var skinPath = "skins/classic";
var canEditSystem = true;
var canViewSystem = true;
var refreshParent = false;
var focusWindow = false;
</script>
<script type="text/javascript">
var consoleRefreshTimeout = 300000;
var showVersionPopup = false;
var showDonatePopup = false;
</script>
<script type="text/javascript" src="skins/classic/js/skin.js"></script>
<script type="text/javascript" src="skins/classic/views/js/console.js"></script>
</head>