Data dodania Pytanie
2017-06-19 15:06 Laravel 5.4 Saving an array of input to a belongsto model »
<input type="text" name="subcat[0]"> <input type="text" name="subcat[1]"> <input type="text" name="subcat[2]"> <input ...
(2) odpowiedzi
2017-06-19 12:06 Laravel clears session data with ajax get request »
I have 2 laravel apps ,currently working on localhost askspidy (http://localhost/askspidy/public/) askspidymailer (http://localhost/askspidymailer/...
(1) odpowiedzi
2017-06-19 10:06 How to write conditional query with combination of two columns as a single query in Laravel? »
I have three tables products, product_meta_keys, and product_meta_values. Product table stores product's general information like name and product_met...
(2) odpowiedzi
2017-06-18 22:06 Laravel: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths »
I installed Laravel and uploaded it to git now I downloaded it But when I'm trying to enter the site I get this error: The only supported ciphers ...
(1) odpowiedzi
2017-06-18 19:06 Laravel Validation Multiple Files »
I am trying to validate multi-select file uploads to Laravel. I print_r my Request but I don't understand why it doesn't validate when clearly all up...
(1) odpowiedzi
2017-06-18 17:06 Call Laravel method on every pages before the page is loaded »
I'm looking for a way to call a method and do a specific action before a page is loaded on every routes, and every method called on my project. Exce...
(1) odpowiedzi
2017-06-17 18:06 Laravel view links and web.php routes messed up »
I'm making a forum with themes and topics. If a user clicks on a theme, he/she gets to see all the topics within that theme. Here we encounter the fir...
(1) odpowiedzi
2017-06-17 10:06 Laravel 5 How to store the Publish Timestamps when user click the Publish Button »
Hi is there a way to store publish timestamps when user click the publish button for their post? There are three buttons in a post: Draft Button, Pub...
(2) odpowiedzi
2017-06-17 09:06 Laravel 5.2 Missing required parameters for [Route: showtopic] [URI: theme/{id}/topics/{id}] »
I keep getting the following error: Missing required parameters for [Route: showtopic] [URI: theme/{id}/topics/{id}]. This is what my Web.php looks ...
(2) odpowiedzi
2017-06-16 11:06 Why cant' I trigger custom events in vue.js? »
I have a local database that will be updated with pusher. This database is stored in JSON and the component will load and filter out what is not neede...
(1) odpowiedzi
2017-06-16 11:06 laravel one to one retrieve many results »
I have business and location table and they have one to one relationship. Everything works fine so far but they problem is I only find 1 result. Howe...
(1) odpowiedzi
2017-06-16 01:06 laravel query a collection that's been called pior »
I have this code below to get all the rating information for a model as you can see there are quite a lot of queries going on just for the rating info...
(3) odpowiedzi
2017-06-15 16:06 How to show keys instead values of an associative array on Laravel »
I´m new on Laravel and I´m trying to display on a select the keys instead the values of an associative array... Could you help me? The array I´m ...
(4) odpowiedzi
2017-06-15 12:06 Laravel redirect route is not working using return but if i use echo its working why? »
Hi guys i got this weird experience with laravel redirect->route('routeName'); here is the code public static function loginCheckWithRedirect($routeN...
(2) odpowiedzi
2017-06-15 00:06 Laravel: Cookie disappears on refresh: Instead, XSRF-TOKEN is created wrongly »
What I've been trying is to set a token (i.e. a string) as a cookie, which needs to persist for a certain period. public function tokenAuth(Request $...
(0) odpowiedzi
2017-06-14 12:06 use laravel notification for email verification »
As you know u can send notification via email like this in larave : public function toMail($notifiable) { $url = url('/invoice/'.$this->invoic...
(2) odpowiedzi
2017-06-14 08:06 Laravel how to return a whole item data with the highest value »
How can I return the whole item data, I've used max to get the hieghest value but it only returns the value of the field not the whole item public st...
(4) odpowiedzi
2017-06-14 03:06 Laravel how to add new field in query result »
How can I add new field in each item, I have used put() but it only add on the last item. return self::where('latest', 1) ->where('com...
(1) odpowiedzi
2017-06-13 18:06 Laravel 5 - No relations showing for belongsTo »
Its been a while since I have worked on a Laravel project and cannot see why this issue is happening. I have a 'vehicles' table and also a 'customers...
(2) odpowiedzi
2017-06-13 12:06 laravel dropzone combine form error 405 (Method Not Allowed) »
Good day, i've successfully combined dropzone with normal form and it works but everytine i try update a post (user content) using Method PUT or PATCH...
(1) odpowiedzi
2017-06-13 09:06 List jobs on specific queue in Laravel + RabbitMQ »
I'm currently using Laravel 5.1 and RabbitMQ. My task requires me to list all the jobs in a specific queue, select atleast 1 and manipulate(Purge/Dele...
(0) odpowiedzi
2017-06-12 13:06 How to use Token number in all controller and view pages in laravel 5? »
Actually, I am trying to set global variable. My scenario is when I am login with laravel 5 framework.I don't want to use auth email in any controller...
(1) odpowiedzi
2017-06-12 11:06 Trying to resize uploaded files as they are saved to server »
I am using Glide to deliver image content from one of my sites. This is working well and I have now built a file upload so that admins can upload imag...
(3) odpowiedzi
2017-06-12 08:06 How pagination works in api system (frontend is angular2 and backend is laravel5.4)? »
I have a project for hotel bookings, frontend is created using angular2 and backend is created using laravel, It is an API system. I have a table list...
(2) odpowiedzi
2017-06-11 20:06 Laravel 5.4 blade foreach loop »
I am building a venue manangement system, and on the landing page, i m trying to show all the available slots to the visitors. The ones that have alre...
(1) odpowiedzi
2017-06-11 12:06 Laravel 5 View need to be get functioned properly »
I`m new to the laravel 5.4.so that i need to get fixed this problem. i`m working on attendance management system for my company.for the purpose of fi...
(1) odpowiedzi
2017-06-11 11:06 Laravel 5 Undefined variable in view error »
I am new to laravel 5.4. I am not able to find a solution to this problem anywhere. what I am returning $items filtered it gives me an error. Contro...
(2) odpowiedzi
2017-06-10 20:06 withTrashed on hasManyThrough relation »
How can withTrashed be applied on a hasManyThrough relation ? $this->hasManyThrough('App\Message', 'App\Deal')->withTrashed(); returns C...
(1) odpowiedzi
2017-06-10 18:06 Laravel pluck but combining first name + last name for select »
Using select2 with a Laravel / Vue project and need to return JSON in the following format: [ { id: 0, text: 'enhancement' }, { id: 1, text: ...
(2) odpowiedzi
2017-06-10 11:06 Array data issue Laravel »
I have an array issue in here and I'm spending a lot of time with. I get a list of array like this form array:4 [ 0 => array:20 [▼ "id" =>...
(2) odpowiedzi
2017-06-09 11:06 How do I pass a pre defined callback filter in php? »
So I am trying to work with laravel collection filters and I have to filter the collections with a certain callback which looks like so: $cas...
(1) odpowiedzi
2017-06-09 11:06 How to include an association with a user »
I need to return a json object to my view. I see my subscriptions in tinker: \App\User::find(1)->with('subscriptions')->where('id', 1)->get(...
(2) odpowiedzi
2017-06-09 08:06 Accessing dynamic database in laravel »
I am working on an application. I have a master database, where I store all database names. I have made an api, which sends db_name. If that db_name e...
(2) odpowiedzi
2017-06-08 22:06 Laravel one-to-one relationship fails »
I created two migrations, because I wanted to create a one-to-one relationship between Trend and TrendExplanation. Schema::create('trend_explanations...
(1) odpowiedzi
2017-06-08 16:06 laravel displaying path which matches business_id »
I am allowing business to upload images. Everything is saved into database and the only thing I need to do is retrieve images that match business_id:...
(2) odpowiedzi