Domanda

I face an error in laravel4.
ERROR :
RuntimeException:
You need to specify a file path to store the seed.

I face this error in laravel4.


When I remove the cookies of my site , it works fine.
I think that I enabled the ssl_module in my wamp . because :
First time when I wanted to install composer ,I got a warning message for not enabling openssl which I had already done in WAMP.

warning message for not enabling <code>openssl</code>

I enabled ;extension=php_openssl.dll by removing the semicolon (;) from the beginning of the line in php.ini and phpForApache.ini and php.ini-production and php.ini-development . After that it worked well and installed.

I don't know the problem ! help me,please .


I set virtual host in WAMP,use "http://laravel.local/" instead of this "http://localhost/learnlaravel/public/". I face that error with both of the url.

È stato utile?

Soluzione

I found the answer :) ,
I understand that the composer see wamp\bin\php\ for openssl, because of it when I remove the semicolon (;) from ;extension=php_openssl.dll in **php.ini** in wamp\bin\php\php.ini ,the composer install (but there isn't a section called OpenSSL in phpinfo()).

But for enable openssl I should remove the semicolon (;) from ;extension=php_openssl.dll in **wamp\bin\apache\Apache2.4.4\bin\php.ini**,after that openssl enable and works properly.
now we can see a section called OpenSSL in phpinfo():
enter image description here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top