imtiyaz004

imtiyaz004

Member Since 2 Years Ago

Experience Points 370
Experience
Level
Lessons Completed 0
Lessons
Completed
Best Reply Awards 0
Best Answer
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • Chatty Cathy Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

24 Nov
1 year ago

imtiyaz004 started a new conversation Laravel +postgresql Groupby Query

I have Model Called "Package". I want to use "SELECT * FROM package WHERE type='domestic' GROUP BY state" query with Laravel postgresql . How can i write this query using "Package" Model.

29 Sep
1 year ago

imtiyaz004 left a reply on Groupby Error

Actually, I have a package table there is a column called state, I want to group all the state which has the same name.

imtiyaz004 left a reply on Groupby Error

i want to groupby state in my package table

imtiyaz004 started a new conversation Groupby Error

$packages=Package::where('type','domestic')->groupBy('state')->with('images')->get(); error is Grouping error: 7 ERROR: column "package.id" must appear in the GROUP BY clause or be used in an aggregate function

17 Sep
1 year ago

imtiyaz004 left a reply on Laravel In Subdirectory Issues

have you tried to install laravel globally? use this and check once composer global require "laravel/installer"

imtiyaz004 started a new conversation Form Action Leads Me To Different Route

this is my form action

web.php

Route::post('userinfo',array('as' => 'userinfo', 'uses' => '[email protected]'));

controller

