0

Im trying to access the app.yml from a script outside Symfony and I'm getting an error 'Fatal error: Class 'sfConfig' not found' . For a similar issue in stack overflow it was mentioned "you could either boot up Symfony or include the sfYaml parser and parse the app.yml yourself."

Can anyne explain this procedure. Im using Netbeans to create Symfony 2 project

Here!'s the link to the answer I referred in stack overflow

I'm trying to setup the sfEasyGMapPlugin in my project.The class GMap.class is the one trying to access app.yml

1 Answer 1

0

You can't add a symfony 1 plugin inside Symfony 2 !

You should give a try to these bundle instead:

  • egeloen/google-map-bundle

    Provides a google map integration for your Symfony2 Project.

  • antimattr/google-bundle

    The GoogleBundle adds the ability to add various google-related services to your application. These include Google Analytics, Adwords and Static Maps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.