Hi my problem with Zend Framework...
unfortunately not solved after 3 hours of searching:
I have a modular Zend Application, which is working fine if i have my module and error templates in the called module.
If i delete error/error.phtml out of views/scripts/ a Fatal Error is showing up that there is no directory.
To cut a long story ...
How can i write a cloud-aware application? e.g. an application that takes benefit of being deployed on cloud. Is it same as an application that runs or a vps/dedicated server? if not then what are the differences? are there any design changes? What are the procedures that i need to take if i am to migrate an application to cloud-aware?
...
In ZF you create a project by running this command:
zf create project MyProjectName
But how does one load a project that already exists?
I don't see anything in the documentation that specifies a zf load project or zf set project or something like that.
Thanks.
...
I am trying to get logging via the application.ini file going and I am getting stuck with an error.
resources.log.db.writerName = "Db"
resources.log.db.writerParams.db.adapter = "PDO_SQLITE"
resources.log.db.writerParams.db.dbname = ROOT "/data/tmp.db3"
resources.log.db.writerParams.db.table = "logs"
resources.log.db.writerParams.db.col...
Hi all,
I got an issue setting up Zend_Acl, I got it pretty well setup and running but I realised that in some forms where I'm using zend_dojo, dojo doesn't actualy gets loaded.
Without going to I have setup my access list, as soon as I call the line isAllowed with the name of the resource taken from the request object, dojo is not loa...
Hi Everybody,
inside of my Zend_Db_Table_Rowset Object i found this:
["_primary:protected"]
... does anybody if theres a way to access this? ... maybe something like
$rowsetObject->getPrimary()
Thanks for your help,
Alex
...
Hi guys I'm trying to upload a document to google docs but I'm getting an error namely an
Unknown authorization header Error 401
to be exact.. I'm developing for google apps marketplace here - my code for uploading is:
$client = getGoogleClient();
$docs = new Zend_Gdata_Docs($client);
uploadDocument($docs, true, $FILES['file']['name...
Do you know any real life examples of actionStack() action helper in Zend Framework?
It seems quite a big overhead to have multiple dispatch loops. Then when it is really needed?
...
How to create reasonable expression to store password in database using Doctrine and Zend_Auth::setCredentialTreatment()?
I don't want to use md5() and the code must be portable, and with salt.
I would call this not easy one to guess:
setCredentialTreatment("SHA1(CONCAT(username, SHA1(CONCAT(username, ?)))");
but it is not portable t...
We have a category called "Clearance" on our Magento website. Ideally it would be nice to be able to get a report of all orders sold in that category.
Is there anyway I can join the orders collection with the products collection and filter by category id?
Here is a similar thread:
http://www.magentocommerce.com/boards/viewthread/44296/...
Hi guys,
do anyone suggest using an external ORM like Doctrine/Propel over the defualt Zend_Db_Table in Zend Framework ?
I think your answers with reasons would be valuable across the ZF community.
-DevD
...
Hi guys I'm dabbling in google docs with Zend GData library - and succeeded to upload documents to google docs. However I would like to know how would it be possibel for me to upload a document and overwrite the document on google docs? Assume that I just have the docid which refers to the document on google docs.
Thanks again - I'm usi...
Hi guys I'm trying to interact with google contacts. I can add new contacts to the address book but when it comes to adding details which are custom in nature like lets say 'sport' I'm trying to use the extendedProperty type but its not working .. check my code
$elem = $doc->createElement('gd:extendedProperty');
$elem->setAttribute('na...
Hello having some issues with the recaptcha service in Zend framework , when loading some form that contains recaptcha dynamically (trough .load())
any body knows how to pass the issue?
...
Can anyone help with extracting text from a page in a pdf?
<?php
$pdf = Zend_Pdf::load('example.pdf');
$page = $pdf->page[0];
I would assume a page method would exist but I could not find anything to let me extract the contents.
Example: $page->getContents(); $page->toString(); $page->extractText();
...Help!!!! This is driving me cr...
I am trying to include a variable in a .ini file setting by surrounding it with curly braces, and Zend is complaining that it cannot parse it properly on Linux. It works properly on Windows, though:
welcome_message = Welcome, {0}.
This is the error that is being thrown on Linux:
: Uncaught exception 'Zend_Config_Exception' with mess...
I have a folder with custom classes in a ZF 1.10 application. The folder is located in /library. How can I tell ZF where they are? Both application.ini and index.php set the path to the library but then ZF can't find the files.
Thank you
...
Hello,
I'm going to host an app on a shared host and there I couldn't create virtual host or change something at apache.
Often apps with ZF looks like that:
root
public
index.php
.htaccess
application
library
I have sth. like that:
root
application
index.php
.htaccess
All my code is in the application folder.
Bu...
How should I format very long strings in my source code?
I follow the rule, that line of code should not be longer than 80 characters.
(The other rules are Zend Framework formatting standard)
e.g.
protected $_messages = array(
'key1' => 'very, very long string lorem ipsum dolor sit amet…',
'key2' => 'this one it very long too,...
Hi,
I'm trying to update the session table used by Zend_Session_SaveHandler_DbTable directly after authenticating the user and writing the session to the DB. But I can neither update nor fetch the newly inserted row, even though the session id I use to check (Zend_Session::getId()) is valid and the row is indeed inserted into the table....