Comments (24)
I'm reviewing this.
To get the site backup and running what happen if you run bin/magento setup:upgrade
from magento2-gmail-smtp-app.
I just tried your suggestion. The command runs and completes successfully but still no login.
from magento2-gmail-smtp-app.
Try flush cache bin/magento cache:flush
from magento2-gmail-smtp-app.
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
from magento2-gmail-smtp-app.
My white screen issue is now fixed..
from magento2-gmail-smtp-app.
What method fixed it?
from magento2-gmail-smtp-app.
fixing ownership on var
from magento2-gmail-smtp-app.
ok.... R.S = srenon
from magento2-gmail-smtp-app.
:)
from magento2-gmail-smtp-app.
But do we still have an issue with your app? I'm hesitant to try it again..
from magento2-gmail-smtp-app.
Yes... I'm trying to figure what the errors and fix them
from magento2-gmail-smtp-app.
Download the latest and try again
from magento2-gmail-smtp-app.
White admin login after installing..
from magento2-gmail-smtp-app.
Did you do bin/magento setup:upgrade
from magento2-gmail-smtp-app.
yes
from magento2-gmail-smtp-app.
- Check your error log
- Delete your var/di
Which method did you use to install the module (manual or composer)?
from magento2-gmail-smtp-app.
Just tried again from scratch using manual and same outcome. Deleted var/di
here's some output:
The following modules have been enabled:
- MagePal_GmailSmtpApp
To make sure that the enabled modules are properly registered, run 'setup:upgrade'.
Cache cleared successfully.
Generated classes cleared successfully. Please re-run Magento compile command
Generated static view files cleared successfully.
php -f bin/magento setup:upgrade
Cache cleared successfully
File system cleanup:
/var/www/html/magento/var/generation/Composer
/var/www/html/magento/var/generation/Magento
/var/www/html/magento/var/generation/Symfony
The directory '/var/www/html/magento/var/di/' doesn't exist - skipping cleanup
Updating modules:
Schema creation/updates:
...
...
Please re-run Magento compile command
bin/magento setup:di:compile
Compilation was started.
Interception cache generation... 7/7 [============================] 100% 3 mins 371.5 MiBB5 MiB
Generated code and dependency injection configuration successfully.
unable to login..
from magento2-gmail-smtp-app.
How do I enable logging/which log do I look in?
from magento2-gmail-smtp-app.
- Does it work without compile?
- Try to isolate the issue by deleting MagePal_GmailSmtpApp (move it to a different location) and re-run setup
- What is the output of
bin/magento deploy:mode:show
- Take a look at your apache log and magento log at var/log (ie
tail -f var/log/*
)
from magento2-gmail-smtp-app.
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
from magento2-gmail-smtp-app.
That is a permission issue again /var/www/html/magento/var/
from magento2-gmail-smtp-app.
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...
from magento2-gmail-smtp-app.
Did you follow option number 2 https://support.google.com/accounts/answer/6010255
from magento2-gmail-smtp-app.
It appears to be working now...Thanks.
from magento2-gmail-smtp-app.
Related Issues (20)
- Not working on Magento 2.3.5 HOT 29
- Package magepal/magento2-gmailsmtpapp at version has a PHP requirement incompatible with your PHP version (7.4.8) HOT 2
- Wrong arguments HOT 2
- Backend javascript 404 error, not sending emails after update to 2.8.5 HOT 3
- Test mail does not work with smtp.1und1.de, while normal mails work HOT 2
- Version is fixed in composer.json HOT 2
- Magento 2.4.3 compatibility
- Gmail end of support third party applications that use username and password HOT 5
- Compatible with PHP 8.1
- lack of information about license of this package HOT 1
- [FEATURE REQUEST] Support email logging
- Fatal error: Uncaught Error: Class 'Laminas\Mail\Transport\SmtpOptions' not found in HOT 4
- SMTP Configuration to have custom "From Address'
- $proceed() is not always called avoiding other plugins to be executed HOT 1
- Magento 2.4.5 compatibility HOT 4
- Test Email Server Configuration - Leave blank to use Username instead
- A technical problem with the server created an error
- PHP 8.2
- 2.4.6 Class Issue HOT 2
- PHP8.3 Support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento2-gmail-smtp-app.