Questions tagged as 'laravel-4'

1
answer

How do I use the same app / config / local / database.php configuration when I'm running in "testing" environment?

In Laravel 4 , we have three types of environments that can be defined: local , production and testing . I've even posted something about configuring the local environment here: # I like to use the above con...
asked by 01.03.2016 / 13:20
1
answer

My site loads different pages on different Operating Systems

I'm going through a very strange problem. When using Windows (Windows 7), my page loads as expected: @extends + index.php In Linux (Ubuntu 13.10) he is redirecting me to the / user / login route for no reason: @extends + login.php...
asked by 19.02.2014 / 20:25
1
answer

How to use DOMPDF in Laravel 4 in conjunction with a view in BLADE?

I need to generate PDF report in Laravel 4. I found several alternatives and I'm in doubt about which option is best: DOMPDF ( alternative link ) It seems very easy to use, since it is our good old HTML plus CSS, however I did not unders...
asked by 23.12.2013 / 19:10
1
answer

Installing Laravel 4 on remote server [closed]

How do I install laravel 4 on a remote server via composer? I searched intensely on the internet and found no convincing answer that was in line with good practices or the philosophy of the framework.     
asked by 25.10.2014 / 05:55
3
answers

Login Error in Laravel

I'm having trouble logging in to the user in Laravel. Look, it does not log in to the user, but it also does not return an error: auth.php return array( 'driver' => 'eloquent', 'model' => 'Cliente', 'table' => 'clien...
asked by 09.06.2014 / 00:19
3
answers

Error with complementary routes in Laravel 4

Initially, I created the following route (1st search): Route::get('/buscar/profissoes/{city_id_slug?}', array('as' => 'neighborhoods.city', 'uses' => 'NeighborhoodsController@getIndexCity')); Then the URL looks like this at the e...
asked by 17.12.2013 / 12:11
2
answers

Error while posting

I'm trying to save the information that comes from my registration form with this function: public function postCreate() { $this->beforeFilter('csf', array('on' => 'post')); $validator = Validator::make($data = Input::all(), Des...
asked by 01.05.2014 / 17:14
1
answer

How to add my validation in Laravel Validator?

In% with both 4 and 5, we have class Laravel , which allows specific validations. By default there are several, such as Validator , required , email , and others. But I would also like to be able to validate a phon...
asked by 10.03.2016 / 17:21
1
answer

Broken Image - Laravel 4

I have an image on a page, I insert it as follows: <img src="img/logo.png"> The image usually appears on pages with address    / page . But when the URL is in the format    / page / subpage the image appears broken. How c...
asked by 03.11.2015 / 18:55
2
answers

Error in web service return NuSOAP

I'm developing a web service with NuSOAP in Laravel 4. The class I'm using is link Server Route::any('ws/server', function() { $server = new \soap_server; $server->configureWSDL('server.hello','urn:server.hello', Request:...
asked by 10.02.2014 / 19:20