![]() |
Please help. Bad error.
I was told by one of my php coders that this error means that a chunk of code is missing and I didn't delete a chunk of code. Here is the error.
Code:
Fatal error: Call to undefined function: gettemplate() in /web/dark/public_html/testvb/member.php on line 1297 Dark Shogun Ps. I get this error when I click on the name of my newest member on the forum homepage. http://www.thatfinalfantasysite.com/testvb |
Wow, your PHP coder friend sure was a lot of help with that advice :p
Anyway, it's too hard to tell exactly what could be the problem with just the information you've provided, but I recommend if your member.php is barely modified with hacks, then just to replace it with the original. If it is modified to an extent you don't feel like replacing, then I would try comparing the unmodified member.php and your version. But first, let's try to help you ....can you post a chunk of the code around line 1297, but NOT the entire member.php (as that's against rules). ;) |
Ok. I will get the code around that line. I have used beyond compare and could see a chuck of code missing.
Dark SHogun |
Code:
// ############################### start get info ############################### |
Try a quick execution test, to see if the page loads without line 1297. In other words, find:
PHP Code:
|
When I do that I get this error:
Code:
Parse error: parse error, unexpected $ in /web/dark/public_html/testvb/member.php on line 1690 Code:
eval("\$sendmessage = \"".gettemplate("email_usermessage",1,0)."\";"); |
My bad, I accidentally told you to remove a neccessary bracket. In this code which I told you to remove:
PHP Code:
PHP Code:
|
Ok doing that I get this error:
Code:
Fatal error: Call to undefined function: checkwarnlink() in /web/dark/public_html/testvb/member.php on line 1302 Code:
} |
Is the hack you are trying to install (or did recently) a hack by g-force2k2? Just curious.
I noticed this a bit above: PHP Code:
So replace the above with: PHP Code:
|
Now I get this error.
Code:
Fatal error: Call to undefined function: checkwarnlink() in /web/dark/public_html/testvb/member.php on line 1300 Code:
} |
All times are GMT. The time now is 07:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|