I am just trying to test out the new Zend Studio 7.2, and in the beginning I was able to create proper project files just fine, but for some reason, not it doesn't want to create them I just receive empty files, plus some "error icons" on top of the files.
I have Zend Server (Community Edition) installed and trying to see if that will help the problem, but it too doesn't seem to be helping.
Things I have done to try and solve the problem:
Re-Install the software
File -> New -> New Zend Framework Project
Create project on local server
Create project in workspace
Create project at existing location
Changing the project layout from "Default project structure" to Zend Framework and Dojo structure, just to see if that would kick something into gear. But no go.
I am at a loss, I would like it if Dreamweaver was smart with Zend Framework but it isn't from what I can tell. So I want to try this.
Is there any suggestions as why this might be happening?
Dreamweaver CS5 was my answer. Although it may not have every little trick in the book for Zend Framework, it at least has half-decent code hinting.
Related
I'm new to Zend, and i'm trying to create my first zend application. I'm following the tutorial here. http://akrabat.com/zend-auth-tutorial/
Unfortunately, i'm using xampp. I found that it arises some conflictions when using xampp with zend.
i have added
C:\xampp\php
to my system variables and I edited include_path in php.ini file to
.;C:\xampp\php\PEAR;C:\xampp\htdocs\zend\library
But when i'm trying to view my newly created project, it outputs this error.
Fatal error: Class 'Zend\Filter\AbstractFilter' not found in C:\xampp\htdocs\zf-tutorial\library\Zend\Filter\Inflector.php on line 19
I have no idea since i'm new to Zend. Please help me out guys...
I just found this question because I was having the very same problem, hopefully it will be useful in the future, sorry for resurrecting a fairly dead post.
For me, this problem was because I downloaded zend framework 2, and added that Library to my include path in PHP. However it turned out that my OS (A linux distro called crunchbang) comes with zend framework 1.1 pre-installed.
My autoloader was loading basically everything from the 1.1 library, and when it didn't find it, it fell back to the 2.2 library, it found the Inflector in 2.2 but for whatever reason, didn't find the AbstractFilter that was right next to it.
I figured this out by adding a register_shutdown_function that blurted out all the included files, using get_included_files().
Once I had figured out the problem, it was an easy enough fix, I removed the zend framework 2.2 include from my PHP config, and presto, everything was golden :)
Regards,
Phil,
I am trying to get the Zend Framework (ver 9 Studio) to deploy and actually run on my local IIS server.
I have created a very simple little app using the built-in wizard. It works fine if I run it on the Apache server that comes with Zend. But I tried to copy the files over and run it on IIS, and I get errors.
It appears that it is missing the links to the libraries. I've tried manually isolating and grabbing the missing libraries and putting them into the /library folder. This is a good start but I still get other errors down the road.
I found a tutorial out there that comes with an example of a Zend Project that runs in IIS. But, it pretty much has the same problems as the project I created. More missing libraries. The tutorial includes some neat new tricks like a web.config that is supposed to replace the need for the .htaccess that Apache uses.
That's how far I've made it. This is all very frustrating. Does anyone have a simple example like that tutorial promised? If not, just some good information would be helpful.
you need the rewrite module, Rob Allen has a little tutorial to help. The biggest problem is usually the rewrite module, because you have to install it seperately.
I have eclipse 3.7.2 to work on PHP projects that are on remote Linux servers that can be accessed by SSH.
I installed eclipse RSE (Remote System Explorer) and I used it to add a remote project and configured it as a PHP project.
best practices for Zend Framework 2 projects is to include the used Zend Framework version within the sources of the application, but what happens then is that whenever I reopen eclipse it tries to build the project and validate the entire zend framework directory.
how can I choose that the auto builder will ignore that directory since it's not something that I modify. in general I have no idea why it needs to validate that directory every time and it does not check for md5 on the directory content before trying to validate every time. but it this can't be fixed, i need to ignore the entire zend framework directory foom auto building.
using Eclipse 3.7.2 with PHP plugin.
using Zend Framework 2.0 beta4 with basically the skeleton application and modules that are provided from the zend framework site.
thank you! :)
In the latest ZendSkeletonApplication, you'll see in index.php that you can place ZF2 outside of the project as long as you set the ZF2-PATH environment variable.
it seems that it's possible to do that.
i just need to right click on the directory i want to exclude from auto-building.
then to go to Build Path => Exclude.
this excludes the directory from auto-building and resolves the issue.
I'm reading Reference Guide::Create Your Project. And it's written there:
In order to create your project, you must first download and extract Zend Framework.
After you have installed Zend Server, the Framework files may be found
under C:\Program Files\Zend\ZendServer\share\ZendFramework on
Windows. The include_path will already be configured to include Zend
Framework.
I didn't download Zend Framework or installed Zend Server (I have XAMPP installed with Apache and have localhost and can load php files in browser. I don't need any more server, I think). I just downloaded and instaled Zend Studio 9 and after the instalation I went this way:
File --> New --> Example...
and chose Zend Framework Example Project and named my project "zend_project_example".
Then it was written that somthing was being instaled and it took quite a long time. Then I got this tree in the PHP Explore folder. And I even opened the Controller code from Zend Framework Library:
So it seems I have ZF, but I don't have anything in:
C:\Program Files\Zend\ZendServer\share\ZendFramework.
In fact I only have Zend Studio 9 folder threre: C:\Program Files\Zend\Zend Studio 9.0.2.
No any \ZendServer\share\ZendFramework
And in the Reference it is written:
Open a terminal (in Windows, Start -> Run, and then use cmd). Navigate
to a directory where you would like to start a project. Then, use the
path to the appropriate script, and execute one of the following:
% zf create project quickstart
I doesn't work for me. I can't do any steps farther in the Reference Guide. What should I have to solve and what should I have to do next to follow the Referance right way?
Thank you.
Zend Studio is just an IDE - an environment which is supposed to make developer's life easier. You need a server to run your projects on localhost. You quoted
After you have installed Zend Server,
and you wrote
I didn't download Zend Framework or installed Zend Server,
You can't expect the tutprail to work if you don't do what it says.
http://www.zend.com/en/downloads/
this is to download link for zend server and which would you like preferred you choose and you save manually and double click on setup file easy to install on your system
I have a mac, and want to set up Zend Server. I am not a php developer but experimenting and when in stalled it and all, i can access the administration control etc, but when i try to add my own code to the rood documents folder, it says it can't find the site. Im not sure if it is the right place to put it, but its located in the same folder as the zend server symlink.
Are there any other tweaks I'm supposed to do? I just installed using the dog installer package that zend has for the mac.
Any help would be awesome.
I think what you need is a screen cast to better understand the concept, so here is one:
http://www.youtube.com/watch?v=097GoCeZm2U