Krishma

Krishma

Member Since 5 Months Ago

Experience Points
1,340
Total
Experience

3,660 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
0
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

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

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

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

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    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 Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

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

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

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

Level 1
1,340 XP
Jul
02
1 week ago
Activity icon

Started a new Conversation Page Number

Can anyone please help me out.?How to give page number in laravel?

Jun
30
1 week ago
Activity icon

Started a new Conversation PAGE NUMBER

How to give multiple page number in laravel while selecting print option in google chrome?

Jun
26
1 week ago
Activity icon

Started a new Conversation 504 Gateway Timeout

I am getting 504 gateway timeout error.

I tried to solve this matter but not done. Below is php.ini file detail

output_buffering=On; session.cache_limiter =public; max_input_vars=8000000; max_execution_time = 60000; post_max_size = 800000;

Please help me out into this

May
13
1 month ago
Activity icon

Replied to Birthday Email

Without scheduler or cron job is it possible to send direct email by just doing laravel programming??

Activity icon

Replied to Birthday Email

@guybrush_threepwood This is my app\console\kernel

May
12
1 month ago
Activity icon

Replied to Birthday Email

@drewdan What to do now through cron job also i m not able to receive mail and without cron job by using scheduler on windows also i m also not able to receive mail

Activity icon

Replied to Birthday Email

I m using SMTP

I have given Mail encryption = TLS Mail_port = 587 remaining i have given mail username and password

Activity icon

Replied to Birthday Email

@drewdan

I have also tried with scheduler which i available on windows...

Steps to get schedule on windows Start->Control Panel->Administrative Tools->Schedule Tasks...

In this I have also tried..I think error is related to SMTP server... So what i have to write in SMTP server??

Activity icon

Replied to Birthday Email

@drewdan I have also tried on windows scheduler .Over there i got this error.(0x80040213)

Activity icon

Replied to Birthday Email

Can anyone help me out with this error (0x80040213) which i m getting on schedule tasks on windows

Activity icon

Replied to Birthday Email

@ramjithap I m getting error as (0x80040213) after trying on schedular tasks from windows to create a cron job

Activity icon

Replied to Birthday Email

I tried using your link but i m getting error as (0x80040213)

Activity icon

Replied to Birthday Email

Then how will I send birthday wishes to the user directly through mail without using crob tab????

Activity icon

Replied to Birthday Email

cd /home/mylinit/public_html/test.mylinit.com/laravel... This is my server side path but if i want to test using localhost how vl i do that

After running php artisan schedule:run .I m getting the output as Running scheduled command: "C:\xampp\php\php.exe" "artisan" email:birthday > "NU L" 2>&1

Activity icon

Replied to Birthday Email

cd /home/mylinit/public_html/test.mylinit.com/laravel && php artisan schedule:run >> /dev/null 2>&1

I tried this path but didnt received any output

Activity icon

Replied to Birthday Email

/home/mylinit/public_html/test.mylinit.com/laravel/app/Console/Commands/BirthdayWishes.php && php artisan schedule:run >> /dev/null 2>&1

Is the above cron tab entry correct??

Activity icon

Replied to Birthday Email

Is my app\concole\kernel.php file correct?

Activity icon

Replied to Birthday Email

crontab -e command i hv to run on centos server or on my local cmd???

Activity icon

Replied to Birthday Email

After running php artisan email:birthday I am getting The Happy Birthday messages were sent successfully!!

May
11
1 month ago
Activity icon

Replied to Birthday Email

U mean to say the command which i hv written in function handle()?????

Activity icon

Replied to Birthday Email

I have done settings properly but still can u help me with the steps so that i can check it out?

Activity icon

Replied to Birthday Email

Then what must be the issue because i m not getting the email through cron job??

Activity icon

Replied to Birthday Email

I am hosting it on centos server I have also added cron job using the below command

          • cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1.

I have assigned the path of my project and after i have tested in localhost by using command

php artisan schedule:run

and I m getting below output

Running scheduled command: "C:\xampp\php\php.exe" "artisan" email:birthday > "NU L" 2>&1

Activity icon

Replied to Birthday Email

can u help me out with the steps which has to be done on server side for running the cron job??

Activity icon

Replied to Birthday Email

I have tested the command php artisan email:birthday and i m getting the output which i hv written in description

Activity icon

Replied to Birthday Email

Yes I have already added that in schedule method of App\Console\kernel.php

May
09
2 months ago
Activity icon

Replied to Birthday Email

For trial purpose i have added the command in kernel.php file.Is the below command correct??

$schedule->command('email:birthday') ->everyMinute();

Activity icon

Replied to Birthday Email

I tried with crob job but its not working...So can u send me steps of schedule command or cron job so that i can verify or test again

Activity icon

Started a new Conversation Birthday Email

How to send birthday email directly without using cron job

Mar
05
4 months ago
Activity icon

Started a new Conversation Jasper Ireport

How to connect jasper ireport to live server????

Feb
28
4 months ago
Activity icon

Started a new Conversation Jasper Ireport

Hi, how to upload Japser ireport on server

Feb
24
4 months ago
Activity icon

