Coder Social home page Coder Social logo

Comments (24)

srenon avatar srenon commented on July 23, 2024

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.

9SL9 avatar 9SL9 commented on July 23, 2024

I just tried your suggestion. The command runs and completes successfully but still no login.

from magento2-gmail-smtp-app.

srenon avatar srenon commented on July 23, 2024

Try flush cache bin/magento cache:flush

from magento2-gmail-smtp-app.

9SL9 avatar 9SL9 commented on July 23, 2024

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.

9SL9 avatar 9SL9 commented on July 23, 2024

My white screen issue is now fixed..

from magento2-gmail-smtp-app.

srenon avatar srenon commented on July 23, 2024

What method fixed it?

from magento2-gmail-smtp-app.

9SL9 avatar 9SL9 commented on July 23, 2024

fixing ownership on var

from magento2-gmail-smtp-app.

srenon avatar srenon commented on July 23, 2024

ok.... R.S = srenon

from magento2-gmail-smtp-app.

9SL9 avatar 9SL9 commented on July 23, 2024

:)

from magento2-gmail-smtp-app.

9SL9 avatar 9SL9 commented on July 23, 2024

But do we still have an issue with your app? I'm hesitant to try it again..

from magento2-gmail-smtp-app.

srenon avatar srenon commented on July 23, 2024

Yes... I'm trying to figure what the errors and fix them

from magento2-gmail-smtp-app.

srenon avatar srenon commented on July 23, 2024

Download the latest and try again

from magento2-gmail-smtp-app.

9SL9 avatar 9SL9 commented on July 23, 2024

White admin login after installing..

from magento2-gmail-smtp-app.

srenon avatar srenon commented on July 23, 2024

Did you do bin/magento setup:upgrade

from magento2-gmail-smtp-app.

9SL9 avatar 9SL9 commented on July 23, 2024

yes

from magento2-gmail-smtp-app.

srenon avatar srenon commented on July 23, 2024
  1. Check your error log
  2. Delete your var/di

Which method did you use to install the module (manual or composer)?

from magento2-gmail-smtp-app.

9SL9 avatar 9SL9 commented on July 23, 2024

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.

9SL9 avatar 9SL9 commented on July 23, 2024

How do I enable logging/which log do I look in?

from magento2-gmail-smtp-app.

srenon avatar srenon commented on July 23, 2024
  1. Does it work without compile?
  2. Try to isolate the issue by deleting MagePal_GmailSmtpApp (move it to a different location) and re-run setup
  3. What is the output of bin/magento deploy:mode:show
  4. Take a look at your apache log and magento log at var/log (ie tail -f var/log/*)

from magento2-gmail-smtp-app.

9SL9 avatar 9SL9 commented on July 23, 2024

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.

srenon avatar srenon commented on July 23, 2024

That is a permission issue again /var/www/html/magento/var/

from magento2-gmail-smtp-app.

9SL9 avatar 9SL9 commented on July 23, 2024

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.

srenon avatar srenon commented on July 23, 2024

Did you follow option number 2 https://support.google.com/accounts/answer/6010255

from magento2-gmail-smtp-app.

9SL9 avatar 9SL9 commented on July 23, 2024

It appears to be working now...Thanks.

from magento2-gmail-smtp-app.

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.