Jump to content

kumcore

Member
  • Posts

    15
  • Joined

  • Last visited

About kumcore

kumcore's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Anybody? Is there a way to search for the 'path' in WHMCS database (for any old system paths that's no longer valid )and replace it with the current windows file system path? I am not sure where else the paths would be hardcoded other than the configuration.php file.
  2. Hello, I have moved my WHMCS install from Linux to Windows. I uploaded all my website content and restored WHMCS database. I even changed the path in configuration.php to reflect the windows path style for $templates_compiledir and other variables found in that file. Now, when I go to client area I get a blank page for anything to do with WHMCS template load. Also, when I go to the admin login page I see a blank page. The problem sounds very similar to what has described on this thread: http://forum.whmcs.com/showthread.php?9642-Installing-WHMCS-on-Windows except I can't seem to find on which page I can find the "include_path" setting described at the end of that thread. Does anybody know or how to fix this issue on Windows?
  3. The following is what I use and it seem to work fine for me... It is a php page. Oh btw, it is worth mentioning this: In case you are trying to do this across sub-domains then the following will not work... I spent days trying to figure that out and finally realized WHMCS does not support "php session" across sub-domains. Provided you have http://www.yourdomain.com/whmcs as your install path and your "other page" is located on some where like http://www.yourdomain.com/otherpage.php the following will work: <?php //use include not require... we don't want to display an ugly error message include( "whmcs/dbconnect.php" ); //secondly check the session to see if user already logged in. if ($_SESSION['uid']) { $query="SELECT * FROM tblclients WHERE id='" .$_SESSION['uid'] . "'"; /*$result = mysql_query($query) or die(mysql_error());*/ //As above we could have used the die to display an error here.. but again visitor should not see an ugly error. $result = mysql_query($query); if($row = mysql_fetch_array($result, MYSQL_ASSOC)) { $clientsdetails['firstname']=$row['firstname']; $clientsdetails['lastname']=$row['lastname']; } //not interested in any other variables from the above table except the ones below... //$firstname = $row['firstname']; //store first name $clientfullname = $row['firstname'].' '.$row['lastname']; //store first and last name echo "<li><a class=\"iconSmallClient\" href=\"logout.php\"><strong>Logout </strong>$clientfullname</a></li>"; } else { echo "<li><a class=\"iconSmallClient\" href=\"login.php\"><strong>Client</strong> Login</a></li>"; } ?>
  4. Thanks! Sure - The issue is fixed after upgrading to v5.3.4. Although nothing is mentioned about it in the change log I did notice the file "domainpricing.php" included under the "feeds" sub-folder, on the incremental patch release of the latest version (5.3.4). So, I am pretty sure there was an issue with it before but got taken care of in this release. All is well!
  5. Hello, The domain pricing data feed was working fine on a non-whmcs page when I was running v5.2.16. After the recent upgrade to v5.3.3 it stopped working. It does display the following table headers but no actual domain pricing values are populated in the table. I double checked and the path to /feeds/domainpricing.php is indeed correct (another confirmation on how the table headers are displayed... so i am pretty sure the script gets called). Table headers: TLD Min. Years Register Transfer Renew Any ideas or anyone else experiencing the same issue? FYI: I also make a call to the domain checker data feed on the same non-whmcs page and it works fine (even after upgrade to the latest version).
  6. Thanks for the clarification. I am using the 'classic' theme. Anyways, I will fight with it to see if I can get it sorted out. Again, Thanks for all your help. Have a great weekend!!! Cheers.
  7. That was it! I feel kinda stupid now for not paying attention to the path... I moved the paypal.png to the main "images" folder and it picked it up no problem. Problem solved! I now have a new problem where the radio button is not properly aligned with the image (I love the way it is shown on your screenshots in the tutorial) but look at mine how bad it looks (see attached). Anyways, I may have to play with the css files to get it working properly. I thought I would mention it here in case you did anything special to get yours working perfectly... But, please don't spend anymore of your time to troubleshoot this issue.. you have already done enough.... I can't thank you enough already! Thank you once again!!!
  8. Brian: Thank you so much again for working on this to help with this issue for myself and hundreds of other people just like me.. It is an excellent tutorial and very easy to follow. I tested the Ajaxcart code you provided but it seem to be NOT working for me... I am curious to know whether did you actually get it working on your server? Here is the issue I am facing: Although the paypal.png (lowercase file name and .png format) image is present in the "images" folder, the script refuses to display or find the image, instead the gateway text is always displayed (as before). When I try to include the full path to the image (like below) then neither the text or image is displayed (With the following script I have the browser shows it as an icon where the palypal image supposed to be as if the image is not found on the path i specified). Any ideas? Any constraint on how big the image should be? Mine is 34(h)x88(w) pixels. {foreach key=num item=gateway from=$gateways} <label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} /> {assign var="paylogo" value="/home/myusername/public_html/whmcs/templates/orderforms/ajaxcart/images/`$gateway.sysname`.png"} {if file_exists($paylogo)} <img src={$paylogo} /> {else} {$gateway.name}{/if} </label> {/foreach}
  9. Thanks, brian! Meanwhile, would it be possible for you to post the relevant code for the ajaxcart template?
  10. Thank you, Brian. I am little confused as to what code to be added or replaced as I am using the AjaxCart template. I will wait for your user contribution post that includes all orders forms (including AjaxCart). I looked at the 'viewcart.tpl' file in AjaxCart and I see the following but not quite sure how to replace it for the equivalent of you have already shown. Thanks a lot again for your help. <h2>{$LANG.orderpaymentmethod}</h2> <table width="100%" cellspacing="0" cellpadding="0"> <tr class="rowcolor1"><td>{foreach key=num item=gateway from=$gateways}<label><input type="radio" name="paymentmethod" value="{$gateway.sysname}" id="pgbtn{$num}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked{/if} />{$gateway.name}</label> {/foreach}</td></tr> </table>
  11. Hello, I am currently running WHMCS v5.2.16 and soon plan to upgrade to the latest v5.3.3. At the moment, during checkout process the text "Paypal" is displayed but how do I change it so that I can show the paypal image instead of the text? Thanks.
  12. Hello, Couple questions if anyone has answer for, please and thank you. 1) I know there is a data feed available to get the product pricing and to display it on a non-whmcs page like this: <script language="javascript" src="feeds/productsinfo.php?pid=1&get=price&billingcycle=monthly"></script> Is there a such trick exist to get the pricing of the add-on products? 2) (see attached screenshot) I uploaded the "status" folder (and its content index.php) to both my linux and windows servers to get real time status of the monitored servers. I am able to display the linux server status info correctly. However, for windows server although the POP3 service is running the status script is returning it as service down and also the server uptime value is 0. Is there a trick or a separate script to get this working on windows based servers?
  13. Hello, I have the latest version of WHMCS and WebsitePanel 2.0 add-on. I go to WHMCS Admin-> Addons-> Websitepanel Addons to configure it and it asks me for the "WHMCS Addon ID" and "WebsitePanel Addon ID" (see attached screen shot)which I am not sure where to get these information from. I am not able to understand the steps from the included readme file. Can anyone help where to get these info please?
  14. Thank you! It solved the issue after adding the line breaks in configuredomains.tpl file.
  15. Hello, I currently have minor problem with the following: I use ajaxcart orderform and a customized template (classic). In the order form for domain registration options (register new or transfer) there are domain options provided ("Domain Configuration" and "Nameservers") - Please see attached screenshot. This is where the problem is. If I try toggling between different options by clicking on those checkboxes and radio buttons... It doesn't select the option I click to select. I am forced to click above the selection button I want to get it select.. In other words If I click on a checkbox beside one of the option it selects the option below but now the one i wanted.. I think the problem can be fixed if I include a linebreak right below the dotted line.. just above the "DNS Management" checkbox. I know the dotted line is controlled by .css file.. but I want to include a line break right above "DNS Management"... where is this code being called from? What template file can I find that includes the domain options and name servers options (during registration process)?
×
×
  • Create New...

Important Information

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