Strange Error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
jolinar
Forum Commoner
Posts: 61
Joined: Tue May 24, 2005 4:24 pm
Location: in front of computer

Strange Error

Post by jolinar »

Does anyone know what this error means in PHPEclipse?

An internal error occurred during: "Launching".
java.lang.RuntimeException: Unable to execute interpreter: "C:\Apache2\htdocs\gallery/includes/writer.php" D:\My Documents\eclipse\workspace
net.sourceforge.phpdt.internal.launching.InterpreterRunner.run(InterpreterRunner.java:33)
net.sourceforge.phpdt.internal.launching.PHPLaunchConfigurationDelegate.launch(PHPLaunchConfigurationDelegate.java:48)
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788)
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

Using eclipse 3.0.1, the latest 1.4 version (I think) of PHPEclipse pluggin, PHP5 and apache 2.0.54. I get this error when I try to run the file I'm working on. I've checked the interpreter and it see,s to be set to the PHP executable but from the error it looks like it using the php file as an interpreter. Does anyone have any ideas?
oscar
Forum Commoner
Posts: 27
Joined: Wed Sep 24, 2003 7:27 pm
Location: sydney, Australia

Post by oscar »

you say you have php5...this has caused me problems in the past when using stuff written for php4 or earlier :(

that may be whats causing it...although it isnt exactly a php error :P


to be honest...i don't know :D :P...just thought i'd take a stab
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

Those are all java errors.

You'd be better off asking for specific help at the Eclipse project.
User avatar
dbevfat
Forum Contributor
Posts: 126
Joined: Tue Jun 28, 2005 2:47 pm
Location: Ljubljana, Slovenia

Post by dbevfat »

it appears that interpreter is not set to an valid path, but since you said you've checked it, i guess you should just install a clean version of PHPEclipse and hope for the best ...
User avatar
jolinar
Forum Commoner
Posts: 61
Joined: Tue May 24, 2005 4:24 pm
Location: in front of computer

Post by jolinar »

That was the problem, the path to php was set incorrectly (recycled eclipse from an earlier installation) Path set correctly and eclipse is behaving itself :)
Post Reply