It's not the re-write; that's working. I followed the instructions on this
article
http://devzone.zend.com/node/view/id/70
And found the re-write is working fine, but it's still throwing a missing
controller error -- which is visible in the index page when you run in
Eclipse. The framework is
I switched to a different workspace and am able to get past this error.
(It's no longer looking for the Zend library file path that had somehow
gotten linked to a (now invalid) location.)
Now it's looking for a controller based on my complete directory path, and
it's not skipping over the direc
I was wondering if anybody has done any work on a JSON Schema [1]
component or if there is any interest in such a component.
Christoph
[1] - http://groups.google.com/group/json-schema
Hi, I cannot seem to get any of the sample projects working. I can get it to
work in the browser, and the initial page does show up as expected, but I
cannot run any of it through eclipse, as all I get is an "invalid
controller" message, called from the main index.php:
$application->bootstrap();
-- MarkDNA wrote
(on Wednesday, 17 June 2009, 02:10 PM -0700):
> lightflowmark wrote:
> > I feel I'm missing something with Zend_Loader_Autoload, as I can't make it
> > do what I want!
> >
> > I think the relevant points are:
> > 1) my models are are in a models directory and are not prefixed -
-- Juan Felipe Alvarez Saldarriaga wrote
(on Tuesday, 16 June 2009, 11:56 PM -0500):
> Hey, Matthew, just to know, the action helper will be removed soon ? because
> some people doesn't like it (like action stack :P), the best approach here
> will
> be create a view helper ?
Yeah, I probably sho
Stratocaster wrote:
>
> Your main 'Bootstrap.php' file should look something like this:
>
> class Bootstrap extends Zend_Application_Bootstrap_Bootstrap {
>
> protected function _initAutoload()
> {
> $moduleLoader = new Zend_Application_Module_Autoloader(array(
>
On Tuesday 16 June 2009 06:36:58 pm MARTIN Nicolas wrote:
> Hi all,
>
> I use Zend_Http_Client with Zend_Http_Client_Adapter_Curl and I would like
> to get more informations and so use curl_getinfo($ch) [$ch is handle
> ressource]
> This handle ressource is the _curl property in
> Zend_Http_Client_
Mantasgl wrote:
>
> Hi,
>
> I found that in my hosting company magic_quotes_gpc is on by default.
>
> I can't turn them off in my .htaccess file, I get internal sever error. I
> used both:
> php_flag magic_quotes_gpc Off
> php_value magic_quotes_gpc Off
>
> I solved this problem by adding thi
lightflowmark wrote:
>
> Hi,
> I feel I'm missing something with Zend_Loader_Autoload, as I can't make it
> do what I want!
>
> I think the relevant points are:
> 1) my models are are in a models directory and are not prefixed -
> models/SomeTable.php contains class SomeTable extends
> Zend_Db
Hi,
I found that in my hosting company magic_quotes_gpc is on by default.
I can't turn them off in my .htaccess file, I get internal sever error. I
used both:
php_flag magic_quotes_gpc Off
php_value magic_quotes_gpc Off
I solved this problem by adding this code in my bootstrap:
if (get_magic_qu
mnaveed wrote:
>
> Hi,
> Should I user Zend_Validator in my class to validate data? I will be using
> it in setter methods to verify that the values passed are valid or not. Is
> it the right thing to do?
>
This depends on how you are getting the info to your action. If this data is
the result
Thank you guys for all the help ;)
My hosting company doesn't allow to put folders outside httpdocs folder and
there no public_html folder. So I have to put everything inside httpdocs
folder.
Is it bad technique to cut out index.php from the httpdocs/public/ folder
and to paste it in httpdocs/ fo
Forget the function i showed above. I am now using the viewRenderer action
helper to render the views.
What i did (and worked before)
$this->viewRenderer = new
Zend_Controller_Action_Helper_ViewRenderer($this->view);
$this->viewRenderer->setViewBasePathSpec( MODULE_PATH .
'views/'.$th
Your main 'Bootstrap.php' file should look something like this:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap {
protected function _initAutoload()
{
$moduleLoader = new Zend_Application_Module_Autoloader(array(
'namespace' => 'Default_',
This worked for me.
function indexAction() {
// disable view and layout
Zend_Layout::getMvcInstance()->disableLayout();
$this->_helper->viewRenderer->setNoRender();
// setup realpath to image
$path_to_image = $_SERVER['DOCUMENT_ROOT'].'/images/EQ2_000192.jpg';
// set headers
hea
2009/6/17 Mark Steudel
> I had to transfer a site from one server to another, and the new server is
> installed with 5.0.5. I'm now getting the following error when I include the
> PDO Mysql adapter:
>
> *Parse error*: syntax error, unexpected T_ARRAY, expecting '&' or
> T_VARIABLE in */netapp/wh
unlex wrote:
outside ZF. But I've tried to pass null and this had no effect.
There is no matter what we pass in this case - '' or null. It works
fine
I use a view to output an image. After creating it with gd routines, I
turn off layouts and set view->img
This is my view code
header('C
I had to transfer a site from one server to another, and the new server is
installed with 5.0.5. I'm now getting the following error when I include the
PDO Mysql adapter:
require_once 'Zend/Db.php';
require_once 'Zend/Db/Adapter/Pdo/Mysql.php';
*Parse error*: syntax error, unexpected T_ARRAY, ex
Hey, Matthew, just to know, the action helper will be removed soon ? because
some people doesn't like it (like action stack :P), the best approach here
will be create a view helper ?
Saludos.
On Tue, Jun 16, 2009 at 4:48 PM, Matthew Weier O'Phinney
wrote:
> -- debussy007 wrote
> (on Tuesday, 16
Related to my previous post on slash(/) on query string, I wanted to
implement my custom filter.
OK I think understand some concept of custom filter. Now I have custom
filter implemented but it is not working.
I have
/application
/library
/My
/Filter
Interface.php
Slash2C
Hi list!
I have to do a cms and I need some inspiration as I'm not a php expert.
But some zf based cms already exist on google code or github
So I'm wondering if you have any advice which one seems to be the more
complete, follows the best practices
Thanks for your help
Erwin
In further testing, this is a different problem than I'd realized.
$pageCache->remove($key) doesn't remove the key, either. I'm unsure how to
invalidate a page cache now, which makes the cache of dubious benefit.
I know about cancel(), but that seems designed to prevent a page from
caching in the
Hi mates,
First I want to apologies for my questions. The myth be stupid I know
but could not find a good book for latest ZF.
I want to create a simple blog application with latest ZF.
I have a plan to use 3 column layout. First column will contain login
panel and other links. Second will be the p
I've set up both Page caching and Core caching using the same backend:
$pageCache = Zend_Cache::factory('Page', 'Memcached',
$frontendPageOptions, $backendOptions);
$pageCache->start();
$cache = Zend_Cache::factory('BC_Cache_Core', 'Memcached',
$frontendCoreOptions, $backen
Mon Zafra wrote:
>
> From http://php.net/imagejpeg, it says you need to pass null as the second
> arg if you want to skip it but need to specify the quality. An empty
> string
> is not the same as null. Try imagejpeg($img,null,75);
>
There is no matter what we pass in this case - '' or nul
>From http://php.net/imagejpeg, it says you need to pass null as the second
arg if you want to skip it but need to specify the quality. An empty string
is not the same as null. Try imagejpeg($img,null,75);
-- Mon
On Wed, Jun 17, 2009 at 5:37 PM, unlex wrote:
>
> Hi,
> I have the following p
hello I've got a problem here i manage to do a code where i displays the rows
of a table then i'd put them in an textbox so user can edit it. i manage to
get the code where you update all the rows once a button is pressed but the
problem is when a text with a space is inputted the row is not updat
Thank you !! Very powerful !!
Matthew Weier O'Phinney-3 wrote:
>
> -- debussy007 wrote
> (on Tuesday, 16 June 2009, 02:12 PM -0700):
>> When rendering the phtml file, I would like to get the result of a
>> request
>> and put it in the html :
>>
>> [some html code ...]
>>
>> > // put th
You can add application/models to your include path and set the fallback
flag
set_include_path(get_include_path() . PATH_SEPARATOR .
'../application/models');
$autoloader->setFallbackAutoloader(true);
-- Mon
On Wed, Jun 17, 2009 at 3:03 PM, Alessandro Camilli wrote:
>
> In my folder ../appl
Hi,
Should I user Zend_Validator in my class to validate data? I will be using
it in setter methods to verify that the values passed are valid or not. Is
it the right thing to do?
--
View this message in context:
http://www.nabble.com/should-i-user-Zend_Validate-in-a-class-to-validate-data-tp2
Hi,
I have the following problem. i need to output images thumbnails without
saving them to the disk. in other words I need to output raw image directly
to the browser. It's not a difficult task and I've done this many times BUT
not using ZF. But here I have a problem which I can't solve for sever
I'm trying to create a controller test. When I run the test I get
Zend_Controller_Exception: No default module defined for this application
... library/Zend/Controller/Dispatcher/Standard.php:380
... library/Zend/Controller/Dispatcher/Standard.php:203
... library/Zend/Controller/Dispatcher/Standa
On Wednesday 17 June 2009 01:44:36 Juan Felipe Alvarez Saldarriaga wrote:
> Hey, what about FCKEditor ? I love the "browse server files" feature.
It's Dojo vs. the others all over again. :) IMHO, a component should be chosen
and included in Standard with interfaces and base classes written (let's
I am probably missing something but i am getting the following error:
*Fatal error*: Uncaught exception 'Zend_View_Exception' with message 'script
'login.phtml' not found in path
(C:\wamp\www\77workshop\application\modules\cp\views\default\layouts\;C:\wamp\www\77workshop\application\modules\defau
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You need at least version 5.1.4 or later, source:
http://framework.zend.com/svn/framework/standard/branches/release-1.5/documentation/manual/en/ref/requirements.xml
Any newer ZF version depends on an even higher PHP version.
.
In my folder ../application/models/
there are many classes.
With the new behavior of zf 1.8.3 :
In my bootstrap:
require_once 'Zend/Loader/Autoloader.php';
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->registerNamespace('My');
$autoloader->registerNamespace('i5');
$resourc
37 matches
Mail list logo