magento - Can't require mage.php from an interactive shell -


I have to try some code snippets (about creating a script) which uses Magnets' models and orbits.

The problem is that I get the following error:

  fdr @ fderose-gtrade: / var / www / globaltrade $ fdr @ fderose-gtrade: / var / www / Globaltrade $ php - An interactive shell php & gt; './app/Mage.php' is required; Fatal error: In line 31, 'Meraj' is not found in line 31.  

The line 31 of Mage.php is as follows:

  Dana :: register ('original_include_path', get_include_path ());  

Does anyone know about this, what could be the reason? Thanks!

According to php.net

Autoloading is not CII interactive mode Available in using PHP.

For more information, see (a note below its description)


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -