...

View Full Version : Multiple PHP errors when clicking a link...



thelorax
10-30-2009, 04:03 AM
delete this

thelorax
10-30-2009, 04:06 AM
delete this

thelorax
10-30-2009, 04:06 AM
delete this

_Aerospace_Eng_
10-30-2009, 05:03 AM
We need to actual errors to help you.

thelorax
10-30-2009, 08:08 AM
delete this

SystemJay
10-30-2009, 01:05 PM
Undefined variables occur when you are trying to... er... call to an undefined variable :p
To fix this, you would need to add if(isset($variable_name)) { do stuff }
kind of operators to not allow the usage of undefined variables.

Notice-level warnings arent generally dramatic, and you can deactivate notices,
I belive it would go like something that I have below here:


ini_set('display_errors',0);
ini_set('display_startup_errors',0);


Here would be a link to generally check what errors to report:
http://www.w3schools.com/PHP/func_error_reporting.asp

So the good way: Fix your code to avoid calling undefined variables.
The bad way (but works): Disable notices from showing at all.

thelorax
10-31-2009, 06:13 AM
delete this

_Aerospace_Eng_
10-31-2009, 07:20 AM
Even if I disable the notices, the page still doesn't bring up the information it's supposed to show, so I need to fix the code.

I don't know how to write PHP, this job was started and then left unfinished by someone else. I was hoping for specific help to fix this code. If someone is able to fix it, I can pay, not much, but a little. I apologize if I posted in the wrong section. But the help I received here, though it would be useful to a coder, doesn't help me. I need someone to specifically look at the code and fix it.
I need a "PHP mechanic".

Well how much are you able to pay then? No one is going to debug your 3 posts of code for nothing.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum