Laravel problems encountered

Source: Internet
Author: User

This is due to access to the Laravel project error, to resolve several possible errors.

1) Open: D:\java\wamp\www\subway\app\config\app.php Modify: ' Debug ' = = True, Debug basic is True

2) This error occurs when debug is turned on, and the incorrect: OpenSSL did not produce a secure random number

PHP code
  1. pen:d:\java\wamp\www\subway\vendor\symfony\security\symfony\component\security\core\util\securerandom.php
  2. $this->logger->info (' OpenSSL did not produce a secure random number. ');
  3. }
  4. }
  5. //Initialize seed
  6. if (null = = = $this->seed) {
  7. if (null = = = $this->seedfile) {
  8. throw New \runtimeexception (' need to specify a file path to store the seed. ');
  9. }

Workaround: Restart the Wamp service after php.ini enable Extension=php_openssl.dll extension.

No supported Encrypter found. RuntimeException in compiled.php line 6904:no supported Encrypter found.  The cipher and/or key length is invalid. laravel5.1 start App_key must be length 32 and have cipher. Go to the. Env setting or the config/app.php setting.

Laravel problems encountered

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.