emart - Laravel Multi-Vendor Ecommerce Advanced CMS

Status
Not open for further replies.

NullMaster

Well-known member
Null Master
Trusted Uploader
Jul 25, 2018
12,058
22,063
120
emart.png

After finish install..
emart-config.png

Enter the url and database information in these two files.
 

bhuians

New member
Dec 11, 2020
1
0
1
@White Devil
for nulling just go to
\e-mart\app\Http\Controllers\
Open GenralController.php
find this code around line 59 to 94
PHP:
if ($domain == 'localhost' || strstr($domain, '.test') || strstr($domain, '192.168.0') || strstr($domain, 'mediacity.co.in')) {
            return $this->verifiedupdate($input, $request);
        } else {
            $token = (file_exists(public_path() . '/intialize.txt') && file_get_contents(public_path() . '/intialize.txt') != null) ? file_get_contents(public_path() . '/intialize.txt') : 0;
            $code = (file_exists(public_path() . '/code.txt') && file_get_contents(public_path() . '/code.txt') != null) ? file_get_contents(public_path() . '/code.txt') : 0;
            $ch = curl_init();
            $options = array(
                CURLOPT_URL => "https://mediacity.co.in/purchase/public/api/check/{$domain}",
                CURLOPT_RETURNTRANSFER => true,
                CURLOPT_TIMEOUT => 20,
                CURLOPT_HTTPHEADER => array(
                    'Accept: application/json',
                    "Authorization: Bearer " . $token,
                ),
            );
            curl_setopt_array($ch, $options);
            $response = curl_exec($ch);
            if (curl_errno($ch) > 0) {
                $message = "Error connecting to API.";
                return back()->with('delete', $message);
            }
            $responseCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
            if ($responseCode == 200) {
                $body = json_decode($response);
                if ($domain == $curdomain) {
                    return $this->verifiedupdate($input, $request);
                } else {
                    $putS = 0;
                    file_put_contents(public_path() . '/config.txt', $putS);
                }
            } else {
                $message = "Failed";
                $putS = 0;
                file_put_contents(public_path() . '/config.txt', $putS);
            }
        }[/CODE
[QUOTE="Tomz, post: 313440, member: 1"]
[URL unfurl="true"]https://codecanyon.net/item/emart-laravel-multivendor-ecommerce-advanced-cms/25300293/comments?utf8=%E2%9C%93&term=error+500&from_buyers_and_authors_only=0[/URL]
[/QUOTE]

and replace with this code
[CODE=php]return $this->verifiedupdate($input, $request);
Enjoy
 

salehshwa

New member
Aug 10, 2020
9
0
1
1.8 nulled file..
Thank you for your effort, my friend
I would have had a little problem now
It is in the home page facing this error
500 | Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Everything works except the home page
 

achrafhalim

New member
Jan 23, 2021
18
1
1
i have a probleme also in sellerdashbord (500 internal error) and on admin pannel when i try to add product (datatable warning)
 

NullMaster

Well-known member
Null Master
Trusted Uploader
Jul 25, 2018
12,058
22,063
120
Open the database.php file. fill in the information inside. Open the app.php file. change site address.
 

salehshwa

New member
Aug 10, 2020
9
0
1
@NullMaster I have modified these lines because nothing works. Is there anything else that needs to be modified?
app.php
'url' => env('APP_URL', 'https://xxx.xxx.com),

database.php
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'test'),
'username' => env('DB_USERNAME', 'test'),
'password' => env('DB_PASSWORD', 'test'),
 
Last edited:

susan8888

New member
Feb 3, 2021
2
0
1
I love the script ,but is very heavy and slow even on developer site takes ages to load a page .. On local env when tested doesn't work well when connected to internet . Offline seams to be okay ,but still with one user that's not good .

I think it something blocks req /res or it does make to many API calls . I don't know to be honest ,If someone knows how can I optimize the speed please advice . Thank you
 
  • Like
Reactions: Chijioke

achrafhalim

New member
Jan 23, 2021
18
1
1
I love the script ,but is very heavy and slow even on developer site takes ages to load a page .. On local env when tested doesn't work well when connected to internet . Offline seams to be okay ,but still with one user that's not good .

I think it something blocks req /res or it does make to many API calls . I don't know to be honest ,If someone knows how can I optimize the speed please advice . Thank you
the seller dashboard work good and adding products?
 
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