Anyone is having readymade live casino website?

|
seniormonsieur 2022-06-12 15:56:02
rlawjddn00 2022-06-12 15:52:35
yes

if i may ask what software are you working on?

automan923 2022-06-12 15:56:54
seniormonsieur 2022-06-12 15:49:52
for free?

it’s your choise.

rlawjddn00 2022-06-12 15:56:59
seniormonsieur 2022-06-12 15:56:02
if i may ask what software are you working on?

It’s our company software

seniormonsieur 2022-06-12 15:57:10
automan923 2022-06-12 15:56:54
it’s your choise.

free then

rlawjddn00 2022-06-12 15:57:10
It’s legacy
seniormonsieur 2022-06-12 15:57:20
automan923 2022-06-12 15:56:54
it’s your choise.

i should pm?

seniormonsieur 2022-06-12 15:57:40
rlawjddn00 2022-06-12 15:56:59
It’s our company software

ok

automan923 2022-06-12 15:57:46
pm= project manager?
seniormonsieur 2022-06-12 15:57:58
rlawjddn00 2022-06-12 15:57:10
It’s legacy

legacy gaming?

seniormonsieur 2022-06-12 15:58:09
automan923 2022-06-12 15:57:46
pm= project manager?

private message

automan923 2022-06-12 15:58:26
of course dm me.
zey34354 2022-06-12 16:02:41
MckenzieArts 2022-06-12 15:21:41
Remove type to image or set a default value

sorry ?
which type do you mean

MckenzieArts 2022-06-12 16:04:55
You have this error because you may have defined a variable like string $image but it has no default value. And when you submit your form, since this value is not defined, you get an error
zey34354 2022-06-12 16:30:29
MckenzieArts 2022-06-12 16:04:55
You have this error because you may have defined a variable like string $image but it has no default value. And when you submit your form, since this value is not defined, you get an error

where should be this value
or how can I find it

zey34354 2022-06-12 16:32:00
the problem I am not able to upload the image when I create a new category
zey34354 2022-06-12 16:32:10
public function store(Request $request)
{

$data = new category(); // its fot inserting it
$data->parent_id = $request->parent_id; // its important
$data->title = $request->title;
$data->keywords = $request->keywords;
$data->description = $request->description;
$data->status = $request->status;
if ($request->file(‘image’)(‘images’)) {
$data->image = $request->file(‘image’)->store(‘images’);
}
$data->save();
return redirect(‘admin/category’);
}

zey34354 2022-06-12 16:32:37
public function update(Request $request , category $category, $id )
{
$data=category::find($id);
$data->parent_id = $request->parent_id;
$data->title = $request->title;
$data->keywords = $request->keywords;
$data->description = $request->description;
$data->status = $request->status;
if ($request->file(‘image’)->store(‘images’)){
$data->image=$request->file(‘image’)->store(‘images’);
}

$data->save();
return redirect(‘admin/category’);

}

zey34354 2022-06-12 16:40:31
laravel_discuss-125230.jpg

zey34354 2022-06-12 16:40:42
the problem like this
seniormonsieur 2022-06-12 16:42:55
zey34354 2022-06-12 16:40:42
the problem like this

public function store(Request $request)
{
$data = new category();

if ($request->hasfile(‘image’))
$image = $request->file(‘image’);
$filename = $request->file(‘image’)->getClientOriginalName();
$image->storeAs(‘images’, $filename, ‘public’);

// its fot inserting it
$data->parent_id = $request->parent_id; // its important
$data->title = $request->title;
$data->keywords = $request->keywords;
$data->description = $request->description;
$data->status = $request->status;
$data->save();
else
{
$data->parent_id = $request->parent_id; // its important
$data->title = $request->title;
$data->keywords = $request->keywords;
$data->description = $request->description;
$data->status = $request->status;

$data->save();
}

return redirect(‘admin/category’);
}

seniormonsieur 2022-06-12 16:43:35
run storage:link
zey34354 2022-06-12 16:58:20
seniormonsieur 2022-06-12 16:42:55
public function store(Request $request)
{
$data = new category();

if ($request->hasfile(‘image’))
$image = $request->file(‘image’);
$filename = $request->file(‘image’)->getClientOriginalName();
$image->storeAs(‘images’, $filename, ‘public’);

// its fot inserting it
$data->parent_id = $request->parent_id; // its important
$data->title = $request->title;
$data->keywords = $request->keywords;
$data->description = $request->description;
$data->status = $request->status;
$data->save();
else
{
$data->parent_id = $request->parent_id; // its important
$data->title = $request->title;
$data->keywords = $request->keywords;
$data->description = $request->description;
$data->status = $request->status;

$data->save();
}

return redirect(‘admin/category’);
}

laravel_discuss-125234.jpg
I got this

zey34354 2022-06-12 16:58:30
I have it as post
zey34354 2022-06-12 16:58:45
and I don’t know why did I get this error
automan923 2022-06-12 17:05:44
store function is matching with post request.
automan923 2022-06-12 17:06:11
you can check routes using this command.
php artisan route:list
Garrry601 2022-06-12 17:11:34
Anyone is having readymade live casino website?
zey34354 2022-06-12 17:15:16
automan923 2022-06-12 17:05:44
store function is matching with post request.

let me see

zey34354 2022-06-12 17:17:32
automan923 2022-06-12 17:05:44
store function is matching with post request.

I have it as a post

zey34354 2022-06-12 17:17:43
Route::post(‘/store’, ‘store’)->name(‘store’);// it should be post
zey34354 2022-06-12 17:17:53
its like this
zey34354 2022-06-12 17:19:34
<form action=”{{route(‘admin.category.store’)}}” method=”post” enctype=”multipart/form-data”>
zey34354 2022-06-12 17:19:44
and I have it here as a post
Ejaz Ahmad 2022-06-12 17:22:39
I have 6 month experience in codeignite 4 and now i want to start Laravel
Ejaz Ahmad 2022-06-12 17:23:23
Anyone guide me from where should I start I have read some basic of Laravel from Laravel documentation
|