Administrators Mahmoud Posted June 17, 2022 Administrators Share Posted June 17, 2022 View File The Shop - PWA eCommerce cms The Shop - PWA eCommerce CMS HOW TO NULL THE SCRIPT Replace the file in vendor/mehedi-iitdu/core-component-repository/src/CoreComponentRepository.php with this code <?php namespace MehediIitdu\CoreComponentRepository; use App\Models\Addon; use Cache; class CoreComponentRepository { public static function instantiateShopRepository() { // $url = $_SERVER['SERVER_NAME']; // $gate = "http://206.189.81.181/check_activation/".$url; // $rn = self::serializeObjectResponse($gate); // self::finalizeRepository($rn); } protected static function serializeObjectResponse($zn) { // $stream = curl_init(); // curl_setopt($stream, CURLOPT_URL, $zn); // curl_setopt($stream, CURLOPT_HEADER, 0); // curl_setopt($stream, CURLOPT_RETURNTRANSFER, 1); // curl_setopt($stream, CURLOPT_POST, 1); // $rn = curl_exec($stream); // curl_close($stream); // return $rn; } protected static function finalizeRepository($rn) { // if($rn == "bad" && env('DEMO_MODE') != 'On') { // return redirect('https://activeitzone.com/activation/')->send(); // } } public static function initializeCache() { foreach(Addon::all() as $addon){ if ($addon->purchase_code == null) { self::finalizeCache($addon); } if(Cache::get($addon->unique_identifier.'-purchased', 'no') == 'no'){ // try { // $gate = "https://activeitzone.com/activation/check/".$addon->unique_identifier."/".$addon->purchase_code; // $stream = curl_init(); // curl_setopt($stream, CURLOPT_URL, $gate); // curl_setopt($stream, CURLOPT_HEADER, 0); // curl_setopt($stream, CURLOPT_RETURNTRANSFER, 1); // $rn = curl_exec($stream); // curl_close($stream); if($rn == 'no') { self::finalizeCache($addon); Cache::rememberForever($addon->unique_identifier.'-purchased', function () { return 'yes'; }); } // else{ // Cache::rememberForever($addon->unique_identifier.'-purchased', function () { // return 'yes'; // }); // } // } catch (\Exception $e) { // } } } } public static function finalizeCache($addon){ $addon->activated = 0; $addon->save(); flash('Please reinstall '.$addon->name.' using valid purchase code')->warning(); return redirect()->route('addons.index')->send(); } } Submitter Mahmoud Submitted 06/17/2022 Category Scripts Demo https://codecanyon.net/item/the-shop/34858541 2 Quote Support is available for paid files only Support for free files is offered for a fee only Link to comment Share on other sites More sharing options...
Wiliams trigger Posted June 20, 2022 Share Posted June 20, 2022 not working getting http error 500 Quote Link to comment Share on other sites More sharing options...
Djoazerty Posted June 22, 2022 Share Posted June 22, 2022 use this : <?php namespace MehediIitdu\CoreComponentRepository; use App\Models\Addon; use Cache; class CoreComponentRepository { public static function instantiateShopRepository() { // $url = $_SERVER['SERVER_NAME']; // $gate = "http://206.189.81.181/check_activation/".$url; // $rn = self::serializeObjectResponse($gate); // self::finalizeRepository($rn); } protected static function serializeObjectResponse($zn) { // $stream = curl_init(); // curl_setopt($stream, CURLOPT_URL, $zn); // curl_setopt($stream, CURLOPT_HEADER, 0); // curl_setopt($stream, CURLOPT_RETURNTRANSFER, 1); // curl_setopt($stream, CURLOPT_POST, 1); // $rn = curl_exec($stream); // curl_close($stream); // return $rn; } protected static function finalizeRepository($rn) { // if($rn == "bad" && env('DEMO_MODE') != 'On') { // return redirect('https://activeitzone.com/activation/')->send(); // } } public static function initializeCache() { foreach(Addon::all() as $addon){ if ($addon->purchase_code == null) { self::finalizeCache($addon); } if(Cache::get($addon->unique_identifier.'-purchased', 'no') == 'no'){ // try { // $gate = "https://activeitzone.com/activation/check/".$addon->unique_identifier."/".$addon->purchase_code; // $stream = curl_init(); // curl_setopt($stream, CURLOPT_URL, $gate); // curl_setopt($stream, CURLOPT_HEADER, 0); // curl_setopt($stream, CURLOPT_RETURNTRANSFER, 1); // $rn = curl_exec($stream); // curl_close($stream); if($rn == 'no') { self::finalizeCache($addon); Cache::rememberForever($addon->unique_identifier.'-purchased', function () { return 'yes'; }); } // else{ // Cache::rememberForever($addon->unique_identifier.'-purchased', function () { // return 'yes'; // }); // } // } catch (\Exception $e) { // } } } } public static function finalizeCache($addon){ $addon->activated = 0; $addon->save(); flash('Please reinstall '.$addon->name.' using valid purchase code')->warning(); return redirect()->route('addons.index')->send(); } } just chang the file content Quote Link to comment Share on other sites More sharing options...
Wiliams trigger Posted June 28, 2022 Share Posted June 28, 2022 still showing same error Quote Link to comment Share on other sites More sharing options...
Steeven Andrian Posted July 1, 2022 Share Posted July 1, 2022 does anyone have a version of the uncompile vuejs script? Quote Link to comment Share on other sites More sharing options...
Tariqul Islam Posted July 16, 2022 Share Posted July 16, 2022 Update version : 1.7 (04/07/2022) Quote Link to comment Share on other sites More sharing options...
سرفايفل مان Posted March 9, 2023 Share Posted March 9, 2023 There is no folder with this name mehedi-iitdu Quote Link to comment Share on other sites More sharing options...
talha dogar Posted November 21, 2023 Share Posted November 21, 2023 images are not loading can anyone help? 1 Quote Link to comment Share on other sites More sharing options...
Pro Blogger Posted November 22, 2023 Share Posted November 22, 2023 Oops After Installation, It's Not Showing Photos. Please Help Quote Link to comment Share on other sites More sharing options...
Pro Blogger Posted November 22, 2023 Share Posted November 22, 2023 @talha dogar Did You Fixed The Problem? Quote Link to comment Share on other sites More sharing options...
talha dogar Posted November 24, 2023 Share Posted November 24, 2023 @Pro Blogger yes Quote Link to comment Share on other sites More sharing options...
Pro Blogger Posted November 27, 2023 Share Posted November 27, 2023 @talha dogar Please Help, How Can I Fix The Problem? Quote Link to comment Share on other sites More sharing options...
talha dogar Posted November 28, 2023 Share Posted November 28, 2023 I have shop pwa seller refund add-on for 5 usd Quote Link to comment Share on other sites More sharing options...
phùng danh tưởng Posted January 28 Share Posted January 28 Not show Pic. pls help me Quote Link to comment Share on other sites More sharing options...
Administrators Mahmoud Posted April 7 Author Administrators Share Posted April 7 Fixed Quote Support is available for paid files only Support for free files is offered for a fee only Link to comment Share on other sites More sharing options...
Pro Blogger Posted April 7 Share Posted April 7 @Mahmoud OK Thanks Sir Quote Link to comment Share on other sites More sharing options...
Oboti Jason Posted July 30 Share Posted July 30 Still not showing images... How do we fix Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.