Parser error when editing php

6 messages Options
Embed this post
Permalink
oliviert-2

Parser error when editing php

Reply Threaded More More options
Print post
Permalink
Hi the parser is not functionnal for me at all, and i can not find the reason.

So i do not have any side tree, of all my functions and variables.



Here are screenshots of the error:



thanks for your help, without this working, netbeans is just another text editor




Attachments:
http://forums.netbeans.org//files/nberr2_124.png
http://forums.netbeans.org//files/nberr1_183.png


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

radek matous

Re: Parser error when editing php

Reply Threaded More More options
Print post
Permalink
oliviert wrote:

> Hi the parser is not functionnal for me at all, and i can not find the reason.
>
> So i do not have any side tree, of all my functions and variables.
>
>
>
> Here are screenshots of the error:
>
>
>
> thanks for your help, without this working, netbeans is just another text editor
>
>
>
>
> Attachments:
> http://forums.netbeans.org//files/nberr2_124.png
> http://forums.netbeans.org//files/nberr1_183.png
>  
Please, take rather development builds from:
http://bertram.netbeans.org/hudson/job/PHP-build/

should fix your problem
Radek




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

oliviert-2

Parser error when editing php

Reply Threaded More More options
Print post
Permalink
In reply to this post by oliviert-2
I just tried the dev snapshot and the same problem occur...



Could it be something wrong on my machine, outside of netbeans ?



I do use the sun jdk (latest).

i tried with openjdk, it's the same.



So, i'm lost with this error.





---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Petr Pisl

Re: Parser error when editing php

Reply Threaded More More options
Print post
Permalink
Hi,

could you try to run NB with new userdir from command line? Just run the
netbeans from bin folder with --userdir {path to new userdir}.

Let me know, whether it helps or not.

Regards,
Petr

> I just tried the dev snapshot and the same problem occur...
>
>
>
> Could it be something wrong on my machine, outside of netbeans ?
>
>
>
> I do use the sun jdk (latest).
>
> i tried with openjdk, it's the same.
>
>
>
> So, i'm lost with this error.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

oliviert-2

Parser error when editing php

Reply Threaded More More options
Print post
Permalink
In reply to this post by oliviert-2
Hi,



i was under root in terminal.

i launch netbeans with option --userdir /path/to/userhome



this user had never use netbeans before.

So the .netbeans in this user home directory have been created.



But when i tried to edit a php file from a new project that was not a netbeans project before, i did have the same error htat occured.



So i do still have the problem, and really i can not find why;



I'm under FC11, with the latest jdk from Sun.

I'll try to install netbeans on a windows virtual machine that run under my FC11, and let you know if i do experience the same problem.



BTW Thanks for your help





---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

oliviert-2

Parser error when editing php

Reply Threaded More More options
Print post
Permalink
In reply to this post by oliviert-2
:D I solved this problem by doing:



reinstall latest jdk from Sun.

and set correctly all java alternatives and slave, especially for:

java

keytool

rmiregistry

javac

jar

rmic



alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_16/bin/java 120 \

--slave /usr/bin/keytool keytool /usr/java/jdk1.6.0_16/bin/keytool \

--slave /usr/bin/rmiregistry rmiregistry /usr/java/jdk1.6.0_16/bin/rmiregistry



alternatives --install /usr/bin/javac javac /usr/java/jdk1.6.0_16/bin/javac 120 \

--slave /usr/bin/jar jar /usr/java/jdk1.6.0_16/bin/jar \

--slave /usr/bin/rmic rmic /usr/java/jdk1.6.0_16/bin/rmic





And set my default java with:

alternatives --config java





so i the edit my et/netbeans.conf  (in netbeans directory) to set my new jdkhome



Launch netbeans and Voila!

everything is running well





---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]