Started a new Conversation How To Fetch Data Through Id In Laravel??

I m unaware

Activity icon

Started a new Conversation Ireports

How to display table in ireport designer using where clause??

Feb
19
4 months ago
Activity icon

Replied to Getting $ Not Defined Error

@sinnbeck i m getting the proper id

Activity icon

Replied to Getting $ Not Defined Error

@a4ashraf Its working fine.But there is one more issue when i press the delete button i get the confirm message proper bt when i press ok the row doesn't deleted and when i refresh the page row gets deleted

Activity icon

Started a new Conversation Getting $ Not Defined Error

<script type='text/javascript'>

function remove(id){    
  $.ajax({
    url: "{{ url('AssetCategoryController/delete') }}",
    type: 'get',
    data: { id: id},
    dataType: 'json',
    success: function (data) {
    var msg = confirm('Are you sure want to Delete this data?');
            if (msg == true) {
                $('#' + id).remove();
                return false;
            }
        },
  });
}
</script>
Activity icon

Replied to How To Avoid Duplicate Values At The Time Of Update Query Using If And Else Condition In Laravel Controller

@sinnbeck I just want to avoid duplications of category_code during update query bt i want to use if and else condition how it is possible??

Activity icon

Replied to How To Avoid Duplicate Values At The Time Of Update Query Using If And Else Condition In Laravel Controller

@willvincent

function update(Request $request,$id)
{
    $category_code = $request->input('category_code');
    $category_desc = $request->input('category_desc');
    $modified_on = date('Y-m-d');
    $modified_by = 0;
    
    $data= array('category_code'=>$category_code,'category_desc'=>$category_desc,'modified_on'=>$modified_on,'modified_by'=>$modified_by);

    DB::table('asset_category')->where('category_id',$id)->update($data);
}

This is my actual code now in these i want to use if and else condition to avoid duplicate values during update

Activity icon

Started a new Conversation How To Avoid Duplicate Values At The Time Of Update Query Using If And Else Condition In Laravel Controller

function update(Request $request,$id)
        {
            $category_code = $request->input('category_code');
            $category_desc = $request->input('category_desc');
            $modified_on = date('Y-m-d');
            $modified_by = 0;

            $mysql = DB::table('asset_category')->where('category_id',$id)->select($category_code);
            if($mysql==$category_code)
            {
            $data= array('category_code'=>$category_code,'category_desc'=>$category_desc,'modified_on'=>$modified_on,'modified_by'=>$modified_by);
            DB::table('asset_category')->where('category_id',$id)->update($data);
            }
            else{
                $cnt= DB::table('asset_category')->where('category_code',$category_code)->count();
                if($cnt > 0){
                    return redirect('AssetCategoryController/update/{id}')->with('category_code', $category_code)->withInput()->withErrors('Data Already Exist');
                }else{
                    $data= array('category_code'=>$category_code,'category_desc'=>$category_desc,'modified_on'=>$modified_on,'modified_by'=>$modified_by);
                    DB::table('asset_category')->where('category_id',$id)->update($data);
                }
            }
            
        }

i have tried this but i m not getting any output

Feb
15
4 months ago
Activity icon

Replied to Dompdf

Which version of PHP and DOMPDF is required for live server???

Activity icon

Replied to Dompdf

@sinnbeck I m getting barryvdh class not defined

Activity icon

Started a new Conversation Dompdf

I am using Dompdf for creating pdf file.On localhost i am getting proper pdf format but while i upload it to live server i m getting error "class" not defined...

I am using PHP version 7.2 and Dompdf version 0.8.5 for localhost but Can Anyone suggest me which version of dompdf and php is required to upload it on live server?

Feb
13
4 months ago
Activity icon

Replied to How To Convert Number Into Words In DomPDF Using Laravel??

@ahkeravi Suppose i have 9076.63 then in words i want Ninety Thousand Seventy six cents sixty three

Activity icon

Started a new Conversation How To Convert Number Into Words In DomPDF Using Laravel??

I am using Barryvdh Dompdf

Feb
12
4 months ago
Activity icon

Started a new Conversation How To Calculate Subtotal And Total In Laravel Without Using Sum()

Without using sum method how to calculate subtotal and total in laravel?

Feb
11
4 months ago
Activity icon

Replied to How To Display HSN Code Wise Data In Laravel Using Table Format

How to give subtotal and total in laravel in blade.php

Activity icon

Replied to How To Display HSN Code Wise Data In Laravel Using Table Format

<tr>
    <td>{{$val->hs_code}}</td>
    <td>{{$val->cust_order_no}}</td>
    <td>{{$val->fg_item}}</td>
    <td>{{$val->net_wt}}</td>
    <td>{{$val->qty}}</td>
    <td>{{$val->rate}}</td>
    <td>{{$val->amount}}</td>
</tr>
This is my code Nw in these I want display HSN code wise data and also total amount hsn code wise How can i do that
Feb
10
4 months ago
Activity icon

Replied to How To Use Where Condition Inside Foreach Loop?

Nw I have one more doubt suppose I have same number of code data of multiple rows in table how will i seperate it and also How will I do total of same number of codes