• PHP (Fatal error: Call to undefined function) with Garry's Dir Listing Script
    9 replies, posted
I'm running WAMP (latest stable) on a Windows XP machine with PHP v5.3.1. I'm getting the error [code]Fatal error: Call to undefined function HandleImageOutput() in C:\wamp\www\garry.php on line 10[/code] and have no idea why. Garry's dir listing Script: [url]http://www.garry.tv/dir_listing_script/[/url] [code]Extensions Running: * Core * bcmath * calendar * com_dotnet * ctype * date * ereg * filter * ftp * hash * iconv * json * mcrypt * mysqlnd * odbc * pcre * Reflection * session * SPL * standard * tokenizer * zip * zlib * libxml * dom * PDO * Phar * SimpleXML * wddx * xml * xmlreader * xmlwriter * apache2handler * gd * mbstring * mysql * mysqli * pdo_mysql * pdo_sqlite * SQLite * sqlite3 * mhash [/code] Anybody have a clue?
"Call to undefined function HandleImageOutput()" Does that not give you a clue? [editline]8th November 2010[/editline] If you're still confused by this, HandleImageOutput() is called before it's defined.
Yeah, but I tried moving the defining of the function above the calling of the function, with the same problem. Also, I've used this same script for years on my shared webserver(Linux - JaguarPC), and I know the script works outside of this local WAMP server.
Doesn't that script use short-tags? if it does try turning them on.
Have you enabled the GD Library? I'm sure WAMP has all that disabled by default.
[QUOTE=jaybuz;25942725]Have you enabled the GD Library? I'm sure WAMP has all that disabled by default.[/QUOTE] It's in the list of running extensions he put up, so i guess it is.
[QUOTE=SirDigby;25942683]Doesn't that script use short-tags? if it does try turning them on.[/QUOTE] PHP Extension?
[QUOTE=notRzilla;25937096]"Call to undefined function HandleImageOutput()" Does that not give you a clue? [editline]8th November 2010[/editline] If you're still confused by this, HandleImageOutput() is called before it's defined.[/QUOTE] It doesn't matter in PHP unlike C, C++, etc. It parses functions and then executes.
[QUOTE=Aljaud;25947689]PHP Extension?[/QUOTE] I believe it's in php.ini
Alright, thanks for the suggestions. This is for a local box at my school, so I won't be able to try it until tomorrow, possibly the next day. (Watching court case tomorrow, depends when I get back to school.)
Sorry, you need to Log In to post a reply to this thread.