Git Product home page Git Product logo

Comments (9)

enriquepiatti avatar enriquepiatti commented on August 23, 2024

Hi Vinai, are you getting that error when using Alt+M (option+M) > Set Path to Mage.php only? can you set the path to Mage.php from the Settings > Magicento panel?

from magicento.

Vinai avatar Vinai commented on August 23, 2024

I can't try that - I can't change the setting any more:

  1. open the settings dialog and go to the Magicento panel
  2. change the path to Mage.php to the current project
  3. click Apply and OK or OK directly
  4. open the dialog again
  5. the old value still is present

from magicento.

enriquepiatti avatar enriquepiatti commented on August 23, 2024

Vinai, what version of Magicento, PHPStorm, and OS are you using?
Also, is this happening with every magento project? for example what happens if you create a new local and clean magento project?
Finally, when you click OK on the settings panel, it doesn't throw any exception?

from magicento.

Vinai avatar Vinai commented on August 23, 2024

Versions I am using:

  • Magicento 0.6
  • PHPStorm 4.0.3
  • OS X 10.7.4

When I open a fresh project on a vanilla Magento installation no error happens.

When clicking on the OK button of the settings panel I don't get an exception.

Maybe this helps:
For some projects I keep modules in a separate folder in the Magento root that is called .modman.
The modules live in subdirectories of the .modman directory, for example

.modman/moduleA
.modman/moduleB
...

Then I use the modman script to symlink the files from those directories into the Magento code base to the appropriate directory branches. This serves the purpose of having each module in it's own repository, and enables me to manage the whole site through git and link to specific module revisions via git submodules.

A result of this is that there might be modules in the .modman directory that are not linked into the Magento source.
So even though there are PHP files below .modman/moduleA in which Mage::getModel('moduleA/the_class') is called, Magento itself can't resolve the class because moduleA isn't deployed into Magento.
Just an idea. Maybe the error is completely unrelated.

from magicento.

enriquepiatti avatar enriquepiatti commented on August 23, 2024

mmm... yes maybe that could break some features, I will try to use .modman and see what happens, anyway, it should not break the settings panel. Are the checkboxes saved? the path to php?

from magicento.

Vinai avatar Vinai commented on August 23, 2024

In the project I configured the settings for the first time I can change the values (path to Mage.php and/or Checkboxes). When I open another project, changes in the Magicento settings are not saved (neither checkboxes nor the path).

from magicento.

enriquepiatti avatar enriquepiatti commented on August 23, 2024

Vinai, I think I don't understand exactly the problem, magicento is working for new projects without .modman? is working for new projects with .modman? is working (all the features) but when you restart the project the settings are cleared? please feel free to add me to skype (enriquepiatti) if you prefer that so we can see the problem together.

from magicento.

Vinai avatar Vinai commented on August 23, 2024

Thanks for the Skype call. Just for sake of completeness: the issue is unrelated to undeployed modules in .modman.
The settings can't be changed when multiple projects are open. More specifically, they can't be changed in any but the original project where the setting was created the first time.

from magicento.

enriquepiatti avatar enriquepiatti commented on August 23, 2024

Thank you! Vinai for reporting the issue, I will try to fix it in the next release so you can open multiple projects at the same time.
Regards !

from magicento.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.