Questions tagged as 'laravel'

1
answer

Error page 500 returned instead of Laravel error page

I do not know why errors are not rendered in my project, it simply does not go through the handler method. bootstrap / app.php <?php $app = new Illuminate\Foundation\Application( realpath(__DIR__ . '/../') ); $app->sing...
asked by 02.03.2016 / 18:12
1
answer

Laravel 5: crontab -e command does not work

Good afternoon, I created a command in laravel to do a cronjob function, the next step would be to edit the cron file with the following command: crontab -e Then insert the line: * * * * * php / path / to / artisan schedule: run> > / dev...
asked by 10.01.2016 / 20:56
0
answers

Laravel date in full in portguês

I am using Laravel 5.2 and would like to bring the dates in full in Portuguese (pt_BR), however Carbon returns the textual dates only in English. $post->created_at->formatLocalized('%B'); //"January" In config / app.php timezone is...
asked by 25.01.2016 / 01:47
1
answer

Error in facebook library. "Malformed access token"

I'm trying to get the user's contact information from Facebook. For this I am using the Facebook PHP SDK. I can generate the login url correctly. However, when I try to get the information I get the error "Malformed access token". The code...
asked by 16.11.2015 / 17:40
0
answers

Commit only at the end of the registration phases

I want to make a registration that will have several stages, for example: 1st I will register basic information, on the progress I will register more advanced information according to what was passed in the first phase of the cadastre and on mov...
asked by 28.01.2016 / 12:54
0
answers

Problems homestead Laravel

Hello, when trying to give the command in the vagrant up terminal inside my homestead folder the following error appears: /home/brendol/Homestead/scripts/homestead.rb:91:in 'read': No such file or directory - /home/brendol/.ssh/id_rsa.pub (Err...
asked by 22.10.2015 / 16:53
1
answer

What is the most performative way to group data in a PHP array?

I have an array that was generated by the Database Query Builder of Laravel 5.1.x. array:96 [▼ 0 => {#1256 ▼ +"customer_id": 58 +"city": "Rio de Janeiro" +"program_id": 3 +"program": "PROGRAMA XPTO" +"subregion": "SU...
asked by 24.09.2015 / 17:07
1
answer

Laravel 5 - Remove public from URL

I've developed a form and need to "play" it on the production server . I do not have any type of server access (Linux, Slackware). I access my application through the link url. With the script below I get only the message Sorry, the page y...
asked by 10.04.2015 / 16:07
1
answer

Sybase 15 and Laravel 5.1 via ODBC and error 3811

I have a database in Sybase (Adaptive Server Enterprise) and we started using the Laravel framework to transfer systems that already exist, for him (a migration in the DB can not be considered). Laravel by default can not connect to the ODBC...
asked by 11.08.2015 / 22:46
0
answers

Laravel 5.1 localhost: 8000 nothing appears

I installed 'laravel 5.1' I followed the steps in doc, I added some things in 'gulpfile.js' blz, but when I run 'php artisan serve' and squeeze 'http://localhost:8000/' nothing appears, I made a test I also created a...
asked by 17.07.2015 / 03:32