On 21 Mar 2009, at 04:36, Lawrence Krubner wrote:
>
> As far as I know, I never call an action called "uploads/assets". Yet
> I'm getting this in my error logs:
>
> [21-Mar-2009 00:21:10] Action "uploads/assets" does not exist.
>
>>
> content/templates/showTeamSuccess.php: <img
> src="/bocahoops/web/
> uploads/assets/<?php echo date("Y") ?>/<?php echo $new_team-
>> getTeamnumber() ?>.jpg" alt="<?php echo $new_team->getTeamname() ?
>> >" /
>> </p>
>
> How can I find out what code is calling this action?
Looks like you've specified a bad path, and the routing thinks it's a
routable URL.
Remember, if the actual file/directory does not exist, the URL will be
passed to Symfony
It should read :
<img src="uploads/assets/<?php echo date("Y") ?>/<?php echo $new_team-
>getTeamnumber() ?>.jpg" alt="" />
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---