public function sendinfo() { // Mail::send(new send_user_info()); echo "hello"; }

form action leads me to a different route, if i don't give the action and if I click on the submit button it still leads me to the same route.

imtiyaz004 started a new conversation Form Action Leads Me To Different Route

this is my form action

web.php Route::post('userinfo',array('as' => 'userinfo', 'uses' => '[email protected]')); controller public function sendinfo() { // Mail::send(new send_user_info()); echo "hello"; } form action leads me to different route,if i don't give the action and if i click on the submit buttion it still leads me to the same route.
21 Jul
1 year ago

imtiyaz004 left a reply on 500 (Internal Server Error) In Ajax Request

it's showing this error

Object {readyState: 4, getResponseHeader: function, getAllResponseHeaders: function, setRequestHeader: function, overrideMimeType: function…}

imtiyaz004 left a reply on 500 (Internal Server Error) In Ajax Request

After console.log(error) its showing Object {readyState: 4, getResponseHeader: function, getAllResponseHeaders: function, setRequestHeader: function, overrideMimeType: function…} abort : function (a) always : function () catch : function (a) done : function () fail : function () getAllResponseHeaders : function () getResponseHeader : function (a) overrideMimeType : function (a) pipe : function () progress : function () promise : function (a) readyState : 4 responseText : "↵↵ ↵ ↵ ↵ ↵ /* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html */↵ html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}↵↵ html { background: #eee; padding: 10px }↵ img { border: 0; }↵ #sf-resetcontent { width:970px; margin:0 auto; }↵ .sf-reset { font: 11px Verdana, Arial, sans-serif; color: #333 }↵ .sf-reset .clear { clear:both; height:0; font-size:0; line-height:0; }↵ .sf-reset .clear_fix:after { display:block; height:0; clear:both; visibility:hidden; }↵ .sf-reset .clear_fix { display:inline-block; }↵ .sf-reset * html .clear_fix { height:1%; }↵ .sf-reset .clear_fix { display:block; }↵ .sf-reset, .sf-reset .block { margin: auto }↵ .sf-reset abbr { border-bottom: 1px dotted #000; cursor: help; }↵ .sf-reset p { font-size:14px; line-height:20px; color:#868686; padding-bottom:20px }↵ .sf-reset strong { font-weight:bold; }↵ .sf-reset a { color:#6c6159; cursor: default; }↵ .sf-reset a img { border:none; }↵ .sf-reset a:hover { text-decoration:underline; }↵ .sf-reset em { font-style:italic; }↵ .sf-reset h1, .sf-reset h2 { font: 20px Georgia, "Times New Roman", Times, serif }↵ .sf-reset .exception_counter { background-color: #fff; color: #333; padding: 6px; float: left; margin-right: 10px; float: left; display: block; }↵ .sf-reset .exception_title { margin-left: 3em; margin-bottom: 0.7em; display: block; }↵ .sf-reset .exception_message { margin-left: 3em; display: block; }↵ .sf-reset .traces li { font-size:12px; padding: 2px 4px; list-style-type:decimal; margin-left:20px; }↵ .sf-reset .block { background-color:#FFFFFF; padding:10px 28px; margin-bottom:20px;↵ -webkit-border-bottom-right-radius: 16px;↵ -webkit-border-bottom-left-radius: 16px;↵ -moz-border-radius-bottomright: 16px;↵ -moz-border-radius-bottomleft: 16px;↵ border-bottom-right-radius: 16px;↵ border-bottom-left-radius: 16px;↵ border-bottom:1px solid #ccc;↵ border-right:1px solid #ccc;↵ border-left:1px solid #ccc;↵ word-wrap: break-word;↵ }↵ .sf-reset .block_exception { background-color:#ddd; color: #333; padding:20px;↵ -webkit-border-top-left-radius: 16px;↵ -webkit-border-top-right-radius: 16px;↵ -moz-border-radius-topleft: 16px;↵ -moz-border-radius-topright: 16px;↵ border-top-left-radius: 16px;↵ border-top-right-radius: 16px;↵ border-top:1px solid #ccc;↵ border-right:1px solid #ccc;↵ border-left:1px solid #ccc;↵ overflow: hidden;↵ word-wrap: break-word;↵ }↵ .sf-reset a { background:none; color:#868686; text-decoration:none; }↵ .sf-reset a:hover { background:none; color:#313131; text-decoration:underline; }↵ .sf-reset ol { padding: 10px 0; }↵ .sf-reset h1 { background-color:#FFFFFF; padding: 15px 28px; margin-bottom: 20px;↵ -webkit-border-radius: 10px;↵ -moz-border-radius: 10px;↵ border-radius: 10px;↵ border: 1px solid #ccc;↵ }↵ ↵ ↵ ↵ ↵

Whoops, looks like something went wrong.

↵ 1/1↵ ErrorException in PageController.php line 95:↵ <span class="exception… Pipeline.php line 104
  • at Pipeline->then(object(Closure)) in Router.php line 644
  • at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 618
  • at Router->dispatchToRoute(object(Request)) in Router.php line 596
  • at Router->dispatch(object(Request)) in Kernel.php line 268
  • at Kernel->Illuminate\Foundation\Http{closure}(object(Request)) in Pipeline.php line 53
  • at Pipeline->Illuminate\Routing{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
  • at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
  • at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
  • at Pipeline->Illuminate\Routing{closure}(object(Request)) in Pipeline.php line 104
  • at Pipeline->then(object(Closure)) in Kernel.php line 150
  • at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 117
  • at Kernel->handle(object(Request)) in index.php line 54
  • at require_once('C:\Tripchalo\public\index.php') in server.php line 21
  • ↵ ↵↵↵ ↵ ↵" setRequestHeader : function (a,b) state : function () status : 500 statusCode : function (a) statusText : "Internal Server Error" then : function (b,d,e) proto : Object

    imtiyaz004 left a reply on 500 (Internal Server Error) In Ajax Request

    After console.log(error) is showing Uncaught ReferenceError: error is not defined

    16 Jul
    1 year ago

    imtiyaz004 started a new conversation 500 (Internal Server Error) In Ajax Request

    I am using Get ajax request in Laravel. but I found an internal server error in console, please help me.

    $(document).ready(function(){
        $(document).on('click','#getRequest',function(){
            console.log("its work");
            var place_id=$(this).attr('value');
           // var url={{route('placedetails')}};
    
            console.log(place_id);
            // $.ajax({
            //   type:'get',
            //   url:'/placedetails',
            //   data:{'id':place_id},
            //   success:function(data){
            //     console.log(data),
            //   },
            //   error:function(){
    
            //   }
            //     });
             $.ajax({
               type:'get',
               url:'{{route('placedetails')}}',
               data:{'id':place_id},
               success:function(data){
                   console.log('success');
               },
               error:function()
               {
    
               }
    
    
            });
    
    
        });
         
      });
    </script>
    
    23 Nov
    2 years ago

    imtiyaz004 left a reply on Server Error

    i use laravel form and parsley js and laravel middle ware, another application are run properly but when i am try to start this particular project its showing this error

    imtiyaz004 left a reply on Server Error

    i increase all those things but still its not working

    imtiyaz004 started a new conversation Server Error

    When i try to start laravel server using php artisan serve i get this error "PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in C:\blog\vendor\laravel\framework\src\Illuminate\View\Engines\PhpEngine.php on line 34" , how can Fixed this error????