emart - Laravel Multi-Vendor Ecommerce Advanced CMS

Status
Not open for further replies.

Chijioke

Member
Apr 18, 2020
58
9
8

carter1738

New member
May 15, 2022
0
0
0
I am updated Emart 2.5 . every thing works fine except new order. when any try order order number is not generating. so getting error. in database its showing Null in order number . once placing order getting error
Illuminate \ Routing \ Exceptions \ UrlGenerationException
Missing required parameter for [Route: seller.view.order] [URI: seller/view/order/{id}] [Missing parameter: id].

any one help me in this regards
 

LuceVN

Member
Dec 16, 2019
63
85
18
doctruyen5s.net
I am updated Emart 2.5 . every thing works fine except new order. when any try order order number is not generating. so getting error. in database its showing Null in order number . once placing order getting error
Illuminate \ Routing \ Exceptions \ UrlGenerationException
Missing required parameter for [Route: seller.view.order] [URI: seller/view/order/{id}] [Missing parameter: id].

any one help me in this regards
Where is license key?
 

kia1349

New member
Mar 19, 2020
8
10
3
500 error: Auth guard [] is not defined.
go to config folder
then open auth.php file and replace all content with this:





<?php

return [

/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for your application. You may change these defaults
| as required, but they're a perfect start for most applications.
|
*/

'defaults' => [
'guard' => 'web',
'passwords' => 'users',
],


/*
|--------------------------------------------------------------------------
| Authentication Guards
|--------------------------------------------------------------------------
|
| Next, you may define every authentication guard for your application.
| Of course, a great default configuration has been defined for you
| here which uses session storage and the Eloquent user provider.
|
| All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
|
| Supported: "session", "token"
|
*/

'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
],

'api' => [
'driver' => 'passport',
'provider' => 'users',
],
],

/*
|--------------------------------------------------------------------------
| User Providers
|--------------------------------------------------------------------------
|
| All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
|
| If you have multiple user tables or models you may configure multiple
| sources which represent each model / table. These sources may then
| be assigned to any extra authentication guards you have defined.
|
| Supported: "database", "eloquent"
|
*/

'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\User::class,
],

// 'users' => [
// 'driver' => 'database',
// 'table' => 'users',
// ],
],

/*
|--------------------------------------------------------------------------
| Resetting Passwords
|--------------------------------------------------------------------------
|
| You may specify multiple password reset configurations if you have more
| than one user table or model in the application and you want to have
| separate password reset settings based on the specific user types.
|
| The expire time is the number of minutes that the reset token should be
| considered valid. This security feature keeps tokens short-lived so
| they have less time to be guessed. You may change this as needed.
|
*/

'passwords' => [
'users' => [
'provider' => 'users',
'table' => 'password_resets',
'expire' => 60,
],
],

];
 
  • Like
Reactions: Chijioke

kia1349

New member
Mar 19, 2020
8
10
3
I am updated Emart 2.5 . every thing works fine except new order. when any try order order number is not generating. so getting error. in database its showing Null in order number . once placing order getting error
Illuminate \ Routing \ Exceptions \ UrlGenerationException
Missing required parameter for [Route: seller.view.order] [URI: seller/view/order/{id}] [Missing parameter: id].

any one help me in this regards
by wich payment method you got this error?


if with wallet payment , open app/Http/Controllers/WalletController.php , go to line 1270 and insert this after $neworder->created_at = date('Y-m-d H:i:s');


$neworder->save();
 

Attachments

  • Untitledaaaaaaaaaa.png
    Untitledaaaaaaaaaa.png
    336.7 KB · Views: 16

LuceVN

Member
Dec 16, 2019
63
85
18
doctruyen5s.net
go to config folder
then open auth.php file and replace all content with this:





<?php

return [

/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for your application. You may change these defaults
| as required, but they're a perfect start for most applications.
|
*/

'defaults' => [
'guard' => 'web',
'passwords' => 'users',
],


/*
|--------------------------------------------------------------------------
| Authentication Guards
|--------------------------------------------------------------------------
|
| Next, you may define every authentication guard for your application.
| Of course, a great default configuration has been defined for you
| here which uses session storage and the Eloquent user provider.
|
| All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
|
| Supported: "session", "token"
|
*/

'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
],

'api' => [
'driver' => 'passport',
'provider' => 'users',
],
],

/*
|--------------------------------------------------------------------------
| User Providers
|--------------------------------------------------------------------------
|
| All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
|
| If you have multiple user tables or models you may configure multiple
| sources which represent each model / table. These sources may then
| be assigned to any extra authentication guards you have defined.
|
| Supported: "database", "eloquent"
|
*/

'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\User::class,
],

// 'users' => [
// 'driver' => 'database',
// 'table' => 'users',
// ],
],

/*
|--------------------------------------------------------------------------
| Resetting Passwords
|--------------------------------------------------------------------------
|
| You may specify multiple password reset configurations if you have more
| than one user table or model in the application and you want to have
| separate password reset settings based on the specific user types.
|
| The expire time is the number of minutes that the reset token should be
| considered valid. This security feature keeps tokens short-lived so
| they have less time to be guessed. You may change this as needed.
|
*/

'passwords' => [
'users' => [
'provider' => 'users',
'table' => 'password_resets',
'expire' => 60,
],
],

];
Error 500 has been resolved, but I get the same error again
 

Attachments

  • Screenshot_2021-07-21-17-49-13-412_com.coccoc.trinhduyet.jpg
    Screenshot_2021-07-21-17-49-13-412_com.coccoc.trinhduyet.jpg
    183.1 KB · Views: 15

kia1349

New member
Mar 19, 2020
8
10
3
Error 500 has been resolved, but I get the same error again
see file IsActive.php in ===>>app/Http/Middleware/IsActive.php

line 16 ==> function handle

this function Check config.txt file in the public folder

If it finds the number 1 in this file, it will allow you to change the domain

So if you can not change the domain, there are several reasons
1- The config.txt file does not exist in the public folder
2. The config.txt file is in the public folder, but the contents are not equal to 1

solution:
1. Manually create a file called config.txt in the public folder and type 1 in it. Then save it. This is a temporary solution without programming knowledge



2- In the IsActive.php file after this command
$ isactive = @file_get_contents (public_path (). '/config.txt');

And before this command

if ($ isactive) {

Type this phrase:

$ isactive = 1;






I hope I helped
English isn't my native language, excuse me if you misunderstand anything
 

Attachments

  • 1111.png
    1111.png
    237.9 KB · Views: 17
  • 22222.png
    22222.png
    107.6 KB · Views: 17
  • Like
Reactions: Chijioke

kia1349

New member
Mar 19, 2020
8
10
3
  • Like
Reactions: Chijioke

kia1349

New member
Mar 19, 2020
8
10
3
Last edited:
  • Like
Reactions: Chijioke

carter1738

New member
May 15, 2022
0
0
0
by wich payment method you got this error?


if with wallet payment , open app/Http/Controllers/WalletController.php , go to line 1270 and insert this after $neworder->created_at = date('Y-m-d H:i:s');


$neworder->save();
Thanks for your response. I am getting error in manual payment gateway . . Could please check it . Thank you
 
  • Like
Reactions: Chijioke

kia1349

New member
Mar 19, 2020
8
10
3
Thanks for your response. I am getting error in manual payment gateway . . Could please check it . Thank you
hi
i dont know now,but you must attach screenshot from your manual payment data and setting , and screenshot from your error
then i can Survey
 
  • Like
Reactions: Chijioke
Status
Not open for further replies.

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