Reputation: 45
I am trying to learn larvel framework. When I try to use a php artisan command in teminal it does something unusual. It prints 'k' word with the command and than executes it.
➜ project git:(master) ✗ php artisan serv
kLaravel development server started: http://127.0.0.1:8000
➜ project git:(master) ✗ php artisan clear
kThe compiled services file has been removed.
and when I open my local server same weird 'k' letter shows up again.
my parent view is(layout.blade.php):
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="{{ elixir('css/app.css') }}">
</head>
<body>
@yield('content')
@yield('footer')
</body>
</html>
and welcome page:
@extends('layout')
@section('content')
<h1>The csdfadfda Goes Here</h1>
@stop
I don't know where the hell this 'k' comes from and i have no idea how to fix it. Do you have any suggestions?
Upvotes: 2
Views: 286
Reputation: 1661
You are using K on the very first line on here:
Remove k from the very first line.
Upvotes: 0
Reputation: 360
You write a "k" character to your index.php or routes.php or any always parsed file before <?
. Find and remove it.
Upvotes: 1
Reputation: 179
You are probally printing it in an ServiceProvider or in an Controller.
Try to find in your project something like that:
echo 'k'
or
echo "k"
Upvotes: 0