GoGrocer - Grocery Vegetable Store Delivery Mobile App with Admin Panel By Tecmanic

GoGrocer - Grocery Vegetable Store Delivery Mobile App with Admin Panel By Tecmanic v1.13.0 Untouched

No permission to download

White Devil

Well-known member
Trusted Seller
Trusted Uploader
Jan 6, 2019
3,107
6,072
120
world
babiato.tech

andreandrade

Member
Feb 25, 2020
41
7
8
App\Http\Controllers\Admin\SettingsController::updateappdetails
C:\xampp74\htdocs\source\app\Http\Controllers\Admin\SettingsController.php:228

$last_loc =$request->last_loc;
$country_code = $request->country_code;
$number_length = $request->number_length;
$check = DB::table('tbl_web_setting')
->first();
$app_name = $request->app_name;
$date = date('d-m-Y');
if($check){
$oldapplogo = $check->icon;
$oldfavicon = $check->favicon;
}

if($request->hasFile('app_icon')){

$image = $request->favicon;
$fileName = $image->getClientOriginalName();
$fileName = str_replace(" ", "-", $fileName);


if($this->storage_space != "same_server"){
$image_name = $image->getClientOriginalName();
$image = $request->file('app_icon');
$filePath = '/app_icon/'.$image_name;
Storage::disk($this->storage_space)->put($filePath, fopen($request->file('app_icon'), 'r+'), 'public');
}
else{

$image->move('images/app_logo/app_icon/'.$date.'/', $fileName);
$filePath = '/images/app_logo/app_icon/'.$date.'/'.$fileName;

}
 

Attachments

  • erro.png
    erro.png
    172.5 KB · Views: 34

NulledMaster

Member
Feb 20, 2021
50
76
18
India
babiato.tech
App\Http\Controllers\Admin\SettingsController::updateappdetails
C:\xampp74\htdocs\source\app\Http\Controllers\Admin\SettingsController.php:228

$last_loc =$request->last_loc;
$country_code = $request->country_code;
$number_length = $request->number_length;
$check = DB::table('tbl_web_setting')
->first();
$app_name = $request->app_name;
$date = date('d-m-Y');
if($check){
$oldapplogo = $check->icon;
$oldfavicon = $check->favicon;
}

if($request->hasFile('app_icon')){

$image = $request->favicon;
$fileName = $image->getClientOriginalName();
$fileName = str_replace(" ", "-", $fileName);


if($this->storage_space != "same_server"){
$image_name = $image->getClientOriginalName();
$image = $request->file('app_icon');
$filePath = '/app_icon/'.$image_name;
Storage::disk($this->storage_space)->put($filePath, fopen($request->file('app_icon'), 'r+'), 'public');
}
else{

$image->move('images/app_logo/app_icon/'.$date.'/', $fileName);
$filePath = '/images/app_logo/app_icon/'.$date.'/'.$fileName;

}
chek your php version and extension ..must required version 7.4
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu