zend

Zend Cache - problem with deleting cache files

I have an strange problem with Zend Cacke (File Backend) running on linux with apache and php 5.2 The files are stored in /myspace/tmp1 Directory has the persmission: drwxrwxrwx 2 nobody nogroup 8192 2010-09-20 13:35 tmp1 The created temp file has the following permissions: -rw------- 1 nobody nogroup 317 2010-09-20 13:40 conten...

How to set up zend debugger and zend studio for groups of users

How to set up zend debugger and zend studio for groups of users?. Here is my zend debugger settings: zend_debugger.allow_hosts 212.98.163.244,86.57.250.3,91.149.157.77,127.0.0.1/24,192.168.1.0/24,192.168.1.45 212.98.163.244,86.57.250.3,91.149.157.77,127.0.0.1/24,192.168.1.0/24,192.168.1.45 zend_debugger.allow_tunnel 127.0.0.1/24,192.168....

zend framework deployment in server

I have a server, where I have uploaded my work in zend framework(in a subdomain). the folder name is 'visit'. So, When I go to: http://mysitename.com/visit, it shows a directory structure: Parent Directory application/ docs/ library/ nbproject/ public/ tests/ But when I go to: http://mysitename.com/visit/public, i get the index page ...

How do i access the array from Layout to Controller in Zend framework

Say for example in mydefaultlayout.phtml i have an array declared in this way $pages['words'] = array( 'APPLE', 'BALL', 'CAT', 'DOG', 'HELL', 'INK', 'PINK'); $pages['letters'] = array( 'A', 'B', 'C', 'D', 'H', 'I', 'K'); Mydefaultlayout.phtml has been my default layout in the entire application so it is available to every controller ...

Zend Auth locked session

Hi there, i nearly frustrated with how Zend handling session. here is my case. i write a auth plugin that always check the the user credential utilize Zend_Auth. and when invoke hasIdentity function from zend auth, it will automatically start the session. and the problem come when i have a long process that i need to execute. the sess...

Error with htaccess rewrite

hi. I have a problem with two htaccess files that i have in a hosting at godaddy. I have multiple domains in the same hosting and therefore i usen htaccess which i found and which is working great: RewriteEngine On RewriteBase / # To redirect www.site1.com to /site1/ RewriteCond %{REQUEST_URI} !^/site1/ RewriteCond %{HTTP_HOST} ^(www\....

Building a select distinct on mysql ( zend_db)

I HAVE THE FOLLOWING TABLE, I WOULD LIKE TO GET to do a select distinct on the the column [code], i don't need to get the "A" three times. [ ID ] [ CODE ] [ LIBELLE ] 1 A LIBELLE1 2 B LIBELLE2 3 C LIBELLE3 4 A LIBELLE4 5 A LIBELLE5 6 D LI...

How do i assign values to the Select Box or hidden value retrived from function

Iam calling a PHP custom function with different parameters which returns a different arrays based on parameters . //Array1 array(1) { ["INDEX_NAME"]=> array(1) { ["XEROX PRINT "]=> string(8) "XEROX VALUE" } } //Array2 array(1) { ["INDEX_NAME"]=> array(2) { ["XEROX PRINT"]=> string(8) "TEST2" ["XEROX PRI...

Zend PDF - Permission problem

I have a simple problem but somehow I cannot solve it. I want to create a pdf file and therefore I tried the example provided by Zend (here). When I run the code I get the following error: "PDF error: Can not open 'example.pdf' file for writing". I think the problem are the permissions. But I don't know which file should get the write pe...

Using Zend Framework for highload projects

Hello. Zend Framework is a good framework but not very fast. Can you tell whether it's worth using Zend Framework for highload projects, for example, for email marketing service that can inlude about ten or houndred thousand of users? Is it possible to achive acceptable performance using Zend Framework? Has anybody such an expirience? T...

Zend code standard, how I can check it?

What's the best way to check zend code standard? I'm thinking the PHPCS (PHP Code Sniffer) not efficiently because it not complain about php doc and many other things :( Doc: http://framework.zend.com/manual/en/coding-standard.html ...

Zend Studio 7.2 showing error on namespaces?

I have these namespaces defined in my bootstrap file: use Doctrine\Common\ClassLoader, Doctrine\Common\Annotations\AnnotationReader, Doctrine\ODM\MongoDB\DocumentManager, Doctrine\ODM\MongoDB\Mongo, Doctrine\ODM\MongoDB\Configuration, Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver; But there is an error on th...

Zend Framework and Wordpress Integration

We have an existing Zend Framework site hosted at ourdomain.com and a wordpress blog at blog.ourdomain.com We want to migrate the blog into the site at ourdomain.com/blog - but I seemed to have googled to the end of the earth and cannot find out how. I have tried various .htaccess stuff, setting up a blog controller and including some w...

Scaling a PHP website

Hi, Is there a standard solution to scale up a website which runs on PHP + Apache web server ? As in I get a traffic of about 100,000 requests/day as of now. 6 months down the line I expect it to grow to 200,000 requests/day. The first cut solution which comes to my mind is deploying more Apache web servers with mod_php, but something s...

Creating website using Zend Frame work

I have installed zend server on my local system.I created one project folder using this command line argument zf create project quickstart The project folder is created on C:\Program Files\Zend. How i can run the project in browser. http://localhost/zend/ ...

Zend sending email

hi all, i have a project that need to send email. and i use zend as my framework. i use XSL for email templat and save email parameter as array that will turn to XML before send the email. i create my own implementation multithread class utilize CURL for sending email. any better development approach for queue & sending email ? ...

Zend Frame Work Data base Configuration and connection

I have installed zend server for zend framework.I didnt install xampp or wampp.Which software i have to install for database configuration. ...

Zend Framework on iis7.

Recently setup a site on my windows server running Zend Framework and only the index.php page shows correctly. All other internal pages look like they are being redirected to index.php with the URL being rewritten as the correct page URL. Really strange and can't seem to figure out if it's the server configuration or the retire rules in ...

Zend Mail - how to read without emails being marked as opened

I'm using zend mail extended with zend_mail_storage_imap and I built an application that looks for keywords in user's emails. The problem is that it opens up each email and keeps it marked as read. Is there a way to check the body of emails and not mark each mail checked as read? Here's current working code. It's part of an ajax qu...

Zend_Soap : How to define return type struct in doc block?

I have a Web service set up using Zend_Soap, and some public methods in that Web service. The fact is i want to return a complex type. For instance, if i want to return a bidimensional array, like a rowset of a table how should i specify the doc block? This is one of my cases. I want to return an array each element having an int and two...