Jump to content

007basaran

Members
  • Content count

    30
  • Joined

  • Last visited

Community Reputation

10 Good

About 007basaran

  • Rank
    Newbie
  1. Hello, A little problem in whmcs header.tpl meta tags. I using meta tag : <meta property="og:url" content="https://www.domainname.com{$currentpagelinkback}" /> But showing meta tag source code : <meta property="og:url" content="https://www.domainname.com/linkback?" /> Linkback's last character ? sign is present. How to using linkback without ? symbol. Thanks.
  2. Rewrite Setting Problem In Whmcs index.php

    New Htaccess Code : RewriteCond %{THE_REQUEST} ^GET\s.+\.php [NC] RewriteCond %{REQUEST_URI} !^/index\.php [NC] RewriteRule ^(.+)\.php$ /$1 [NE,R=301,L,NC] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{DOCUMENT_ROOT}/$1.php -f RewriteRule ^(.*?)/?$ $1.php [L] All fixed now.
  3. Rewrite Setting Problem In Whmcs index.php

    Brian do you open ticket in whmcs.com for me ?
  4. Rewrite Setting Problem In Whmcs index.php

    Normally the problem is solved, but the modules do not work properly because OAUTH and all functions are returned from the index.php file. Therefore, the problem of index.php file orientation should be resolved from the root and the default index.php file must be used.
  5. Developing a WHMCS OnePage Ajax Order Form

    Ract studio, wish success.
  6. Rewrite Setting Problem In Whmcs index.php

    Waiting for help. Topic Updated. Thanks...
  7. Hello, # All PHP Requests remove extension .php .htaccess code : RewriteCond %{THE_REQUEST} ^GET\s.+\.php [NC] RewriteRule ^(.+)\.php$ /$1 [NE,R=301,L,NC] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{DOCUMENT_ROOT}/$1.php -f RewriteRule ^(.*?)/?$ $1.php [L] # Whmcs Standart Rewrite Settings .htaccess code : ### BEGIN - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ### <IfModule mod_rewrite.c> RewriteEngine on # RewriteBase is set to "/" so rules do not need updating if the # installation directory is relocated. It is imperative that # there is also a RewriteCond rule later that can effectively get # the actual value by comparison against the request URI. # # If there are _any_ other RewriteBase directives in this file, # the last entry will take precedence! RewriteBase / # Redirect directories to an address with slash RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+[^/])$ $1/ [R] # Send all remaining (routable paths) through index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Determine and use the actual base RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$ RewriteRule ^.*$ %2index-system.php [QSA,L] </IfModule> ### END - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ### Whmcs index.php | Redirecting to = index Example : whmcs.com/index.php to whmcs.com/index Page not found error index php redirecting. How to block index.php redirection ? Can we disable index.php redirection without breaking the above code? Regards, Thanks.
  8. Knowledgebase Search Problem

    Hello, Andrew I have a problem with that and I have solved the problem with the referrals I have indicated.
  9. Knowledgebase Search Problem

    How to fix this issue ?? I fix this issue WHMCS For seo .htaccess file : # PHP Requestlerin .php uzantısını sil ve .php'yi klasor gibi çalıştır. RewriteCond %{THE_REQUEST} ^GET\s.+\.php [NC] RewriteRule ^(.+)\.php$ /$1 [NE,R=301,L,NC] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{DOCUMENT_ROOT}/$1.php -f RewriteRule ^(.*?)/?$ $1.php [L] ### BEGIN - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ### <IfModule mod_rewrite.c> RewriteEngine on # RewriteBase is set to "/" so rules do not need updating if the # installation directory is relocated. It is imperative that # there is also a RewriteCond rule later that can effectively get # the actual value by comparison against the request URI. # # If there are _any_ other RewriteBase directives in this file, # the last entry will take precedence! RewriteBase / # Redirect directories to an address with slash RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+[^/])$ $1/ [R] # Send all remaining (routable paths) through index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Determine and use the actual base RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$ RewriteRule ^.*$ %2index-system.php [QSA,L] </IfModule> ### END - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ### Our whmcs system index.php file rename to index-system.php And create new index.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("AnaSayfa"); $ca->addToBreadCrumb('index.php',$whmcs->get_lang('globalsystemname')); $ca->addToBreadCrumb('index.php','Anasayfa'); $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('homepage'); $ca->output(); ?> Everything work no problem So after the update, the index.php file will change after the update, so it may be corrupted. Disable updates
  10. Knowledgebase Search Problem

    I'm using whmcs for developing. Will he support me?
  11. Knowledgebase Search Problem

    There is a solution, but the knowledgebase and announcements do not work when I apply the solution. The problem is solved in the sample solution, but the knowledgebase is not working. Knowledgebase, Announcements, Downloads These pages are not independent of whmcs trying to pull from the index.php file. If they are independent, there will be no problem. I have to solve this problem absolutely. Sample Solution Fixed index.php file : <?php define("CLIENTAREA",true); //define("FORCESSL",true); // Uncomment to force the page to use https:// require("init.php"); $ca = new WHMCS_ClientArea(); $ca->setPageTitle("AnaSayfa"); $ca->addToBreadCrumb('index.php',$whmcs->get_lang('globalsystemname')); $ca->addToBreadCrumb('index.php','Anasayfa'); $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('homepage'); $ca->output(); ?> Problem index php : <?php //00ee8 // ************************************************************************* // * * // * WHMCS - The Complete Client Management, Billing & Support Solution * // * Copyright (c) WHMCS Ltd. All Rights Reserved, * // * Version: 7.2.3 (7.2.3-release.1) * // * BuildId: adf8f28.237 * // * Build Date: 17 Jul 2017 * // * * // ************************************************************************* // * * // * Email: [email protected] * // * Website: http://www.whmcs.com * // * * // ************************************************************************* // * * // * This software is furnished under a license and may be used and copied * // * only in accordance with the terms of such license and with the * // * inclusion of the above copyright notice. This software or any other * // * copies thereof may not be provided or otherwise made available to any * // * other person. No title to and ownership of the software is hereby * // * transferred. * // * * // * You may not reverse engineer, decompile, defeat license encryption * // * mechanisms, or disassemble this software product or software product * // * license. WHMCompleteSolution may terminate this license if you don't * // * comply with any of the terms and conditions set forth in our end user * // * license agreement (EULA). In such event, licensee agrees to return * // * licensor or destroy all copies of software upon termination of the * // * license. * // * * // * Please see the EULA file for the full End User License Agreement. * // * * // ************************************************************************* if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'<a href="http://www.ioncube.com">ionCube</a>')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'<a href="http://get-loader.ioncube.com">get-loader.ioncube.com</a>')." for install assistance.\n\n");exit(199); ?> HR+cPvnbrplgyYl/bOEWGXYXcVOgpsKGgbXRcAB8LPiuUhUnLl2vSGTT1HICH0/WF+uLGXmAjtQ4 grPTXHkcnBpkLp1q+C2N5gMXN6PkmQVQ7LxOueh8y/0FjoqtRgQdsgcIISW0H5ebmrBuKCsNZUpu 7xE3DJkuAE/0BajXRapDLKgINHeNkd0GIqUCNLErB5g4L425t9EvCyDqaFeYIuc1T9qhiyEyT5jc fvkrbNjktlb0/m152ZhV3Zuoc3xbtEXR1X4zGLw7RAvfyhe1VFV43bykPraIGmE0jQTHMeuNMieA 9olpQ+ouma5YjbNm89nWPRcUNfhk0OmAXIc5bt/M+tp/HpCsfn081BS1/A/xy1StA62U0kHmhs9s RdOffM7dTr7NZVNDV78FfTPM0as/x/TOrM7HWiIZajbG3YHfrICrQ+zreEXIvo+MnrKVxSl1ewyk A9DK0iPY+r6KJHjJkVSl5/188n8Ol0lMJLFaj9nFKcTPyuaYRibwPvxHasJtvq8/6FjYAQ1flXgD 80NKdiyXP5uR3W8EJCfD42a7MoDB2zps0scoeDS7BBBWRgRqyMWMrbfjsNEXMm6P+vjkiN+64VH7 d7M51dG6lcnIvR1TiTewsA1+4ZhcJK/3VhF4n2s3qA0gbxCLAm/bDhvkBxz4mA4QSNa2/qOXPrgk TIjSd59Pk2SOLGtlCpyxIcXh2KHB/A0VicpJFXtwdiCHEVpGZQh/cCkYX3zBJZhxSW4/kw/gl40D gtUZ6O27d57jMNvvnXjw3ip9tVgSK0AI1khOqOxBkxxDXRhv17sS4CmfcU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jHSF gAsJuYsFS62P11X532A9nX5RwUfhKgghJdi/mbR0bbtKgIAbhCTAjGaYIEomYxUm8qFR6OT86WOj 5OwFU2+QOm+Vxdjh7Q9av9+d1eKG/aoLovMWw73kRufxnGuBGGBKq9AuzwnVkgJvyY5O2sp/RCoe 7B0zG5p5QyuRa4SS8tWIjBqAofn+eZSCg6f5cQHY95jNvGT/N3q+yU++q6bR9KxqU3Pxgwbw5Qg6 gouIUN1OGI92dqpMXdr84+elx0EXpDwXl1bM8zhzYLBB+2yp61GwlKveblmRG3bMtHoFxU8SwbSl Vo//+cEApwXicZVJZ5zXN1xQmDMsvOh7aOZdA2tDWRiDvYrmhz51DlmeLKLQqsPIp0XnaAhkQzf0 gWfG3clUvQ/FtFOWnKqfqqSPoJT3PnzeJBprBQCWBM3QuS/f0P1KMuH9/YDkb8YgslkSGsEQzZwU U2h6jhW+/ZE2l8xyrrDRN64dFxHEUsqBJ0+2GAQeZjKzwS+HkrHv58wCla9p0oSCUtzuO3g+qaks 0yYU2oD0JZgigNtmkCMItsWYot7WT17UQZWp4acEpxq9Ykw7LZwR3dNm/lt+qsNONnlTzSzN7MK0 duR56L5H/4+ZARB3d9KG5gUHFuM3+G7ShE/+hiH64ZDQO0v6kvAXTw/4hzLRZeACC0P0PDv/Ozcd xCEcem==
  12. Knowledgebase Search Problem

    If you direct index.php file as an index, this is the problem. The problem is that the page can not be found. How can we show the index.php page as an index? If you want .htaccess code for test : RewriteRule ^index$ /index.php
  13. Knowledgebase Search Problem

    I have two options now. 1. When I use Whmcs's default index.php file, the index.php page is having problems in index navigation. 2. Whmcs's index.php file is created using index.php as if creating a page but this time the tag sections like knowledgebase and anouncements do not work.
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines