-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Issue when compiling site #6
Comments
I'm reviewing this. To get the site backup and running what happen if you run |
I just tried your suggestion. The command runs and completes successfully but still no login. |
Try flush cache |
Tried that, still no luck. See here for an error from my log which I'm getting since my failed install: http://magento.stackexchange.com/questions/103374/white-admin-login-screen-on-magento-2 |
My white screen issue is now fixed.. |
What method fixed it? |
fixing ownership on var |
ok.... R.S = srenon |
:) |
But do we still have an issue with your app? I'm hesitant to try it again.. |
Yes... I'm trying to figure what the errors and fix them |
Download the latest and try again |
White admin login after installing.. |
Did you do |
yes |
Which method did you use to install the module (manual or composer)? |
Just tried again from scratch using manual and same outcome. Deleted var/di here's some output:
To make sure that the enabled modules are properly registered, run 'setup:upgrade'. php -f bin/magento setup:upgrade unable to login.. |
How do I enable logging/which log do I look in? |
|
From my apache.log - the following occurs after installing your app and after trying to login as admin (with blank screen) [Thu Feb 25 16:23:42.552648 2016] [:error] [pid 1597] [client 60.231.62.82:50292] PHP Fatal error: Uncaught exception 'Magento\Framework\Exception\LocalizedException' with message 'Can't create directory /var/www/html/magento/var/generation/Magento/Framework/App/ResourceConnection/.' in /var/www/html/magento/vendor/magento/framework/Code/Generator.php:103\nStack trace:\n#0 /var/www/html/magento/vendor/magento/framework/Code/Generator/Autoloader.php(35): Magento\Framework\Code\Generator->generateClass('Magento\Framewo...')\n#1 [internal function]: Magento\Framework\Code\Generator\Autoloader->load('Magento\Framewo...')\n#2 [internal function]: spl_autoload_call('Magento\Framewo...')\n#3 /var/www/html/magento/vendor/magento/framework/Code/Reader/ClassReader.php(19): ReflectionClass->__construct('Magento\Framewo...')\n#4 /var/www/html/magento/vendor/magento/framework/ObjectManager/Definition/Runtime.php(44): Magento\Framework\Code\Reader\ClassReader->getConstructor('Magento\Framewo...')\n#5 /var/www/html/magento/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(71): Magento\Framework\ObjectManager\ in /var/www/html/magento/vendor/magento/framework/Code/Generator.php on line 103 |
That is a permission issue again /var/www/html/magento/var/ |
Ok that is fixed. But now I'm getting the following error when trying to send a test email: 5.7.9 Please log in with your web browser and then try again. Learn more at 5.7.9 https://support.google.com/mail/answer/78754 144sm14500496pfa.83 - smtp I've followed the instructions on that page but still getting this error. correct password checked etc... |
Did you follow option number 2 https://support.google.com/accounts/answer/6010255 |
It appears to be working now...Thanks. |
I just followed your instructions to install this app. The installation appears to go ok except I'm getting the following error when running: magenta setup:di:compile
I'm now unable to use my site (white screen on admin login). Any ideas???????
Errors during compilation:
MagePal\GmailSmtpApp\Controller\Adminhtml\Test\Index
Extra parameters passed to parent construct: $dataHelper. File: /var/www/html/magento/app/code/MagePal/GmailSmtpApp/Controller/Adminhtml/Test/Index.php
MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\TestButton
Incorrect dependency in class MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\TestButton in /var/www/html/magento/app/code/MagePal/GmailSmtpApp/Block/Adminhtml/System/Config/TestButton.php
\Magento\Framework\UrlInterface already exists in context object
Total Errors Count: 2
Errors during compilation:
MagePal\GmailSmtpApp\Controller\Adminhtml\Test\Index
Extra parameters passed to parent construct: $dataHelper. File: /var/www/html/magento/app/code/MagePal/GmailSmtpApp/Controller/Adminhtml/Test/Index.php
MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\TestButton
Incorrect dependency in class MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\TestButton in /var/www/html/magento/app/code/MagePal/GmailSmtpApp/Block/Adminhtml/System/Config/TestButton.php
\Magento\Framework\UrlInterface already exists in context object
Total Errors Count: 2
Errors during compilation:
MagePal\GmailSmtpApp\Controller\Adminhtml\Test\Index
Extra parameters passed to parent construct: $dataHelper. File: /var/www/html/magento/app/code/MagePal/GmailSmtpApp/Controller/Adminhtml/Test/Index.php
MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\TestButton
Incorrect dependency in class MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\TestButton in /var/www/html/magento/app/code/MagePal/GmailSmtpApp/Block/Adminhtml/System/Config/TestButton.php
\Magento\Framework\UrlInterface already exists in context object
Total Errors Count: 2
The text was updated successfully, but these errors were encountered: