zend

Zend Studio SVN -- how do I tell if a file is locked by another user?

Does anyone know how to tell if a file is currently locked by another user in svn using the Zend Studio IDE? Cheers. ...

Mixing Zend and Old Procedural code

We have a really old legacy code base that uses globals like they're going out of fashion - nearly all of the inter-page communication is done via globals and sessions or both. This could be changed as a last resort but ideally I don't want to touch any of it as everything I touch could introduce more bugs :-p. Anyway, We're incorporati...

PHP 5.2.9 build fails on zend_execute.lo - out of memory?

I'm trying to get PHP compiled with EXIF support. Every time I try to build PHP 5.2.9 on my virtual dedicated server running CentOS 5.3, it fails when it gets to building zend_execute.lo. I tried compiling just that file by itself, and it fails. Says out of memory allocating [####] bytes after... something. How can I get PHP compiled...

Integrate Doctrine with Zend Framework 1.8 app

I'm interested in using Doctrine as an ORM for a new Zend Framework app I'm writing. I'm trying to figure out the best way to integrate it as straightforward as possible. Every example I find is different, and a lot of them pre-date the new autoloading features in ZF 1.8. None of them have worked for me yet. Does anyone have a good way ...

PHP / Zend complains about undefined variables.

The situation: index.php: <?php include("foo.php"); include("baz.php"); foo("bar.php"); ?> baz.php: <?php $x = 42; ?> foo.php: <?php function foo($p) { include_once($p); // please dont mind the inclusion hole } ?> bar.php: <?php echo $x; ?> Zend notice: Undefined variable: x Placing global $x;...

How many percent we need to pass Zend Certifieed PHP5 Exam

How many percent we need to pass Zend Certifieed PHP5 Exam? ...

Mapping PHP and Flex Objects.

I am using ZendAMF for remoting. <?php error_reporting(E_ALL | E_STRICT); //error reporting, not needed require_once "Zend/Amf/Server.php"; //the zendAMF server require_once "process.php"; //our test class $server = new Zend_Amf_Server(); //declare the server $server->setClass("process"); //load our test-class t...

'Invalid controller specified' Since Moving to Modular Structure

I set up a Zend Framework application using Zend_Tool, but I wanted multiple modules (admin and default). I moved the controllers, models and views for default into modules/default, then created an admin module and some controllers. I then added this line to my config file to specify the modules directory: resources.frontController.modu...

Does any one have an example of a website build in ZendFrameWork?

I want to know what this looks like. I don't have any ideas about ZendFramework, and that makes me sad. :( If any one knows of a site which is built in ZendFramework, or has any other experience with it, please do let me know your thoughts. ...

Zend framework web app not coming up?

I am trying to get a web app made on Zend Framework up but am encountering this error Warning: require_once(Zend/Loader.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/worm/index.php on line 17 Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader.php' (include_p...

Running PHP Zend Test in Eclipse

Is it possible to run PHP Zend test cases (those that extend Zend_Test_PHPUnit_ControllerTestCase, etc.) through Eclipse PDT? I would like to be able to run them in a similar fashion as you run JUnit tests in Eclipse, by right-clicking the test file and selecting "Run as a JUnit test case." I'd love to see the green or red bar instead...

How to run XDebug and Zend side by side?

Hello I am using a PHP shopping cart which requires me to use Zend Optimizer. I am using Netbeans as the IDE, and it requires Xdebug, but that's incompatible with Zend. These are the lines in my php.ini zend_extension_ts = "D:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll" zend_extension_manager.optimizer_ts = "D:\xampp\php\z...

PHP Debugger with Unit Testing

Hello All, I have gotten the Zend debugger to work with PDT 2.1. On the project I'm working on, I do unit testing with PHPUnit but running the debugger won't catch any of the breakpoints until I make some instances of the test class and then run the tests manually. This is an issue, as I'd like to have the code base remain independent...

How do I add an array as an Object Property to a class declared within a PHP extension?

I want my PHP extension to declare a class equivalent to the following PHP: class MyClass { public $MyMemberArray; __construct() { $this->MyMemberArray = array(); } } I'm following the examples in "Advanced PHP Programming" and "Extending and Embedding PHP" and I'm able to declare a class that has integer prop...

MySql driver not installed error for Zend application

I am trying to get my ZEND application up on my apache server running on UNIX. Initially my host didnot give PDO support ,and i got it enabled by requesting them with a mail.But now I am getting an error saying The mysql driver is not currently installed The stack trace is like: An error occurred Application error Exception informatio...

Google Calendar PHP - Event URL / ID? (Zend_Gdata)

Hey everyone, I have modified my PHP web app to add events to a Google Calendar. Currently, it adds successfully. However, now I wish to delete and edit events. This seems easy to do, except for the fact that I don't know what event URL is associated with each event. Am I supposed to set this event URL (or ID?) upon adding an event? H...

Zend Console programming sample

how to write a sample console application with Zend /Zend/Console/Getopt.php i just want to pass a value as -v and will get the version information input as prjectfolder/console/version.php -v out put Version 1.xxxxx how to code in zend. Just simple php with send lib includes methods. ...

Obtaining parameters passed with zend php _forward

Hi, A simple question really. I am using the _forward function in the Zend Php Framework. $this->_forward('formview', null, null, array('test'=>'penu')); So Im forwarding to the formview action with the same controller with the paramater test = 'penu' However how do obtain this value when I am in the action which I am forwarded to. ...

Frustration with Zend_Gdata and obtaining an Event URL for Google Calendar

Hey everyone, I posted a question about this last night, but I don't think it was clear enough. I am using the Zend_Gdata package with PHP to add events to my Google Calendar. I can successfully add events. However, when I add an event, I want to add that event's URL to a database so that if I ever need to delete that event, I can ret...

Zend Layout and Bootstrapping

So i'm using the standard Zend Layout for my site. I have a number of custom controllers and views, and the content of these pages is displayed, but the details in the head element of the layout.phtml are not shown. Do i need to manually associate the Zend_Layout with each specific controller?. I expected since the layout is loaded via t...