PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 01-13-2004, 05:45 AM   #1
switch
Green Mole
 
Join Date: Jan 2004
Posts: 2
Call to undefined function: is_executable()

Web Server: Apache 2.0.48
PHP Version: 4.3.2
OS: Windows XP Pro (development server)
Error: Fatal error: Call to undefined function: is_executable() in C:\path\to\phpdig\admin\robot_functions.php on line 633

Hey guys! I managed to get the current version up and installed in less then 3 minutes on my local development server (w00t!), but I'm running into a problem. When I load up the admin interface and try to have it spider a URI, the next page (after clicking "Dig This !") shows the following error.

Call to undefined function: is_executable() in C:\path\to\phpdig\admin\robot_functions.php on line 633

Any advice? Thanks in advance
switch is offline   Reply With Quote
Old 01-13-2004, 08:06 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. PhpDig 1.6.4+ has an option in the config file to bypass is_executable. Change define('USE_IS_EXECUTABLE_COMMAND','1'); to define('USE_IS_EXECUTABLE_COMMAND','0'); in the config file.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 01-13-2004, 09:37 AM   #3
switch
Green Mole
 
Join Date: Jan 2004
Posts: 2
Ahh, alright. Very groovy! *grins*. Thanks for the info..
switch is offline   Reply With Quote
Old 03-13-2004, 08:13 AM   #4
Konstantine
Green Mole
 
Join Date: Mar 2004
Location: Russia
Posts: 21
I had the same problem and found, that function is_executable() will be from PHP 5 version for windows. As a result, why don't you use function function_exists? next code for robot_functions.php line ~674:

PHP Code:
if (USE_IS_EXECUTABLE_COMMAND == && function_exists("is_executable")) {
   
$is_exec_command_msword is_executable(PHPDIG_PARSE_MSWORD);
   
$is_exec_command_msexcel is_executable(PHPDIG_PARSE_MSEXCEL);
   
$is_exec_command_pdf is_executable(PHPDIG_PARSE_PDF);
}
else {
  
$is_exec_command_msword 1;
  
$is_exec_command_msexcel 1;
  
$is_exec_command_pdf 1;

Konstantine is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal error: Call to undefined function: mb_eregi() drdrew42 Script Installation 1 12-04-2007 02:08 AM
Fatal error: Call to undefined function: odbc_connect() NPeart1 Coding & Tutorials 0 12-20-2005 07:21 AM
Call to undefined function: mb_eregi() PHPfranky Troubleshooting 0 12-03-2005 06:40 AM
install error!undefined function: mb_eregi() wedmaster Script Installation 4 04-21-2005 07:12 AM
Fatal error: Call to undefined function: is_executable() lionel.cleran Script Installation 1 03-09-2004 09:30 AM


All times are GMT -8. The time now is 08:36 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.