Does not run on OS X Server

dmjossel - June 26, 2008 - 05:06
Project:DRAN - Drupal Analysis Tool
Version:5.x-1.0-beta
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Gives the following output when run on OS X Server 10.5.3, MySQL 5, Drupal 5.7, PHP 5:

Xserve-1:/Library/WebServer/Documents/drupal root# sh dran.sh -h
dran.sh: line 2: ?php: No such file or directory
dran.sh: line 4: //: is a directory
dran.sh: line 5: //: is a directory
dran.sh: line 7: //: is a directory
dran.sh: line 8: [HTTP_HOST]: command not found
dran.sh: line 9: [REMOTE_ADDR]: command not found
dran.sh: line 10: [SERVER_SOFTWARE]: command not found
dran.sh: line 11: [REQUEST_METHOD]: command not found
dran.sh: line 12: [QUERY_STRING]: command not found
dran.sh: line 14: //: is a directory
dran.sh: line 15: require_once: command not found
dran.sh: line 16: syntax error near unexpected token `DRUPAL_BOOTSTRAP_FULL'
dran.sh: line 16: `drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);'

#1

tjholowaychuk - June 26, 2008 - 15:40
Title:Does not run» Does not run on OS X Server

Yikes, thats a nice batch of errors there. I have not this via OS X but it might just be the shebang line if you know where the php executable is located. Also is dran.sh located at the root of the Drupal install (looks like it is)?

 
 

Drupal is a registered trademark of Dries Buytaert.