-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Files are not getting included #5
Comments
Hi, did you install the Google -ApiClient library? For manual install you will have to download the Google ApiClient from here: Place it under magento_root/vendor/google/apiclient It should look like this:
The 'src' folder is the important one... |
Yes i can see the file structure but there is no .travis.yml |
Ah, okay. The problem must be the "Mage is not defined" error. So Mage::getBaseDir() is not working... Do you get this error on other pages, too? Why don't you have /var/www/magneto/ in your include path? |
No i am getting this error on this page only. |
You might debug if the Google/Client.php is loaded in app/code/community/BlueVisionTec/GoogleShoppingApi/Model/GoogleShopping.php For further support I would have to take a look at your installation... |
Yes the file is getting loaded in GoogleShopping.php Can you suggest how to resolve mage is not defined error? |
Could it be, that "Mage is not defined" is a JavaScript error? |
Okay, regarding the warnings: these can be ignored. The files are included by the Google ApiClient Autoloader and Magento Autoloader tries to include them, too... |
It was my silly mistake. It started working on cleaning magento cache. |
Yes, you can ignore the warnings. |
I cleared the cache and the Mage error was solved. Thanks for the help. |
Hello ,
I am getting the following error in system logs on opening the Mange items page:
2015-02-17T07:43:27+00:00 ERR (3): Warning: include(): Failed opening 'Google/Config.php' for inclusion (include_path='/var/www/magneto/app/code/local:/var/www/magneto/app/code/community:/var/www/magneto/app/code/core:/var/www/magneto/lib:.:/usr/share/php:/usr/share/pear') in /var/www/magneto/lib/Varien/Autoload.php on line 93
2015-02-17T07:43:27+00:00 ERR (3): Warning: include(Google/Auth/OAuth2.php): failed to open stream: No such file or directory in /var/www/magneto/lib/Varien/Autoload.php on line 93
2015-02-17T07:43:27+00:00 ERR (3): Warning: include(): Failed opening 'Google/Auth/OAuth2.php' for inclusion (include_path='/var/www/magneto/app/code/local:/var/www/magneto/app/code/community:/var/www/magneto/app/code/core:/var/www/magneto/lib:.:/usr/share/php:/usr/share/pear') in /var/www/magneto/lib/Varien/Autoload.php on line 93
2015-02-17T07:43:27+00:00 ERR (3): Warning: include(Google/Auth/Abstract.php): failed to open stream: No such file or directory in /var/www/magneto/lib/Varien/Autoload.php on line 93
2015-02-17T07:43:27+00:00 ERR (3): Warning: include(): Failed opening 'Google/Auth/Abstract.php' for inclusion (include_path='/var/www/magneto/app/code/local:/var/www/magneto/app/code/community:/var/www/magneto/app/code/core:/var/www/magneto/lib:.:/usr/share/php:/usr/share/pear') in /var/www/magneto/lib/Varien/Autoload.php on line 93
Also Uncaught ReferenceError: Mage is not defined on the page.
Have i missed out anything?
The text was updated successfully, but these errors were encountered: