so how I can solve this problem?
I am new in laravel buddy could you help me how to apply it to my controller?
is there anybody used voyager?
R u solved this?
Has anyone here ever used query file uploader?
can you post it on jsfiddle or somewhere?
Did you even read the error?
Problem 1
– The requested PHP extension ext-mysql_xdevapi * is missing from your system. Install or enable PHP’s mysql_xdevapi extension.
so how I can solve this problem?
Laravel 5.8
Here is my route:
Route::get(‘paper-download/{paper_filename}’, ‘PaperController@download’);
Schema::create(‘papers’, function (Blueprint $table) {
$table->increments(‘id’);
$table->integer(‘user_id’)->unsigned();
$table->foreign(‘user_id’)->references(‘id’)->on(‘users’)->onDelete(‘cascade’);
$table->text(‘author’);
$table->text(‘institution’);
$table->text(‘paper_title’);
$table->string(‘paper_filename’);
$table->smallInteger(‘status’)->default(0);
$table->dateTime(‘moderated_at’)->nullable();
$table->timestamps();
});
and here is my downloadcontroller:
public function download($paper_filename)
{
$paper = Paper::find($id);
$paper = public_path().’public/papers’ . $paper->paper_filename .’.docx’;
return response()->download($paper);
}
I found this error:
“The file “C:xampphtdocslaravel projectmoderatorpublicpublic/paperspublic/papers/MXyfCwbxjMxODFhOMakdur4QL2IR5zirzEdLlJqS.docx.docx” does not exist”
Please help
Problem 1
– The requested PHP extension ext-mysql_xdevapi * is missing from your system. Install or enable PHP’s mysql_xdevapi extension.
so how I can solve this problem?
Make sure u habe the stated dependency installed and unvomment it in your php.ini configuration file
I cheked this steps but is any commnad to say compoers remove any composer data and reinstall agin (no project content)
Laravel 5.8
Here is my route:
Route::get(‘paper-download/{paper_filename}’, ‘PaperController@download’);
Schema::create(‘papers’, function (Blueprint $table) {
$table->increments(‘id’);
$table->integer(‘user_id’)->unsigned();
$table->foreign(‘user_id’)->references(‘id’)->on(‘users’)->onDelete(‘cascade’);
$table->text(‘author’);
$table->text(‘institution’);
$table->text(‘paper_title’);
$table->string(‘paper_filename’);
$table->smallInteger(‘status’)->default(0);
$table->dateTime(‘moderated_at’)->nullable();
$table->timestamps();
});
and here is my downloadcontroller:
public function download($paper_filename)
{
$paper = Paper::find($id);
$paper = public_path().’public/papers’ . $paper->paper_filename .’.docx’;
return response()->download($paper);
}
I found this error:
“The file “C:xampphtdocslaravel projectmoderatorpublicpublic/paperspublic/papers/MXyfCwbxjMxODFhOMakdur4QL2IR5zirzEdLlJqS.docx.docx” does not exist”
Please help
Check how you sabe the path to your file
Try a hard reset
I updated the composer data data with default data and the error gone. I just need to install additional packages
Laravel 5.8
Here is my route:
Route::get(‘paper-download/{paper_filename}’, ‘PaperController@download’);
Schema::create(‘papers’, function (Blueprint $table) {
$table->increments(‘id’);
$table->integer(‘user_id’)->unsigned();
$table->foreign(‘user_id’)->references(‘id’)->on(‘users’)->onDelete(‘cascade’);
$table->text(‘author’);
$table->text(‘institution’);
$table->text(‘paper_title’);
$table->string(‘paper_filename’);
$table->smallInteger(‘status’)->default(0);
$table->dateTime(‘moderated_at’)->nullable();
$table->timestamps();
});
and here is my downloadcontroller:
public function download($paper_filename)
{
$paper = Paper::find($id);
$paper = public_path().’public/papers’ . $paper->paper_filename .’.docx’;
return response()->download($paper);
}
I found this error:
“The file “C:xampphtdocslaravel projectmoderatorpublicpublic/paperspublic/papers/MXyfCwbxjMxODFhOMakdur4QL2IR5zirzEdLlJqS.docx.docx” does not exist”
Please help
Use asset(‘papers/’…..)
Thank your for your reponse and your help
I am new in laravel buddy could you help me how to apply it to my controller?
Laravel 5.8
Here is my route:
Route::get(‘paper-download/{paper_filename}’, ‘PaperController@download’);
Schema::create(‘papers’, function (Blueprint $table) {
$table->increments(‘id’);
$table->integer(‘user_id’)->unsigned();
$table->foreign(‘user_id’)->references(‘id’)->on(‘users’)->onDelete(‘cascade’);
$table->text(‘author’);
$table->text(‘institution’);
$table->text(‘paper_title’);
$table->string(‘paper_filename’);
$table->smallInteger(‘status’)->default(0);
$table->dateTime(‘moderated_at’)->nullable();
$table->timestamps();
});
and here is my downloadcontroller:
public function download($paper_filename)
{
$paper = Paper::find($id);
$paper = public_path().’public/papers’ . $paper->paper_filename .’.docx’;
return response()->download($paper);
}
I found this error:
“The file “C:xampphtdocslaravel projectmoderatorpublicpublic/paperspublic/papers/MXyfCwbxjMxODFhOMakdur4QL2IR5zirzEdLlJqS.docx.docx” does not exist”
Please help
R u solved this?
Please can anyone help me with this
I am experiencing this error


This is the file
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
Laravel 5.8
Here is my route:
Route::get(‘paper-download/{paper_filename}’, ‘PaperController@download’);
Schema::create(‘papers’, function (Blueprint $table) {
$table->increments(‘id’);
$table->integer(‘user_id’)->unsigned();
$table->foreign(‘user_id’)->references(‘id’)->on(‘users’)->onDelete(‘cascade’);
$table->text(‘author’);
$table->text(‘institution’);
$table->text(‘paper_title’);
$table->string(‘paper_filename’);
$table->smallInteger(‘status’)->default(0);
$table->dateTime(‘moderated_at’)->nullable();
$table->timestamps();
});
and here is my downloadcontroller:
public function download($paper_filename)
{
$paper = Paper::find($id);
$paper = public_path().’public/papers’ . $paper->paper_filename .’.docx’;
return response()->download($paper);
}
I found this error:
“The file “C:xampphtdocslaravel projectmoderatorpublicpublic/paperspublic/papers/MXyfCwbxjMxODFhOMakdur4QL2IR5zirzEdLlJqS.docx.docx” does not exist”
Please help
Did you even read the error? You are using public path, so why add public again?
RTFE
Look at the link it show at the “The file “C:….”, obviously it is wrong just look at it and you will see what need to be changed.
Show me the header and footer

This is the header

This is the footer

This is all the js loaded in the blade template needed for the upload
This codes in another blade file. Right?
You need to push these tags before closing body.
For example if your blade file extend with app.blade.php. then you need to push using
Add @stack(‘scripts’) in your app.blade.php
Then add below code in your page.blade.php after @endsection
@push(‘scripts’)
Put your required script files for this page
<script src=””…… Tags here
@endpush