DieHard Posted January 17 Share Posted January 17 17 hours ago, julianocunha said: What am I doing wrong? Probably nothing, the authors of this script are either amateurs or simply do not test their system before releasing it. They only look at profit. Not to mention the cost of their messed up scripts. I have set up Subscriptions as follows: Quote Link to comment Share on other sites More sharing options...
DieHard Posted January 17 Share Posted January 17 I haven't really tested what's going on, anyway my site is not visited and hardly anyone will buy anything Quote Link to comment Share on other sites More sharing options...
julianocunha Posted January 17 Share Posted January 17 I checked this part of the code in the app/Models/Package.php file. Note that the month interval is set to 7 days: protected function periodEnd(): Attribute { return Attribute::make( get: function () { $today = now(); $intervalInDays = $this->promotion_time ?? 30; $isSubsPackage = (isset($this->type) && $this->type == 'subscription'); if ($isSubsPackage) { $interval = !empty($this->interval) ? $this->interval : 'month'; $intervalInDays = 7; if ($interval == 'month') { $intervalInDays = $today->daysInMonth ?? 30; } if ($interval == 'year') { $intervalInDays = $today->daysInYear ?? 365; } } return $today->addDays($intervalInDays)->endOfDay(); }, ); } Please check if your code is different. Quote Link to comment Share on other sites More sharing options...
Sitego Dellan Posted January 18 Share Posted January 18 В 20.08.2023 в 17:53, Andrew Amtana сказал: @Mahmoud Hello sir thank you for your efforts. kindly i have an enquiry, am trying to install this laraclassifier script, but it is asking for the license code. kindly how do I get it please? I thought since it is nullified, it will install automatically. i downloaded the latest version. Check attachment Hi. Is there a solution to this problem? Quote Link to comment Share on other sites More sharing options...
DieHard Posted January 18 Share Posted January 18 (edited) 17 hours ago, julianocunha said: I checked this part of the code in the app/Models/Package.php file. Note that the month interval is set to 7 days: protected function periodEnd(): Attribute { return Attribute::make( get: function () { $today = now(); $intervalInDays = $this->promotion_time ?? 30; $isSubsPackage = (isset($this->type) && $this->type == 'subscription'); if ($isSubsPackage) { $interval = !empty($this->interval) ? $this->interval : 'month'; $intervalInDays = 7; if ($interval == 'month') { $intervalInDays = $today->daysInMonth ?? 30; } if ($interval == 'year') { $intervalInDays = $today->daysInYear ?? 365; } } return $today->addDays($intervalInDays)->endOfDay(); }, ); } Please check if your code is different. my code is the same This is my cron settings: Edited January 18 by DieHard Quote Link to comment Share on other sites More sharing options...
julianocunha Posted January 18 Share Posted January 18 1 hora atrás, DieHard disse: my code is the same This is my cron settings: If your code is the same, notice that something is wrong. Note that there is no Week option. The first option is Month and set to 7 days. Run a test on your website, note that when purchasing any subscription package, even if you have set it to expire in 90 days, after approving the Offline payment, it will show the expiration in 7 days. Quote Link to comment Share on other sites More sharing options...
DieHard Posted January 18 Share Posted January 18 36 minutes ago, julianocunha said: If your code is the same, notice that something is wrong. Note that there is no Week option. The first option is Month and set to 7 days. Run a test on your website, note that when purchasing any subscription package, even if you have set it to expire in 90 days, after approving the Offline payment, it will show the expiration in 7 days. I do not use Offline payment Quote Link to comment Share on other sites More sharing options...
julianocunha Posted January 18 Share Posted January 18 7 minutos atrás, DieHard disse: I do not use Offline payment Have you already done this test using Paypal or another? Quote Link to comment Share on other sites More sharing options...
DieHard Posted January 19 Share Posted January 19 17 hours ago, julianocunha said: Have you already done this test using Paypal or another? No Quote Link to comment Share on other sites More sharing options...
احمد عبدالله بدر الدين Posted April 2 Share Posted April 2 The script was downloaded, some problems on line 299 were solved, and the site works perfectly. I changed the language to my mother tongue, Arabic. Most of the site has been translated from abroad. For example, cars type in English, websites and many things are still in English. 14.2.0 Quote Link to comment Share on other sites More sharing options...
arjan nky Posted April 10 Share Posted April 10 am looking specifically for all the laraclassifier-v1420 plugins alone any help would be appreciated,, i already have the script file but no extra pluggins inside it .. Quote Link to comment Share on other sites More sharing options...
duttar Posted April 12 Share Posted April 12 need working plugins for latest version Quote Link to comment Share on other sites More sharing options...
patrick dobrea Posted April 26 Share Posted April 26 New update for this script? 1 Quote Link to comment Share on other sites More sharing options...
slkstyle Posted May 18 Share Posted May 18 @Mahmoud please update LaraClassifier v15.0.0 Quote Link to comment Share on other sites More sharing options...
Gio Eva Posted May 18 Share Posted May 18 avete l'aggiornamento alla versione Laraclassifier 15.0.0 grazie15.00 Quote Link to comment Share on other sites More sharing options...
Administrators Mahmoud Posted May 18 Author Administrators Share Posted May 18 Updated 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...
Gio Eva Posted May 18 Share Posted May 18 1 hour ago, Mahmoud said: Updated grazie 1000 Quote Link to comment Share on other sites More sharing options...
vladimirb1 Posted May 19 Share Posted May 19 can't install get 500 Quote Link to comment Share on other sites More sharing options...
Gio Eva Posted May 19 Share Posted May 19 4 hours ago, vladimirb1 said: impossibile installare ottenere 500 modifica quel file elimandando la scritta al numero 300, salvi e poi ti farà fare listallazione pulita Quote Link to comment Share on other sites More sharing options...
vladimirb1 Posted May 20 Share Posted May 20 18 часов назад, Gio Eva сказал: modifica quel file elimandando la scritta al numero 300, salvi e poi ti farà fare listallazione pulita it's no work, error php code Quote Link to comment Share on other sites More sharing options...
duttar Posted June 5 Share Posted June 5 I switched to OSclass. Try it. Anyone has ZETA OSclass theme to share? Quote Link to comment Share on other sites More sharing options...
my games jo Posted July 1 Share Posted July 1 Please update to 15.1.0 and plugin Quote Link to comment Share on other sites More sharing options...
Administrators Mahmoud Posted July 1 Author Administrators Share Posted July 1 Updated 1 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...
my games jo Posted July 1 Share Posted July 1 (edited) Why does this error always happen 500 Internal Server Error Undefined array key "allows_null" Edited July 1 by my games jo Quote Link to comment Share on other sites More sharing options...
vladimirb1 Posted July 1 Share Posted July 1 36 минут назад, my games jo сказал: Why does this error always happen 500 Internal Server Error Undefined array key "allows_null" yes same here 1 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.