Bug report: Yii extraction doesn’t work on Ubuntu 11.04, Using Eclipse Indigo. It downloads the file and then gets stuck. The wizard doesn’t closes/ends but the IDE is still full responsive. Clicking “Cancel” will close the wizard. Looking into the directory where the file its supposed to be decompressed, turns out that there’s no yii* directory. Also got full rw permissions in it.
–
EDIT: My bad. I misspelled the destination directory. However the plugin should have a way to inform the user for any errors related to this.
Man, this is pure awesome. Thank you so much for this one
Now what I’ve always missed and do not know how to fix in the view files is the reference to the controller object. Eg when using “$this” in the views, it would be absolutely awesome if I could get autocomplete to work, even if not the real controller (eg PostsController which rendered posts/view.php) but at least CController, it would be useful for $this->createUrl(), $this->renderPartial() etc calls. I have tried doing the following phpDoc thing as suggested somewhere around but it doesn’t work for me on few different eclipse installations…
Error parsing site stream. [White spaces are required between publicId and systemId.]
White spaces are required between publicId and systemId.
Error parsing site stream. [White spaces are required between publicId and systemId.]
White spaces are required between publicId and systemId.
Tried to copy the jar plugin, but either not worked .
Running under windows, eclipse 3.7 fresh install, the navigation works fine. When I run the wizard for a new Yii project, the “initialize project with” options are all disabled. Shouldn’t they be enabled?
I’m getting the following error as well, using AptanaStudio 2 on ubuntu 11.04 with PHP Development Tools (PDT) Version: 2.1.3
Cannot complete the install because one or more required items could not be found.
Software being installed: Yiiclipse Core 1.0.0.201108011652 (org.maziarz.yiiclipse.feature.feature.group 1.0.0.201108011652)
Missing requirement: YiiclipseCore 1.0.0.201108011652 (org.maziarz.yiiclipse 1.0.0.201108011652) requires 'package org.eclipse.php.internal.core.model 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Yiiclipse Core 1.0.0.201108011652 (org.maziarz.yiiclipse.feature.feature.group 1.0.0.201108011652)
To: org.maziarz.yiiclipse [1.0.0.201108011652]
I am getting the following error when I try to install Yiiclipse Core:
Cannot complete the request. See the details.
Cannot find a solution satisfying the following requirements Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.equinox.preferences/[3.2.201.R34x_v20080709,3.2.201.R34x_v20080709]].
I also tried to manually put the .jar file in the dropins folder, but there is no option for a Yiiclipse project. Is there any other way to fix this problem?
Cannot complete the install because one or more required items could not be found.
Software being installed: Yiiclipse Core 1.0.0.201108011652 (org.maziarz.yiiclipse.feature.feature.group 1.0.0.201108011652)
Missing requirement: YiiclipseCore 1.0.0.201108011652 (org.maziarz.yiiclipse 1.0.0.201108011652) requires 'package org.eclipse.php.internal.core.model 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Yiiclipse Core 1.0.0.201108011652 (org.maziarz.yiiclipse.feature.feature.group 1.0.0.201108011652)
To: org.maziarz.yiiclipse [1.0.0.201108011652]
This is on a fresh Ubuntu 11.04 with Eclipse v3.5.2 and PDT v2.1.3.
//ClientController.php is in protected/controlers
public function actionContract($contract_id)
{
$contract = ClientContracts::model()->findByPk($contract_id);
$this->render('detail/contract', compact('contract'));
// note the view is from other controller
//$this->render('//detail/contract', compact('contract'));
//This is not working too
}
Can anybody help me with excluding yiilite.php from PHP Include Path in Eclipse?
I tried “Right click on project -> Properties -> PHP Include Path -> Libraries -> Add External Source Folder -> Access Rules -> Edit -> Resolution: Forbidden; Rule Pattern ‘yiilite.php’ -> OK”, but it doesn’t work. Is it a bug or I do something wrong?
Does exist any ways to exclude this file except removing it? For example, NetBeans or PhpStorm can ignore some files or folders, does Eclipse have such function? It’s not a problem to remove yiilite.php, but there are some dynamic generated files (such as framework/cli/views/*, …) wich I can’t delete…
If we resolve this problem, it helps me to use Eclipse and Yii with more pleasure
P.S. using Yiiclipse I have the same problem. It will be exelent if this plugin exclude “bad” file automatically