abenzer/represent-map

Notice: Undefined variable: error in C:\wamp\www\index.php on line 374

Opened this issue · 5 comments

I see the borders of the site and facebook and twitter button, but instead of the map i see this Notice: Undefined variable: error in C:\wamp\www\index.php on line 374

In the admin section of the site, I get a lot of errors on uri not defined and approved not defined.

Further, the browsers give this error:
Uncaught SyntaxError: Unexpected token < there is:
and it's after line 167 in index

event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

I just installed wamp server 2.2, did the set up and it doesn't work. It's really strange.

Somebody knows what's wrong?

Have you tried either of the solutions in Issue #60?

That issue was also with WAMP.

First, thank you for your help

Yes, short tags are on and I also put the credentials right, I can log in in the admin section, but i get a errors on php variables

I've tried everything, but I keep getting notices that variables are not identified, like task and error.

When i approve the map doesn't shows and the html pages gives this errors. Instead of just making the points. When I decline the place, the map shows again.

How come i'm the first one that has this problem?

[print]markers = new Array();
            <br />
<b>Notice</b>:  Use of undefined constant title - assumed 'title' in         <b>C:\xampp\htdocs\index.php</b> on line <b>184</b><br />
<br />
<b>Notice</b>:  Use of undefined constant title - assumed 'title' in <    b>C:\xampp\htdocs\index.php</b> on line <b>184</b><br />
<br />
<b>Notice</b>:  Use of undefined constant description - assumed 'description' in <b>C:\xampp\htdocs\index.php</b> on line <b>185</b><br />
<br />
<b>Notice</b>:  Use of undefined constant description - assumed 'description' in <b>C:\xampp\htdocs\index.php</b> on line <b>185</b><br />
<br />
<b>Notice</b>:  Use of undefined constant uri - assumed 'uri' in <b>C:\xampp\htdocs\index.php</b> on line <b>186</b><br />
<br />
<b>Notice</b>:  Use of undefined constant uri - assumed 'uri' in <b>C:\xampp\htdocs\index.php</b> on line <b>186</b><br />
<br />
<b>Notice</b>:  Use of undefined constant address - assumed 'address' in <b>C:\xampp\htdocs\index.php</b> on line <b>187</b><br />
<br />
<b>Notice</b>:  Use of undefined constant address - assumed 'address' in <b>C:\xampp\htdocs\index.php</b> on line <b>187</b><br />
<br />
<b>Notice</b>:  Use of undefined constant title - assumed 'title' in <b>C:\xampp\htdocs\index.php</b> on line <b>189</b><br />
<br />
<b>Notice</b>:  Use of undefined constant type - assumed 'type' in <b>C:\xampp\htdocs\index.php</b> on line <b>189</b><br />
<br />
<b>Notice</b>:  Use of undefined constant lat - assumed 'lat' in <b>C:\xampp\htdocs\index.php</b> on line <b>189</b><br />
<br />
<b>Notice</b>:  Use of undefined constant lng - assumed 'lng' in <b>C:\xampp\htdocs\index.php</b> on line <b>189</b><br />
<br />
<b>Notice</b>:  Use of undefined constant description - assumed 'description' in <b>C:\xampp\htdocs\index.php</b> on line <b>189</b><br />
<br />
<b>Notice</b>:  Use of undefined constant uri - assumed 'uri' in <b>C:\xampp\htdocs\index.php</b> on line <b>189</b><br />
<br />
<b>Notice</b>:  Use of undefined constant address - assumed 'address' in <b>C:\xampp\htdocs\index.php</b> on line <b>189</b><br />
<br />
<b>Notice</b>:  Use of undefined constant title - assumed 'title' in <b>C:\xampp\htdocs\index.php</b> on line <b>190</b><br />

                markers.push(['TEST1', 'startup', '53.2193', '6.56299', 'lalalala', 'iets.nl', 'GRONINGEN Universiteit']);
                markerTitles[0] = 'TEST1';
              <br />
<b>Notice</b>:  Use of undefined constant type - assumed 'type' in <b>C:\xampp\htdocs\index.php</b> on line <b>192</b><br />
<br />
<b>Notice</b>:  Undefined variable: count in <b>C:\xampp\htdocs\index.php</b> on line <b>192</b><br />
<br />
<b>Notice</b>:  Undefined index: startup in <b>C:\xampp\htdocs\index.php</b> on line <b>192</b>       <br />

i am getting error in my php coding and tried many times but, still getting error so please any one could help me.
Error Message:

Undefined variable: error in C:\wamp\www\office project\loginsystem\login.php on line 46

<html">

<title>Login Page</title> <style type="text/css"> body { font-family:Arial, Helvetica, sans-serif; font-size:14px; } label { font-weight:bold; width:100px; font-size:14px; } .box { border:#666666 solid 1px; } </style>
Demo Login Details -> Username : admin Password : admin
Login
UserName :

Password :


plz help