NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
what's about php4 that comes with phped?
you may want to run its setup again and do check php4 to be installed.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 31 Aug 2005
Posts: 44
Location: Bamberg, Germany
Reply with quote
Silly question, I know, but where are @php@ and @php4@ are defined? I can't find these entries in the macros list.

Edit:
I reinstalled the package with php4, now phpdocumenter works.

marcus
View user's profileFind all posts by MarcusSchwarzSend private messageVisit poster's websiteICQ Number


Joined: 03 Apr 2004
Posts: 78
Reply with quote
MarcusSchwarz wrote:
Silly question, I know, but where are @php@ and @php4@ are defined? I can't find these entries in the macros list.

Edit:
I reinstalled the package with php4, now phpdocumenter works.

marcus


You didn't need to reinstall.

All you have to do to fix this is change in Settings | Integration | PHPDocumentor:

From default:
Code:

@php@ "C:\Program Files\nusphere\phped\phpDocumentor\phpDocumentor\phpdoc" -t "@Projpath(phpdoc_target_dir)@" -d "@FName@"


To this:
Code:

@php4@ "C:\Program Files\nusphere\phped\phpDocumentor\phpDocumentor\phpdoc.inc" -t "@Projpath(phpdoc_target_dir)@" -d "@FName@"


The problem was PHP interpreter could not find the script 'phpdoc' because it doesn't exist. 'phpdoc.inc' however does exist. @php@ was default, and i changed to @php4@ and no problems.

Works as it should now.

Even better is this:

Code:

@php4@ "C:\Program Files\nusphere\phped\phpDocumentor\phpDocumentor\phpdoc.inc" -t "@Projpath(phpdoc_target_dir)@" -d "@FName@" -ti "@Project@" -dn "@Project@"


Which will title the generated help files and set the default packagename to that of your project. Smile No more "welcome to default!"
View user's profileFind all posts by Rick ChristySend private messageYahoo Messenger
How to use PHP Documentor ??? *resolved*
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 2 of 2  

  
  
 Reply to topic