Questions tagged as 'laravel'

1
answer

Error SQLSTATE [HY000] [1045] cPanel

I am currently working on a Laravel project. I did the implementation on a shared server, but I get the error message SQLSTATE [HY000] [1045] Acceso denegado para el usuario 'root' @ 'localhost (usando la contraseña: NO) The project in...
asked by 20.10.2017 / 22:30
1
answer

Receive data in sight - Yajra DataTables

I need to send a data through the render() method, however I do not know how to receive it in the view. Here is my code ( print_r($datos) generates me error: Undefined variable: datos ): Driver: InventoryDetailReportContr...
asked by 21.10.2017 / 01:00
1
answer

Laravel, foreign key

I have a table of students and another table of documents, they have a ratio of 1: 1 How can I insert a record in a document in which I am asked for the student's id? to bring me the id of a student that already exists and insert with that id....
asked by 17.10.2017 / 05:12
1
answer

Dompdf, does not generate the PDF, just upload forever?

I am using DOMpdf to generate a PDF and then save it both in the database and in the Storage folder, when I generated the < strong> PDF test, this is rendered without problems, but when I try to generate my view, it lasts forever. //est...
asked by 12.10.2017 / 21:56
1
answer

can you help me solve an error when I want to send an email message in laravel?

When I send the email, it shows me this error:    Expected response code 250 but got code "530", with message "530 5.7.1 Authentication required   " I have already configured env. and the mail.php, I'm using laravel 5.4     
asked by 15.10.2017 / 04:28
2
answers

I can not register a user in laravel 5.5

File of the registry controller I am trying to register a user to a table called users does not throw me any error when saving only saves them use RegistersUsers; /** * Where to redirect users after registration. * * @var string */ protec...
asked by 05.10.2017 / 18:42
1
answer

Modify select in AngularJS + Laravel

You want to change the search engine according to your category, this is the search engine in angular.js + Laravel: <select id="selector-sectores" data-placeholder="+ AÑADIR CATEGORÍA" class="form-control" chosen="categorias" ng-model="c...
asked by 29.09.2017 / 11:58
1
answer

Problem to process the data of a query with Laravel

I get the data of: {% evento.data.categorias %} and I want to treat this information with php. When I do the php echo "{% evento.data.categorias %}" the value is perfectly displayed, however I can not go through the string that...
asked by 28.09.2017 / 12:19
1
answer

Urls laravel with alias

I have the following url Route::get('faq', 'HomeController@faq'); link I want to add an alias to that url so that when I log in I stay like this link but refining the url "faq" I do not know if the .htaccess can be     
asked by 25.09.2017 / 16:27
1
answer

Angular 4 Change headers

I am implementing an api that I do in laravel, without any problem when testing with Postman, but when making the connection with Angular 4, as I have to send custom headers, they modify the method from POST to OPTIONS, so the endpoints do not w...
asked by 25.09.2017 / 06:52