ked.
So is init() of controller the only place that I shall put the two
sentences?
Best regards,
minglee
Darby Felton wrote:
>
> Would you please take a look at ZF-1743 and ZF-1720? Maybe the problem
> you are experiencing is related in some way to one or both of these:
>
> http://
ked.
So is init() of controller the only place that I shall put the two
sentences?
Best regards,
minglee
Ralph Schindler wrote:
>
> I have just tested your code (in two scripts) and it seemingly works fine.
>
> $ cat test_session1.php
>
> require_once 'Zend/Session/Names
log? Perhaps the default /tmp location is not
> writable? Are you sure you are working in an environment (valid
> hostname) that can set cookies on your client (browser?)
>
> These are a few of the outside factors that might affect your ability to
> be able to use ext/sessio
-1743
>
> http://framework.zend.com/issues/browse/ZF-1720
>
> If it's not the same problem, please create a new issue, along with the
> code needed to reproduce the problem. Please also post the version of
> PHP you are using and on what platform (e.g., RHEL 4, Win32).
>
> Thank you!
&
Hi Dan,
Don't give up so easily! Although I have a lot to learn about ZF, I think
ZF made a big progress on OOP for PHP.
Cheers for the future of ZF and PHP!
Dan Rossi-5 wrote:
>
> minglee wrote:
>> Hi,
>> I have session problem, which may be stupid:
>> I set a s
Darby Felton wrote:
>
> Hello,
> Hi, Darby,
> My error, I did what you suggest, but failed.
> Try:
>
> require_once 'Zend/Session/Namespace.php';
> $authNamespace = new Zend_Session_Namespace('Zend_Auth');
> echo $authNamespace->user;
&g
Hi,
I have session problem, which may be stupid:
I set a session:
require_once 'Zend/Session/Namespace.php';
$authNamespace = new Zend_Session_Namespace('Zend_Auth');
$authNamespace->user = "myusername";
How can I retrieve it from ANOTHER page?
I used "echo $authNamespace->user;" but failed!
Anyb
Thanks a lot for your very useful advice, Mathew!
I will try them one by one in my project.
> 2) The header of the rendered view is not changed.
>What header are you talking about? HTTP headers? in your HTML?
>I'm afraid I don't understand what you're attempting to accomplish.
in my HTML. In
Thanks you, Mathew, I'll try!
Matthew Weier O'Phinney-3 wrote:
>
> -- minglee <[EMAIL PROTECTED]> wrote
> (on Tuesday, 31 July 2007, 09:49 AM -0700):
>> I did according to you told, but an error of "Action Helper find by name
>> 'MyHelp' not f
ication/helpers/.
Thanks a lot!
13sio wrote:
>
> Hi minglee,
>
> For Zend_Controller_Action_HelperBroker::addPath(string $path, [string
> $prefix = 'Zend_Controller_Action_Helper']), the second argument is the
> prefix of the helpers.
>
> In your case,
>
ed.
Cheers, all guys.
minglee wrote:
>
> Having been working with ZF for couple of weeks, I am still confused and
> even angry with "render"!
> Are there any tutorials that can explain clearly how render works?
> My recent problem in my project:
> After login, the use
I see, thank you, 13sio!
13sio wrote:
>
> Hi minglee,
>
> For Zend_Controller_Action_HelperBroker::addPath(string $path, [string
> $prefix = 'Zend_Controller_Action_Helper']), the second argument is the
> prefix of the helpers.
>
> In your case,
> Zend_Co
for the view script in a subdirectory named after the
> current controller.
>
> So, let's say we're in the controller 'foo', in the 'baz' action:
>
> $this->render('bar'); // renders foo/bar.phtml
> $this->render('bar'
Cheers,
> leo
>
> -----Ursprüngliche Nachricht-
> Von: minglee [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 31. Juli 2007 11:40
> An: fw-general@lists.zend.com
> Betreff: [fw-general] Router/path problem
>
>
> Having been working with ZF for couple of weeks, I
Having been working with ZF for couple of weeks, I am still confused and even
angry with "render"!
Are there any tutorials that can explain clearly how render works?
My recent problem in my project:
After login, the user should be rendered to his page. In my case, that will
be: action--'view', and
Hi, guys.
I wrote a helper class (extends Zend_Controller_Action_Helper_Abstract), and
put it in 'wwwroot/zf/application/helpers/', named as MyHelper.
Then I add
'Zend_Controller_Action_HelperBroker::addPath('/zf/application/helpers/',
'MyHelper');' in init() method of my controller class,
and c
Hi Daniel,
I think you might post your message in a wrong position, I suggest you to
start new message, otherwise your will be hardly seen by others. I have not
yet started to try ZF Lucene. So I can not give any comments.
Regards,
Minglee
Daniel Freudenberger wrote:
>
> Sorry, th
e page-error.phtml I want to display is not the main page for the
registerAction, error.phtml will not be displayed if just call
$this->view('error'). I tried but failed.
Thanks for your help, buddy!
Matthew Weier O'Phinney-3 wrote:
>
> -- minglee <[EMAIL PROTECTED]> w
Hi Matthew,
Sorry, my typing error, I did use setScriptPath() instead of setPath().
Thanks
Matthew Weier O'Phinney-3 wrote:
>
> -- minglee <[EMAIL PROTECTED]> wrote
> (on Monday, 23 July 2007, 05:11 AM -0700):
>> Here's the situation:
>> In registerAct
Hi, guys!
Here's the situation:
In registerAction function (which is in
/wwwroot/application/controllers/VisitorController.php), I set series of
validators, if a validation failed, a error message will export to
error.phtml which is in /wwwroot/application/views/scripts/visitor/. I use
the follow
b applications,
> and jquery over prototype for smaller ajax applications.
>
> Also I like the jquery documentation better than prototype's, and jquery
> is easier to learn.
>
> Cheers,
> Chad Minick
>
> minglee wrote:
>> Thanks Dillon,
>> I have
Hi Adam.
I installed firebug and solved my problem. Firebug is really sharp.
Cheers and thanks!
Calvin
Joó Ádám wrote:
>
> Hi minglee,
>
> if you'd like to install firebug offline, just save (with a
> right-click) the .xpi file to your harddisc instead of install. Th
Hi Ronald.
My problem solved.
I should call in ajax /ZF_dir/controller/action, but I did
/controller/action.
Server log showed that error. And firebug showed several coding mistakes. It
is sharp.
Cheers and thanks!
Ronald Becher wrote:
>
> Hi minglee,
>
> I daresay, you shou
Hi Dillon.
My problem solved.
I should call in ajax /ZF_dir/controller/action, but I did
/controller/action.
Server log showed that error. And firebug showed several coding mistakes.
Cheers and thanks!
Dillon Woods wrote:
>
> On 7/17/07, minglee <[EMAIL PROTECTED]> wrote:
>
&
ollers/VisitorController.php. Yes you can do
> it.
>
>
> 2. Disable ViewRenderer, and
> $this->getResponse()->setBody()...
> $this->getResponse()->setHeader()...
>
>
> minglee wrote:
>>
>> I am new to Zend Framework(ZF), and got confused when coding ajax:
ld be paid attention.
Regards,
Calvin
tfk wrote:
>
> On 7/20/07, minglee <[EMAIL PROTECTED]> wrote:
>>
>> I created a registerAction in VisitorController.php which is in
>> /wwwroot/application/controllers, and I set its as follows:
>> $this->view->visitor
l, compare the owner. I experienced such problems working
> on an application with different users for shell-/ftp-access ...
>
> Greetings
> Ronald
>
>
> minglee wrote:
>>
>> It render /wwwroot/application/views/scripts/visitor/register.phtml,
>> worked!
>&g
Thanks Til,
But I set baseURL, and what is strange: it worked with visitor/register, but
didn't with member/login
tfk wrote:
>
> On 7/20/07, minglee <[EMAIL PROTECTED]> wrote:
>>
>> I created a registerAction in VisitorController.php which is in
>> /wwwroot
for shell-/ftp-access ...
>
> Greetings
> Ronald
>
>
> minglee wrote:
>>
>> It render /wwwroot/application/views/scripts/visitor/register.phtml,
>> worked!
>>
>> And I did create login.phtml in
>> /wwwroot/application/views/scripts/member/. But failed o
ost family users.
3. Other elements: 200k is not big, but on a homepage, there are other
elements, including, images, links.
Regards,
Calvin
Ronald Becher wrote:
>
> Hi minglee,
>
> I daresay, you should check the server's error log for more information.
> ;)
> Or using fi
;[EMAIL PROTECTED]> wrote:
>>
>> Hi minglee,
>>
>> I daresay, you should check the server's error log for more information.
>> ;)
>> Or using firebug, it really is a great piece of software and i'm happy
>> with
>> it using it in every day
Got it Adam! Thanks! I will try it out!
Joó Ádám wrote:
>
> Hi minglee,
>
> if you'd like to install firebug offline, just save (with a
> right-click) the .xpi file to your harddisc instead of install. Than
> you can open it with firefox from disc, and install it the
I created a registerAction in VisitorController.php which is in
/wwwroot/application/controllers, and I set its as follows:
$this->view->visitor = new stdClass();
$this->view->visitor->username='';
$this->view->visitor->password='';
It render /wwwroot/application/views/scripts/visitor/registe
between the two.
Regards
Dillon Woods wrote:
>
> On 7/18/07, minglee <[EMAIL PROTECTED]> wrote:
>>
>> However, when printing xmlHttp.responseText, it displayed content of my
>> another application's xmlHttp.responseText.
>> I think there must be something wro
n printing xmlHttp.responseText, it displayed content of my
another application's xmlHttp.responseText.
I think there must be something wrong with cache, but how should I do with
the zend framework's cache in this case?
Best regards
minglee wrote:
>
> I am new to Zend Framework(
I am new to Zend Framework(ZF), and got confused when coding ajax:
1. Because ZF is using rewrite, how should I call the server-side action,
for example:
If I want to call registerAction in
/topath/application/controllers/visitor.php, can I call like
"/visitor/register"-- my .js file is in /topat
36 matches
Mail list logo