zend-studio

Zend-studio does not recognize my Zend_form class insde my admin module

In my application all works fine. But in zend studio, I got an alert saying that my Admin_Form_... does not exist. If I put this form in root of application folder (application/forms) I can use autocompletion and my class is regonized. But if I put in a module specific directory, it is as if my class didn't exists. What should I do to ...

Zend Studio: How do you add a new action to an existing controller via the IDE?

If you simply add the code it doesn't do the automatic action wireup in the .zfproject.xml file. Does the IDE support a way to add additional Actions to an existing controller without manually using the command line tool? Adding the following information: I was actually looking for a built in way to update the zfproject.xml without usi...

jQuery integration problem in Zend Studio/Framework

Hi everybody, I'm struggling to build a simple zend framework application that can call jQuery. So, what I'm working under Zend Studio 7.1.1 where I added, in the library folder, the "ZendX" folder. And, I also downloaded the jQuery lightness theme that was added to the "js" public folder. You'll find the whole structure is like that: ...

How to increase productivity with Vim and Eclipse for PHP5.3 projects (possibly using Eclim integration with Zend Studio)

I always strive to increase my productivity when developing applications and in the span of the last few years, I can say that I have made good steps towards increasing that productivity, but I still find I need more tools or methods. I need to edit faster and learn touch typing (currently in the process) and therefore I find a need to m...

Zend scripts not setup correctly I think

When Ive created a new controller, ie in this case Authenticate, Ive also created the folder and file application/views/scripts/authentication/index.phtml Not a problem when hitting the url http://dev.local/authentication/ but when calling any action ie http://dev.local/authentication/login, I get the error below. Message: script 'aut...

How to set args when debugging a php cli file in zend studio?

In a prompt we can run: php filename.php args But how to set the args in zend studio? I've searched for this some time,and don't seems to find the example. I can only debug without args by simply pressing F5 ...

How can I open my project in Zend? I accidentally removed it from the left pane.

I accidentally removed the application from the left pane and now I can't get it back no matter what I do. I tried opening the .solution file from within Zend Studio, but it only loads the file, not the entire solution. How can I have it load the entire application? Edit: I still can't what to open. In Visual Studio, you can open a pr...

How can I use CSS to set as my <li> background if I'm using the Zend framework?

Everything else 100% works, so I'm 100% positive the error lies in the file path I'm using for the image. The image doesn't load. Either A) I need the file to appear in the Zend workspace, how do I do that. or B) My path is wrong. Here's my file heirarchy: And here's my CSS code: #nav-menu li{ float: left; margin: 0 0....

Zend Studio Debugger returns Application Error

When I run debug for my public/index.php I got an application error as output. <?php class Model_DbTable_FeedEntries extends Zf_Db_Table { public function fetchNewEntries($feed_id) { $Feeds = new Model_DbTable_Feeds(); $Feed = $Feeds->getById($feed_id); // ERROR IS HERE! The column doesn't exists! /...

Is there a place I can find all the extensions of PHP?

Now I'm seeking of php_pdo_mysql.dll version 5.2.5.5, only found this: http://dllcentral.com/php_pdo_mysql.dll/5.2.5.5/ But my zend studio 5.5 says it's invalid! Is there any other place I can try my luck? ...

How to pass request variables like controller and action to Zend Studio debugger (zend-debugger)?

Hi, it's the first time I use Zend Studio to debug an application and I'm a little bit lost on how to specify request parameters when debugging as a php script. ...

Zend Studio cannot detect Zend Server

PHP Version 5.3.1, Zend Studio 7.1.1.v20091227 Zend Server Community Edition 5.0 (Build: ZendServer-CE-5.0.0GA_RC181-5.3.1-Windows_x86) Apache/2.2.14 (Win32) mod_ssl/2.2.14 OpenSSL/0.9.8k Windows 7 Home Premium 64-bit I have installed Zend Studio, downloaded and installed Zend Server. Zend Studio does not automatically detect Zend S...

Format PHP Source Code on Save with Zend Studio for Eclipse

I would expect this option to exist in PHP -> Editor -> Save Actions but the only thing available there is to "remove trailing whitespace"... It's available in JavaScript -> Editor -> Save Actions but not php :( Is there a plugin that will let me do this? ...

In Zend studio, how to tell the ide the type of a variable, so I have auto completion?

In php we use includes. So variables defined in one file and then their scope spans included files too. Zend studio has no idea how to get the type of the variable I am using inside an included file, this is very annoying when the variable type is a big class. Is there a way to hint the ide about variable types? in included files? ...

Autocompleting MVC View Variables in Eclipse PDT/Zend Studio

When using Zend Studio to write views for a MVC framework, is there any way of having those variables autocomplete, perhaps using PHPdoc? For example, I set a variable in a view called $cart which is an instance of my ShoppingCart class. When I type "$cart->", I'd like the IDE to pop up with all of the objects properties. ...

Zend Studio code formatter problem with comments

Hi, i have Zend Studio 7.x, mostly use it for Zend Framework PHP and OOP JavaScript. When i run formatter on *.php file, often space is added after block of inline comments Before formatter run: <?php function someAction() { // some note // second line if ($foo) { } } ?> After: <?php function someAction() { // some note //...

zend studio 7 creating .sharedentries and .listing

i created project in zend studio and there are files called .sharedentries and .listing gets created on all folders and sub folders of the project, its annoying, cause i would have to delete all these files and then upload. does anyone know what can i do to turn this off, so it dont create it anymore? ...

Zend Studio Intellisense + zend Framework

Hi. I've got a very annoying problem with my Zend studio. I have a zend framework project I am working on. The actual zend framework code is inside my project (in library folder) and then ZS seems to reference to its own version of zend framework. As the result, I get 2 versions of the same function/class in my intellisense which is anno...

Suppress warnings in Zend Studio

In Eclipse writing Java, it's easy to suppress warnings on some scopes, by annotating a method or variable within the IDE. Is it possible to suppress warnings at scopes while writing PHP within Zend Studio 7.0? ...

Add php extension (geoip.so) to Zend Studio for code validation

Hi everyone, just have a short question here. I've just installed new php extension (geoip.so) using pecl to /usr/local/zend/lib/php_extensions/ and added the extension to the php.ini. Run the code and it works just fine. But Zend Studio is giving warning of undefined geoip function. Try to add the directory path above to the include pa...