[development] Searching for AHAH! instead of AHAH?
Randy Fay
randy at randyfay.com
Fri Dec 31 01:35:19 UTC 2010
A 404 means that the path you're trying to access doesn't work, as you've
discovered. So you either need to rebuild the menu router (likely) or
there's just something wrong with your hook_menu() entry or the function it
calls. Most likely you need to rebuild the menu router.
Use your browser to hit regions/change_value/callback. What do you get? If
it's a 404 (which it will be, I think) then you don't have a working
hook_menu() entry.
-Randy
On Thu, Dec 30, 2010 at 6:19 PM, <jeff at ayendesigns.com> wrote:
> John, same result...the actual module name is regions, and i'm receiving
> "An HTTP error 404 occurred. /regions/change_value/callback"
>
>
> Looks the same to me as every other module :) other than the complication
> of it being used by jquery. Doesn't need drupal_get_path or anything, does
> it? The jquery parameters all look the same as the working example,
> including the url format and what it relates back to.
>
>
> When I put in the absolute parameter in url() I get a 404 with
> http://mydomain.com/regions/change_value/callback
>
>
>
> On 12/30/2010 07:45 PM, John Fiala wrote:
>
> Jeff: Have you tried putting the url in the array through the url()
>> function? That sounds like something to try. Possibly with the 'absolute'
>> option set to True.
>>
>>
>>
--
Randy Fay
Drupal Module and Site Development
randy at randyfay.com
+1 970.462.7450
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20101230/b0d42f15/attachment.html
More information about the development
mailing list