Installing PDT on Eclipset Classic 3.7 (indigo) always fail - php

Every time i try to install PDT through "install new software" feature in Eclipse Classic 3.7 (tutorial here) i get the following error, after a lot of time fetching and downloading stuff:
An internal error occurred during: "Install download1". Comparison
method violates its general contract!
This is frustrating cause i'm following the tutorial exactly. What's wrong with it? How can i check for logs and try to find out the actual error?
This happens on both x86 and x64 version of Eclipse. Tried in a fresh environment, Windows 7 x64, JRE 7 x64 and Eclipse Classic 3.7.

I got this error when I was running Eclipse 3.7 on Sun JRE 7 on Debian 6. It is related to synchronizing the updates mirror list. Running JRE 6 fixed the issue for me.
Synchronization problem in mirror selection
Can't update Eclipse for EE Developers (Indigo)

Solved using 3.7.1 from here. Getting no problem at all both on x86 and x64 version. Thanks for helping!

Last I had heard, a few months ago, the PDT plugin was no longer being maintained. I keep a separate version of eclipse just for PHP development.
http://www.eclipse.org/downloads/packages/eclipse-php-developers/heliossr2

Related

Switching from Netbeans 8.2 to Apache Netbeans 10 for PHP Development

Currently I'm using the Netbeans version 8.2 for PHP developing purposes. I'm in need of finding whether switching to Apache Netbeans version 10 will create any conflicts and issues in 'Glassfish server based PHP projects' that I have partially completed in Netbeans version 8.2.
No... There won't be any issue in doing the aforementioned switch..
Here you get a really short answer: no.

How to use Eclipse with Php5.6

As you can see in this photo I have problems with eclipse while programming with laravel framework. The problem is eclipse is looking for php5.3 code but laravel and my local server uses php5.6. So how can i upgrade my eclipse for Php5.6?
This is a Juno version released 2012. I would suggest upgrading to a more recent version that support latest PHP versions. Try the latest official release Luna Eclipse ver. 4.4.
Follow the instructions here: https://wiki.eclipse.org/FAQ_How_do_I_upgrade_Eclipse%3F
or here: https://wiki.eclipse.org/FAQ_How_do_I_upgrade_Eclipse%3F
Isn't eclipse dead already?
Everyone now uses PhpStorm (a fantastic IDE), or NetBeans if you don't wish to pay for the licence.

PHP 5.4 Interpreter for Eclipse PDT

So PHP 5.4 is released, but when will the interpreter come out for eclipse PDT to support the new syntax of PHP 5.4?
All I could find on the web so far is an old "Bug Report": https://bugs.eclipse.org/bugs/show_bug.cgi?id=362672. It seems like I can't even sign up there to post a question on its status.
Is somebody working on it? Is there dev version for it publicly available? How long does it typically take for them to release a new interpreter after a new PHP version comes out?
The PHP 5.4 syntax has been announced quite some time ago. How come its still not supported in Eclipse (I am not complaining, just want to know where it is hanging)?
Yep there is an interpreter for PHP 5.4 although its seems buggy, static function click throughs dont work on my mac eclipse install and on my windows eclipse install no function click throughs work.
Give it a try
In your eclipse go to
Preferences -> PHP -> PHPInterpreter Then select PHP version to PHP 5.4
If it is not available then you will need to update your PDT
help -> Check for updates
I commented on the bug report you mentioned the other day before i realised there is an interpreter so you can sign up and comment your self go to...
https://bugs.eclipse.org/bugs/
Seems to me the interpreter still needs some work though as would be nice to have better code assist with traits.
PDT versions >= 3.0.0 all support PHP 5.4, including trait support.
The current version, as of writing, is PDT 3.1.0, and 3.1.1 is available from the nightly developer builds update site:
http://download.eclipse.org/tools/pdt/updates/3.1.1/nightly

Installing Drupal 7 locally

When I run the install I get the same error:
Your PHP installation is too old. Drupal requires at least PHP 5.2.5, or PHP 5.2.4 with the
htmlspecialchars security patch backported.
After a few hours of research it seems incredibly complicated to upgrade my version of php (currently 5.2.4 locally on my mac os x 10.4.11) so it appears I need to 'backport the htmlspecialchars security patch'.
Can anyone please point me in the right direction for how to do this? I can't seem to find any documentation.
Have you tried one of the PHP packages from http://www.entropy.ch/software/macosx/php/ to upgrade your local PHP installation?

Using XDebug for Drupal 6.14 on Snow Leopard?

Just wondering if you anybody has had much luck getting XDebug working for Drupal 6.14 on Snow Leopard?
I noticed that Snow Leopard seems to come with php 5.3 which some people say should work with Drupal 6.14, though I haven't had any luck.
After that failed, I tried installing php 5.2 using macports (checking out from CVS at a previous revision number). This works fine for php. However, I have had no such luck getting XDebug going.
Any thoughts???
Thanks!
If xdebug is enabled it should show up if you execute a phpinfo();. After xdebug is configured properly you can connect to it using Netbeans. Download the php version here: NetBeans Download. You will have to create a project and point netbeans to your Drupal install. After that you can set breakpoints and press run.
I created a step by step instruction on how to install and enable Xdebug with Netbeans:
http://lucwollants.wordpress.com/2010/10/10/xdebug-and-snow-leopard-more-cake/
Hope this can also help!

Categories