Jump to content

berkarg

Members
  • Content count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About berkarg

  • Rank
    Junior Member
  1. Problem fixed : 1 : Disable php-fpm for whmcs cpanel user.2 : Disable : mod-ruid23 : Php : enable inherit php versions.
  2. Problem fixed : 1 : Disable php-fpm for whmcs cpanel user. 2 : Disable : mod-ruid2 3 : Php : enable inherit php versions.
  3. Hello, Permissions : http://prntscr.com/n1ti68 - All selected Error : http://prntscr.com/n1tizz Do help me for fix this issue ?
  4. Hello, I've encountered such an error in the Whmcs system, what can be the problem? Error code in website index : Oops! Something went wrong and we couldn't process your request. Please go back to the previous page and try again. If the problem persists, please contact us. « Back to Homepage exception 'Punic\Exception\InvalidLocale' with message ''fa_IR' is not a valid locale identifier' in /home/wtmpibtl/public_html/vendor/punic/punic/code/Data.php:531 Stack trace: #0 /home/wtmpibtl/public_html/vendor/punic/punic/code/Data.php(503): Punic\Data::getLocaleAlternatives('fa_IR') #1 /home/wtmpibtl/public_html/vendor/punic/punic/code/Data.php(142): Punic\Data::getLocaleFolder('fa_IR') #2 /home/wtmpibtl/public_html/vendor/punic/punic/code/Language.php(75): Punic\Data::get('languages', 'fa_IR') #3 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Language/AbstractLanguage.php(0): Punic\Language::getName() #4 /home/wtmpibtl/public_html/vendor/illuminate/support/Facades/Facade.php(215): WHMCS\Language\AbstractLanguage::getLocales() #5 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/ClientArea.php(0): Illuminate\Support\Facades\Facade::__callStatic('getLocales', Array) #6 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/ClientArea.php(0): WHMCS\ClientArea->outputWithoutExit() #7 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Http/Message/AbstractViewableResponse.php(0): WHMCS\ClientArea->getOutputContent() #8 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/CallableHandler.php(39): WHMCS\Http\Message\AbstractViewableResponse->getBody() #9 /home/wtmpibtl/public_html/vendor/middlewares/fast-route/src/FastRoute.php(96): Middlewares\Utils\CallableHandler::execute(Array, Array) #10 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/HandleProcessor.php(0): Middlewares\FastRoute->process() #11 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\HandleProcessor->_process() #12 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\HandleProcessor->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #13 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #14 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #15 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #16 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/BackendDispatch.php(0): Middlewares\Utils\Dispatcher->dispatch() #17 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\BackendDispatch->_process() #18 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\BackendDispatch->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #19 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #20 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #21 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutePathMatch.php(0): Middlewares\Utils\Delegate->process() #22 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutePathMatch->_process() #23 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutePathMatch->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #24 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #25 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #26 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/WhitelistFilter.php(0): Middlewares\Utils\Delegate->process() #27 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/DelegatingMiddlewareTrait.php(0): WHMCS\Route\Middleware\WhitelistFilter->_process() #28 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\WhitelistFilter->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #29 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #30 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #31 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableClientModuleRequest.php(0): Middlewares\Utils\Delegate->process() #32 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableClientModuleRequest->_process() #33 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableClientModuleRequest->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #34 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #35 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #36 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableAdminRequestUri.php(0): Middlewares\Utils\Delegate->process() #37 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableAdminRequestUri->_process() #38 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableAdminRequestUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #39 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #40 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #41 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestUri.php(0): Middlewares\Utils\Delegate->process() #42 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableRequestUri->_process() #43 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #44 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #45 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #46 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestQueryUri.php(0): Middlewares\Utils\Delegate->process() #47 /home/wtmpibtl/public_html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableRequestQueryUri->_process() #48 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestQueryUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #49 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #50 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #51 /home/wtmpibtl/public_html/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #52 /home/wtmpibtl/public_html/index.php(0): Middlewares\Utils\Dispatcher->dispatch() #53 {main}
  5. Hello, I want to show a URL address in Whmcs like a different url. I want to configure some url addresses as I want. For example, the current url is: http://whmcs.community/test-file I want this url to : http://whmcs.community/test-file/yes/community/yea/testing My system Information : WHMCS Version : 7.4.2 PHP Version : 5.6.37 My .htaccess : RewriteRule ^test-file/yes/community/yea/testing test-file.php [NC,L] My test-file.php : <?php define("CLIENTAREA",true); //define("FORCESSL",true); // Uncomment to force the page to use https:// require("init.php"); $ca = new WHMCS_ClientArea(); $ca->setPageTitle("Test File"); $ca->addToBreadCrumb('index.php',$whmcs->get_lang('globalsystemname')); $ca->addToBreadCrumb('test-file.php','Test File'); $ca->initPage(); // $ca->requireLogin(); // Uncomment this line to require a login to access this page # To assign variables to the template system use the following syntax. # These can then be referenced using {$variablename} in the template. $ca->assign('pagelayout', nonwhmcs); $ca->assign('pagetype', planpage); # Check login status if ($ca->isLoggedIn()) { # User is logged in - put any code you like here # Here's an example to get the currently logged in clients first name $result = mysql_query("SELECT firstname FROM tblclients WHERE id=".$ca->getUserID()); $data = mysql_fetch_array($result); $clientname = $data[0]; $ca->assign('clientname', $clientname); } else { # User is not logged in } # Define the template filename to be used without the .tpl extension $ca->setTemplate('test-file'); $ca->output(); ?> My test-file.tpl : <!-- Package Start --> <div class="col-sm-6 col-md-4 margin-top-30"> <div class="panel panel-info relative"> <!--<div class="ribbon ribbon-small text-white"> <div class="ribbon-content bg_primary text-uppercase text_white"> OFFER </div> </div>--> <div class="panel-heading"> <h3 class="text-center"> <script language="javascript" src="feeds/productsinfo.php?pid=452&get=name"></script> </h3> <h2> <i class="fa fa-linux"> </i> </h2> </div> <div class="panel-body text-center"> <div class="price-cercle"> <!-- <h6 class="through-line common-price">$ xxxx</h6> --> <h4> <script language="javascript" src="feeds/productsinfo.php?pid=452&get=price&billingcycle=monthly&currency=1"></script> </h4> <span class="per">AYLIK</span> </div> </div> <ul class="text-center"> <script language="javascript" src="feeds/productsinfo.php?pid=452&get=description"></script> </ul> <div class="panel-footer"> <a class="btn btn-new btn-lg" href="cart.php?a=add&pid=452">SATIN AL</a> </div> </div> </div> <!-- Package End --> As you can see in the above file, whmcs does not capture product information when I make .htaccess redirects. When the url is changed with .htaccess, no information is returned. Codes that do not work with urls: <script language="javascript" src="feeds/productsinfo.php?pid=452&get=name"></script> <script language="javascript" src="feeds/productsinfo.php?pid=452&get=price&billingcycle=monthly&currency=1"></script> <script language="javascript" src="feeds/productsinfo.php?pid=452&get=description"></script> Why is Whmcs unable to capture product information in the artificial URL made with .htaccess? Sorry, for my bad english, i using google translate. Thanks for all helping i waiting you for fix this issue.
  6. Welcome to WHMCS.Community berkarg! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated