got it!
So on basis of my probing, the everytime u create a new application, after u
have created ur inital application (presumably frontend_dev.php), go to the
web folder...u shud notice an existing frontend_dev.php which was created by
symfony the first time u created an application. For each successive
application(applicationName1, applicationName2) that you created, the
consecutive dev files are not being created in symfony.
To fix this, manually create it off your own, so you have an
applicationName1_dev.php and an applicationName2_dev.php, now copy paste the
content of frontend_dev.php to each of these apps....open them and change
this line:
$configuration = ProjectConfiguration::getApplicationConfiguration('*
frontend*', 'dev', true)
to
$configuration =
ProjectConfiguration::getApplicationConfiguration('applicationName1', 'dev',
true)
and you are set!
If anybody has better alternatives, feel free to share!
On Mon, Jun 14, 2010 at 6:28 PM, Parijat Kalia <[email protected]>wrote:
> I probed a little further, and created a bunch of test applications, I
> noticed, that in my web/ folder, unlike a frontend_dev.php, there does not
> exist an equivalent applicationName_dev.php for the other applications that
> I have created.....For two of these applications, I created using the
>
> *php symfony generate:app --escaping-strategy=on --csrf-secret=UniqueSecret1
> backend
>
>
> *
>
> for the other one, I generated using:
>
> *php symfony init-app trialapplication*
>
> In either case, I can't access these applications in the corresponding
> localhost:8080/applicationName_dev.php, which I am most certain because
> there is no corresponding applicationName_dev.php that is being generated in
> the web folder. The applications, however, with all the respective folders
> are being generated. Any leads?
>
>
> On Mon, Jun 14, 2010 at 6:16 PM, Parijat Kalia <[email protected]>wrote:
>
>>
>> How does the help command help in this case...I have the app
>> generated....it's fine...I noticed one thing on the jobeet tutorial site, it
>> states
>>
>> *When you created the frontend application, the production front
>> controller was named index.php. As you can only have one index.php file
>> per directory, symfony creates an index.php file for the very first
>> production front controller and names the others after the application name.
>> *
>>
>> Now when I look into routing.yml of my backend app, here is what it
>> states:
>>
>> *homepage:
>> url: /
>> param: { module: default, action: index }
>>
>> default_index:
>> url: /:module
>> param: { action: index }
>>
>> default:
>> url: /:module/:action/**
>>
>> So clearly, the instruction that it would default it to the name of the
>> app, did not take place, it still shows index as the default parameter...I
>> changed wherever 'index' is to ''backend' to mimic the name of my app...but
>> that did not help either...
>>
>> Anyone else with any leads on this?
>>
>>
>>
>> On Mon, Jun 14, 2010 at 5:03 PM, Parijat Kalia <[email protected]>wrote:
>>
>>> yes it does...
>>>
>>> it is the same folder as my other app (frontend_dev.php)
>>> (C:\dev\sfproject\apps), an upon ls
>>>
>>> frontend backend
>>>
>>> It is in the same folder, and it has all the necessary folders an app
>>> has, that is modules, config, libs, templates...etc etc
>>>
>>
>>
>
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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