jboffel / smartypdt

Automatically exported from code.google.com/p/smartypdt
0 stars 0 forks source link

Didn't find any PHP executable, please define one in the PHP preferences. #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Sorry for my English.

I am getting error with description "Didn't find any PHP executable, please
define one in the PHP preferences." on each *.tpl file.
I was added a PHP exutable, but the error didn`t disappeared.

What steps will reproduce the problem?
I was trying to reproduce this error in new project, but i have got an
issue id 3: error with description "2"

But... I found the way to reproduce error:
1. Delete all defined php executables from PHP Preferences.
2. Create new PHP Project.
3. Add new *.tpl file
4. Save file.
5. Rebuild project.
6. You'll got error "Didn't find any PHP executable, please define one in
the PHP preferences." on your *.tpl file.
7. Add new php executable.

What is the expected output? What do you see instead?
Error should disappear, but it still exists.

What version of the product are you using? On what operating system?
eclipse and everything else excepts pdt and smartypdt are from
pdt-all-in-one-1.0-R20070917-linux-gtk.tar
pdt is N20071128
smartypdt is 0.5.1

Please provide any additional information below.
After adding executable php, all _new_ *.tpl files are marked with error
"2" as in issue id 3.

There is screen shot of eclipse in attached file:
project pdttest1 - project created with no php executables
test.tpl - first template created with no php executables
othertest.tpl - template created after adding php executable.

also, while creating new file i can`t select something like "Smarty
Template" in "creating new file wizard", i have to select "File".
and file icon is generic text file, as mentioned in discussion of issue 3:
http://code.google.com/p/smartypdt/issues/detail?id=3#c6

Original issue reported on code.google.com by eneev.a@gmail.com on 30 Nov 2007 at 5:49

Attachments:

GoogleCodeExporter commented 9 years ago
same problem here... how can we help?

Original comment by c...@impressive.de on 6 Dec 2007 at 12:29

GoogleCodeExporter commented 9 years ago
I fixed this bug and i need to bundle it to Smartypdt 0.5.2
can you send me over the log file?

regards,

Original comment by ganoro on 6 Dec 2007 at 12:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I've updated smartypdt to 0.5.2, 
installed everything from 
http://code.google.com/p/smartypdt/wiki/InstallSmartyPDT,
downgraded java to 1.5 and i still have this error.

eclipse configuration and error log files are attached.

Original comment by eneev.a@gmail.com on 10 Dec 2007 at 10:56

Attachments:

GoogleCodeExporter commented 9 years ago
Same error.

Original comment by baptiste...@gmail.com on 4 Jan 2008 at 11:38

GoogleCodeExporter commented 9 years ago
This warnings did not appear if you Create new (General) Project not PHP 
project.
Pls fix this bug

Original comment by insekti...@gmail.com on 10 Jan 2008 at 11:37

GoogleCodeExporter commented 9 years ago
please release next version already!

Original comment by cj...@msn.com on 11 Feb 2008 at 11:23

GoogleCodeExporter commented 9 years ago
if you are still getting this error on some of your files,
rename to .html then us ctrl-z to undo, should remove the error.

Original comment by ben.kel...@gmail.com on 7 May 2008 at 2:15

GoogleCodeExporter commented 9 years ago
Bug still exists in smartypdt 0.5.4. Yes, I use Java 6, but you shouldn't rely 
on old
java implementations..

Original comment by abahl...@gmail.com on 24 May 2008 at 2:53

GoogleCodeExporter commented 9 years ago
I have the same issue issue. Please fix this.

Original comment by qantasyo...@gmail.com on 27 May 2008 at 4:46

GoogleCodeExporter commented 9 years ago
I've seen a similiar error message some time ago. I was using XDebug and the 
error
message told me to add a PHP executable with debugger type "Zend Debugger". 
After i
did that the error disappeared. Although your error message is a bit different, 
you
might want to try changing the debugger type.

Original comment by johannes...@googlemail.com on 27 May 2008 at 8:48

GoogleCodeExporter commented 9 years ago
The updated error message that Johannes.stickel got is in the 0.5.5 version 
only. 
Prior to 0.5.5 you had to have Zend's PHP debug build at the URL below to work
properly (which is in the installation instructions BTW)

http://downloads.zend.com/pdt/all-in-one/

Try using the proposed Smarty PDT 0.5.5 attached to one of the comments on 
issue 31,
it has fixed the error 2 for other people, just make sure to also clean all 
projects
or the error will remain (Project > Clean).

Let me know if that fixes the error for you.

Original comment by ohhe...@gmail.com on 27 May 2008 at 1:39

GoogleCodeExporter commented 9 years ago
I had the same problem. I've installed PDT 1.0.3 with Smarty PDT 0.5.5, cleaned 
all
projects, and now it works properly.

Original comment by belt...@gmail.com on 29 May 2008 at 8:13

GoogleCodeExporter commented 9 years ago
I still seem to have this problem after installing Smarty PDT 0.5.5 but i am 
running
PDT 1.0.2 (due to some xdebug issues).
Might this be the problem? And can it too be fixed?

Thanks though - great plugin!

Original comment by jonnybradley on 26 Jun 2008 at 6:04

GoogleCodeExporter commented 9 years ago
Hey woo!
I cleaned again but with "build automatically" deselected and all the PHP 
executable
errors have gone - not sure if it was a coincidence but thought i'd add a note 
here.

That's Eclipse 3.3.3 (was 3.3.2), PDT 1.0.2 and SmartyPDT 0.5.5 (on a Mac)

Thanks!

Original comment by jonnybradley on 28 Jun 2008 at 4:54

GoogleCodeExporter commented 9 years ago
Hey
I cleaned project and disabled "build automatically" option i Project menu, but 
all .tpl files still have error in first line of file:
"Multiple annotations found at this line: Cannot run program C:\xampp\php: 
CreateProcess error=5, Access denide, 198 changed lines
PHP executable path is correct, I use Zend_Debugger.

What I can fix this problem, I work on Win 7 HP 64-bit Java 1.7, Eclipse Indigo 
Service Release 1, SmartyPDT 0.9.0, PHP 5.3.8, XAMPP 1.7.7

Thanks a lot!

Original comment by rafalpie...@gmail.com on 9 Mar 2012 at 1:48

GoogleCodeExporter commented 9 years ago
Didn't find the default PHP executable, please define a default PHP executable 
of type 'Zend Debugger'.

what is this ? how can I resolve this issue.

Original comment by s.asn...@gmail.com on 16 Jul 2013 at 7:34