Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
frenkieman opened this issue Apr 6, 2014 · 5 comments

Comments

@frenkieman
Copy link

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?

@charlesthomas
Copy link

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

That issue was also with WAMP.

@frenkieman
Copy link
Author

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

@frenkieman
Copy link
Author

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 />

@gvalbert05
Copy link

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 :


@narayanrachit
Copy link

plz help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants