Questions tagged as 'laravel'

0
answers

Slim Framework is not recognizing saved sessions

Well, my directory in the slim framework was standard .. /public /vendor /src /cache /app between the other folders .. and within / public The index.php was calling the other files and folder normally .. require __DIR__ . '/../ven...
asked by 08.09.2018 / 05:07
2
answers

Laravel - How to configure project to open in XAMPP?

I have a project in Laravel , however for a specific reason I had to uninstall XAMPP and install again. Now I do not remember what I should change in the XAMPP configuration files to make the project run. I have already changed the project...
asked by 08.09.2018 / 15:43
0
answers

ReflectionException Class App \ Http \ Controllers \ API \ UserController does not exist

When I try to hit the api / register route, I get:    ReflectionException Class App \ Http \ Controllers \ API \ UserController does   not exist My UserController <?php namespace App\Http\Controllers\API; use Illuminate\Http\Request;...
asked by 23.08.2018 / 19:02
1
answer

How to not pass the ID of an element by the laravel URL

This is my route Route :: get ('companies / delete / {notice}', 'CompanyController @ delete'); this is the button action This is my role in controlling What happens if I pass this url right into the browser localhost: 8000 / bus...
asked by 23.08.2018 / 02:42
0
answers

Error: mb_strpos () expects parameter 1 to be string, object given

Context: Home When you tried to delete the Structure Checklist object, the following error occurred: mb_strpos() expects parameter 1 to be string, object given How do I fix this? DevToolsInformation: JavaScriptfile:(checklistStruc...
asked by 22.08.2018 / 19:09
0
answers

Laravel Spatie Model Status

I need help implementing an order status. I am in a project that in the order session, I detail a specific request. Within it it will have a select to select the STATUS of the request, if it was pago , entregue , can...
asked by 24.08.2018 / 00:03
0
answers

mysql relations in laravel 5.5

I'm trying to model with Laravel a database for purchases, in my mysql the relations are thus , then I was modeling in Laravel, for the associative table "supplier_detail_item" I used "belongstoMany" relation, it worked out using tinker. Now...
asked by 23.08.2018 / 21:56
1
answer

Saving data in Angular API

I need to save a dataset through an API. I tried to pass the data in different ways but I was not successful. Always gives the error:    ERROR Error: Uncaught (in promise): HttpErrorResponse: {"headers": {"normalizedNames": {}, "lazyUpdate...
asked by 24.08.2018 / 20:43
0
answers

Doubt about accessing property in a OneToOne relationship in Laravel

Hello, My question is when accessing a property from a OneToOne relationship. If I use the php operator "- >" it gives error saying that it can not access the property (Trying to get property of non-object Laravel), however, if treating th...
asked by 22.08.2018 / 21:20
0
answers

Broken picture in laravel 5.6 [homestead]

Uploaded to my application an image when using php artisan serves, Today I'm using the homestead, when I went to look at the application it barred my url and it does not let it be displayed. <img src="/storage/avatars/{{ Auth::user()->im...
asked by 29.08.2018 / 23:59