I commented out
$this->Auth->authorize = 'controller';
in the app_controller.php, and it suddenly works?  Why is this, when i
have $this->Auth->allow('*'); ?

i.s.

On Mon, May 24, 2010 at 3:29 PM, Iqbal Santyaswardan <isant...@gmail.com> wrote:
> I set the debug to 2, and removed the ajax stuff (really not that many).
> It gives "Failed to load source for: http://localhost/myapp/activities";
>
> i.s.
>
> On Mon, May 24, 2010 at 3:16 PM, Jeremy Burns <jeremybu...@me.com> wrote:
>> Do you have debug set to 2? If it's at 0 you often won't see an error, just 
>> a blank page.
>>
>> Jeremy Burns
>> jeremybu...@me.com
>>
>>
>> On 24 May 2010, at 09:12, Iqbal Santyaswardan wrote:
>>
>>> Hi there,
>>>
>>> First of all, sorry about the subject line, I couldn't think of one
>>> more appropriate.
>>>
>>> My situation is this:  I have an app using ajax running with no
>>> (visible) errors that I wanted to add an activity record to it (for
>>> example if a user signs up).  So I baked a model:
>>> class Activity extends AppModel {
>>>
>>>     var $name = 'Activity';
>>>     var $validate = array(
>>>         'user_id' => array('numeric')
>>>     );
>>> }
>>>
>>> And a controller using scaffolding:
>>> class ActivitiesController extends AppController {
>>>
>>>     var $name = 'Activities';
>>>     var $scaffold;
>>>
>>> }
>>>
>>> And some views (index, view, edit, delete)
>>>
>>> Suddenly, the app stopped working.  It just throws a blank page.  So i
>>> tried using a fresh install of cakephp, but using the same database.
>>> Nothing was broken.
>>>
>>> Inspecting the response header I get inside my app, it reads:
>>>
>>> "Failed to load source for: http://localhost/myapp/activities";
>>>
>>> What could be the problem?
>>>
>>> Regards,
>>> i.s.
>>>
>>> Check out the new CakePHP Questions site http://cakeqs.org and help others 
>>> with their CakePHP related questions.
>>>
>>> You received this message because you are subscribed to the Google Groups 
>>> "CakePHP" group.
>>> To post to this group, send email to cake-php@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
>>> http://groups.google.com/group/cake-php?hl=en
>>
>> Check out the new CakePHP Questions site http://cakeqs.org and help others 
>> with their CakePHP related questions.
>>
>> You received this message because you are subscribed to the Google Groups 
>> "CakePHP" group.
>> To post to this group, send email to cake-php@googlegroups.com
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
>> http://groups.google.com/group/cake-php?hl=en
>>
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to