Administrators Mahmoud Posted July 11, 2023 Administrators Posted July 11, 2023 View File SumoWebTools - Online Web Tools Script SumoWebTools is a web tools script that provides free internet tools that are useful in daily online activities. It supports multi-language, making it easy to customize the language you want with just a few taps. This script is built on Bootstrap v5, supports Light and Dark modes, supports LTR and RTL layouts. With more than 120 commonly used web tools on the internet, it will help you quickly get approved for Google Adsense. Optimized for Page Speed Insights SumoWebTools has been optimized for performance according to the standards set by Google Page Speed Insights. This specialized script targets the critical factors that affect your site’s speed and overall user experience, making it an invaluable asset for your web optimization efforts. Submitter Mahmoud Submitted 07/12/2023 Category Scripts Demo https://codecanyon.net/item/sumowebtools-online-web-tools-script/34704474 3 Quote Support is available for paid files only Support for free files is offered for a fee only
Tâm MV Posted July 14, 2023 Posted July 14, 2023 hello @Mahmoud. in the script above the addons part is from sumoseotools and not from sumowebtools. Can you check again? 1 Quote
Administrators Mahmoud Posted December 16, 2023 Author Administrators Posted December 16, 2023 Updated 1 Quote Support is available for paid files only Support for free files is offered for a fee only
Kevin Kenfack Posted December 20, 2023 Posted December 20, 2023 please the license key the script is not nulled Quote
boksnet.pl Posted February 29 Posted February 29 public_html/components/app/Http/Livewire/Public/Install/Environment.php Go into this Directory Scroll to Section - try { $response = Http::get('https://envato.themeluxury.com/activation/sumowebtools.php?code=' . $this->purchase_code . '&domain=' . url('/') ); if ($response->ok() && $response['status'] === 'success') { if (! $this->checkDatabaseConnection($this->database_host, $this->database_port, $this->database_name, $this->database_username, $this->database_password) ) Replace this success with "error" like this if ($response->ok() && $response['status'] === 'error') DONE! now put anything and your file can be installed 1 1 Quote
Coders Posted March 2 Posted March 2 (edited) On 2/29/2024 at 7:50 PM, boksnet.pl said: public_html/components/app/Http/Livewire/Public/Install/Environment.php Go into this Directory Scroll to Section - try { $response = Http::get('https://envato.themeluxury.com/activation/sumowebtools.php?code=' . $this->purchase_code . '&domain=' . url('/') ); if ($response->ok() && $response['status'] === 'success') { if (! $this->checkDatabaseConnection($this->database_host, $this->database_port, $this->database_name, $this->database_username, $this->database_password) ) Replace this success with "error" like this if ($response->ok() && $response['status'] === 'error') DONE! now put anything and your file can be installed @boksnet.pl The installation is completed but it still asks for the purchase code in the admin panel. Edited March 2 by Coders Quote
Anonymous_Insane Posted April 1 Posted April 1 On 3/2/2024 at 11:59 PM, Coders said: @boksnet.pl The installation is completed but it still asks for the purchase code in the admin panel. Here is the complete fix. Once you've installed the script (by editing the Environment.php), you need to edit 2 more files to completely null the verification. /components/app/Http/Livewire/Admin/License.php /components/vendor/arcanedev/localization/src/Middleware/LocaleAuth.php You need to do the same patch, change success to error. Quote
Sira Video Posted April 18 Posted April 18 On 2/29/2024 at 10:20 PM, boksnet.pl said: public_html/components/app/Http/Livewire/Public/Install/Environment.php Go into this Directory Scroll to Section - try { $response = Http::get('https://envato.themeluxury.com/activation/sumowebtools.php?code=' . $this->purchase_code . '&domain=' . url('/') ); if ($response->ok() && $response['status'] === 'success') { if (! $this->checkDatabaseConnection($this->database_host, $this->database_port, $this->database_name, $this->database_username, $this->database_password) ) Replace this success with "error" like this if ($response->ok() && $response['status'] === 'error') DONE! now put anything and your file can be installed I don't understand to replace it can you quote the part to change? Quote
حسين عبدالله رحمن Posted April 23 Posted April 23 @Coders <?php namespace App\Http\Livewire\Public\Install; use Livewire\Component; use Brotzka\DotenvEditor\DotenvEditor; use Illuminate\Support\Facades\Artisan; use DB, Schema; use App\Models\Install; use Illuminate\Support\Facades\Http; class Environment extends Component { public $purchase_code; public $database_host = 'localhost'; public $database_port = '3306'; public $database_name; public $database_username; public $database_password; public $continue = false; public function mount() { $env = new DotenvEditor(); $this->database_host = $env->getValue("DB_HOST"); $this->database_port = $env->getValue("DB_PORT"); $this->database_name = $env->getValue("DB_DATABASE"); $this->database_username = $env->getValue("DB_USERNAME"); $this->database_password = $env->getValue("DB_PASSWORD"); } public function render() { return view('livewire.public.install.environment')->layout('layouts.install'); } /** * ------------------------------------------------------------------------------- * checkDatabaseConnection * ------------------------------------------------------------------------------- **/ public function checkDatabaseConnection($database_host, $database_port, $database_name, $database_username, $database_password){ $connection = 'mysql'; $settings = config("database.connections.$connection"); config([ 'database' => [ 'default' => $connection, 'connections' => [ $connection => array_merge($settings, [ 'driver' => $connection, 'host' => $database_host, 'port' => $database_port, 'database' => $database_name, 'username' => $database_username, 'password' => $database_password, ]), ], ], ]); DB::purge(); try { DB::connection()->getPdo(); return true; } catch (\Exception $e) { return false; } } /** * ------------------------------------------------------------------------------- * onCreateDatabase * ------------------------------------------------------------------------------- **/ public function onCreateDatabase(){ $this->validate([ 'purchase_code' => 'required', 'database_host' => 'required', 'database_port' => 'required', 'database_name' => 'required', 'database_username' => 'required' ]); try { if (! $this->checkDatabaseConnection($this->database_host, $this->database_port, $this->database_name, $this->database_username, $this->database_password) ) { $this->addError('error', __('Could not connect to the database. Maybe your Database is not available.')); return; } try { $env = new DotenvEditor(); $env->changeEnv([ 'DB_HOST' => $this->database_host, 'DB_PORT' => $this->database_port, 'DB_DATABASE' => $this->database_name, 'DB_USERNAME' => $this->database_username, 'DB_PASSWORD' => "'$this->database_password'", 'APP_URL' => url('/') ]); Artisan::call('config:cache'); Artisan::call('config:clear'); Artisan::call('migrate:fresh'); Install::create([ 'id' => 1, 'database' => true, 'token' => $this->purchase_code ]); $this->continue = true; } catch (\Exception $e) { $this->addError('error', __($e->getMessage())); } } catch (\Exception $e) { $this->addError('error', __($e->getMessage())); } } // } ضعو هاذا الكود Quote
jock Posted June 14 Posted June 14 @Anonymous_Insane May I ask everyone, how should we handle this situation? Whoops! Something went wrong. include(/www/wwwroot/xxxxxx.com/components/vendor/composer/../../app/Classes/TextToSlugClass.php): Failed to open stream: No such file or directory 1 Quote
ELITE Membership Posted July 9 Posted July 9 On 2/29/2024 at 5:50 PM, boksnet.pl said: public_html/components/app/Http/Livewire/Public/Install/Environment.php Go into this Directory Scroll to Section - try { $response = Http::get('https://envato.themeluxury.com/activation/sumowebtools.php?code=' . $this->purchase_code . '&domain=' . url('/') ); if ($response->ok() && $response['status'] === 'success') { if (! $this->checkDatabaseConnection($this->database_host, $this->database_port, $this->database_name, $this->database_username, $this->database_password) ) Replace this success with "error" like this if ($response->ok() && $response['status'] === 'error') DONE! now put anything and your file can be installed thanks bro you are the best Quote
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.