xzer / smartypdt

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

New Smarty error #66

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Unable to create the selected preference page. 
org/eclipse/php/smarty/ui/preferences/SmartyBasePreferencePage : Unsupported 
major.minor version 51.0

this is a problem with Smarty 091

Original issue reported on code.google.com by scuottol...@gmail.com on 14 Mar 2013 at 11:57

GoogleCodeExporter commented 8 years ago
I get the same error with smartypdt-0_9_1.zip and Zend Studio 10.0.
When I try to open .tpl file I get: 

Could not open the editor: 
org.eclipse.wst.xml.core.internal.document.DOMModelImpl cannot be cast to 
org.eclipse.php.internal.core.documentModel.DOMModelForPHP

Any solution?

Thanks :)

Original comment by decr...@gmail.com on 9 Apr 2013 at 3:05

GoogleCodeExporter commented 8 years ago
same here.  Annoying since it was working when I first set it up (with Studio 
10.0) but had to do a re-install and now I'm getting this

Original comment by AllCdn...@gmail.com on 23 Apr 2013 at 4:07

GoogleCodeExporter commented 8 years ago
I've tried reinstalling both Zend Studio 10.0.1 and SmartyPDT 0.91, but no 
luck.  So, I tried installing SmartyPDT .90 and it works.  Guessing it has to 
do with having Zend and SmartyPDT .91 being previously installed before and 
possibly not being properly uninstalled.

Original comment by AllCdn...@gmail.com on 23 Apr 2013 at 4:56

GoogleCodeExporter commented 8 years ago
This issue is connected with your java version. Try to change java settings in 
your studio. I had the same issue, now I have the other one;/

Original comment by kpyr...@gmail.com on 23 Apr 2013 at 5:07

GoogleCodeExporter commented 8 years ago
>Try to change java settings in your studio.

which one?

Original comment by arv...@gmail.com on 27 Jun 2013 at 6:57

GoogleCodeExporter commented 8 years ago
Could not open the editor: 
org.eclipse.wst.xml.core.internal.document.DOMModelImpl cannot be cast to 
org.eclipse.php.internal.core.documentModel.DOMModelForPHP

It depend's which java You use. SmartyPDT .91 desn't work with Eclipse started 
with java-6-jre. Try to run Eclipse with java-7-jre it should work.

Original comment by mmack...@gmail.com on 17 Dec 2013 at 11:26

GoogleCodeExporter commented 8 years ago
does anybody has any solution. I have same issue here

Original comment by baharam...@gmail.com on 7 Jan 2014 at 9:44

GoogleCodeExporter commented 8 years ago
This issue is connected with your JDK / JRE please change eclipse JDK 1.7 works 
for me

eclipse.ini =>

-vm
C:/java/jdk1.7.0_45/jre/bin/server/jvm.dll

Original comment by mr.tan.a...@gmail.com on 17 Jan 2014 at 10:06

GoogleCodeExporter commented 8 years ago
Hi guys, the problem is connected with the varibles set in the eclipse.ini or 
ZendStudio.ini this is the way:

http://kb.zend.com/how-to-change-the-jre-used-by-zend-studio-for-eclipse/

Original comment by ultrane...@gmail.com on 21 Jul 2014 at 7:37