Oh,
'HTTP_USER_AGENT' => 'Mozilla/5.0 (compatible; Purebot/1.1;
+http://www.puritysearch.net/)'
is killing it too.
'REQUEST_URI' is '/index/facebook/format/html'
even if I put
User-agent: *
Disallow: /index/twitter/format/html
Allow: /
Disallow: /index/facebook/format/html
in robots.txt
Nice find! :)
--
Hector
On Fri, Mar 26, 2010 at 4:29 AM, Саша Стаменковић wrote:
> Looks like it's googlebot
>
> 'HTTP_FROM' => 'googlebot(at)googlebot.com'
>
> :)
>
> Ok, he found on home pagehttp://automobi.li/ this
> link /index/facebook/format/html
>
> waiting to see who is accessing the li
Looks like it's googlebot
'HTTP_FROM' => 'googlebot(at)googlebot.com'
:)
Ok, he found on home pagehttp://automobi.li/ this
link /index/facebook/format/html
waiting to see who is accessing the link which is only and only in my
javascript...and looking for the solution for preventing this errors
Will do, stay tunes ;)
Regards,
Saša Stamenković
On Thu, Mar 25, 2010 at 4:25 PM, Hector Virgen wrote:
> That seems fine to me, but there may be something else creating a request
> for that action without ajax. Can you add some logging in your action to log
> the request? It might give you som
That seems fine to me, but there may be something else creating a request
for that action without ajax. Can you add some logging in your action to log
the request? It might give you some details as to what's happening when it
errors.
--
Hector
On Thu, Mar 25, 2010 at 8:18 AM, Саша Стаменковић wr
_helper->ajaxContext
->setActionContext('uzmi-modele', 'html')
->setActionContext('oglasi-broj', 'json')
->setActionContext('kontakt', 'html')
->initContext();
}
//
public function oglasiBrojAction() {
$car = new Automobili_Model_Table_Car();
$form = new Automobili_Form_Quic
Are you manually calling $this->render() in your action, or do you have a
controller plugin or helper that is calling it?
--
Hector
On Thu, Mar 25, 2010 at 8:12 AM, Саша Стаменковић wrote:
> My ajax calls always send the format parameters.
>
> Now I see that I have one json action, that is trig
My ajax calls always send the format parameters.
Now I see that I have one json action, that is triggered ONLY from
javascript, so no user will type /some/action/format/json in the location
bar of the browser, but still I get
exception 'Zend_View_Exception' with message 'script
'some/action.phtml
In my case,
Since I did not take it as a big problem, I did not investigate this
deeply but:
I use jquery and when i look at the headers send by jquery(with
firebug), xmlhttprequest param is set. But the context does not
change...
On Thu, Mar 25, 2010 at 5:06 PM, A.J. Brown wrote:
> Actually,
Correction: obviously ajaxContext does use the format parameter. I'm
not sure what I was thinking :)
On Thu, Mar 25, 2010 at 11:06 AM, A.J. Brown wrote:
> Actually, I believe that ajaxContext does not use the "format" request
> parameter. Your problem is likely that the client is not sending t
Actually, I believe that ajaxContext does not use the "format" request
parameter. Your problem is likely that the client is not sending the
proper headers.
Your best solution would be to use the contextSwitch helper instead,
and change your AJAX calls to pass the format parameter, or to throw
an
I thinks second requirement is there, but XMLHttpRequest is not. Otherwise,
it would always fail.
Regards,
Saša Stamenković
On Wed, Mar 24, 2010 at 6:15 PM, Jurian Sluiman
wrote:
> On Tuesday 23 Mar 2010 20:15:03 Саша Стаменковић wrote:
> > Interesting. Is there a way to solve it on one place.
On Tuesday 23 Mar 2010 20:15:03 Саша Стаменковић wrote:
> Interesting. Is there a way to solve it on one place. What is enough for me
> is to prevent logging errors in error controller.
> So custom exception thrown from controller plugin is fine...if ajax action
> is called without ajax.
>
> Regar
Keep in mind that the AjaxContext helper needs two conditions to be
satisfied in order for it to kick in:
1. The header "X_REQUESTED_WITH" must be "XMLHttpRequest" (automatic with
Prototype and jQuery) and
2. The correct "format" parameter must be specified in the request,
It's that sec
I'm getting a number of logs daily. Very strange, it can't be that all of
these people don't have javascript enabled.
Regards,
Saša Stamenković
On Tue, Mar 23, 2010 at 8:15 PM, Саша Стаменковић wrote:
> Interesting. Is there a way to solve it on one place. What is enough for me
> is to prevent
Interesting. Is there a way to solve it on one place. What is enough for me
is to prevent logging errors in error controller.
So custom exception thrown from controller plugin is fine...if ajax action
is called without ajax.
Regards,
Saša Stamenković
On Tue, Mar 23, 2010 at 5:43 PM, Hector Virge
The AjaxContext helper, in my opinion, is used to enhance an existing page
with Ajax functionality. That means your page would be accessible normally
without javascript, and then enhanced when javascript is available.
If your action is coded to be Ajax-only, and somehow a user requests that
page w
In init method of my controller I have
public function init() {
$this->_helper->ajaxContext
->setActionContext('facebook', 'html')
->setActionContext('twitter', 'html')
->initContext();
}
This loads f
18 matches
Mail list logo