Search the Community
Showing results for tags 'php error'.
-
I've run into an interesting problem with the "Display errors" setting in General Settings > Other. My server is configured to not display errors and log them to an error log, which I think is the only sane choice However, WHMCS doesn't log errors. The "Display errors" setting overrides everything: If I turn it on, errors are displayed to users, and logged. This means any PHP error will show and totally break the site. Not a good idea. If I turn it off, errors are not displayed NOR logged to the error_log. Not a good idea either. No matter what my php.ini settings are, and no matter what I specify via .htaccess, this setting overrides it all. Has anybody succeeded in overriding this? This is from WHMCS support: I pointed out that this can't be done, and I was told to put in a feature request
-
Hello, I need some serious help bad. I was running the site fine with WHMCS 5.3.14 I deciced to upgrade the site to the WHMCS 6.2 and now after the upgrade people can't pay their invoices. It works okay to view paid invoices, and even canceled ones. Every single time I go to the site to view a unpaid invoice I get this error: Fatal error: Cannot redeclare loadgatewaymodule() in /home/USERNAME/public_html/includes/gatewayfunctions.php on line 6291482 I have tried starting with a fresh install of WHMCS which gives me the same error, I have upgraded the PHP to 5.5.31, even tried upgrading the Ioncube loader to the latest version as well in hopes that it would work. I had tried the site with no addons that don't come with WHMCS, and I tried it with all the addons I use, again same results. They managed to get it working on their cPanel test machine, but as of yet nobody has been able to tell me what to do to fix the issue. I am coming here in hopes that somebody out of the crowd can tell me what might be the issue. As I stated I have already submitted a ticket and this has been going on for days trying to get this resolved. Kind regards, Steve Hagerman
- 5 replies
-
- loadgatewaymodule()
- php error
-
(and 1 more)
Tagged with:
-
Hello, I am getting two different PHP error in my dashboard under System Activity. Smarty Error: Syntax error in template "/home/magicfortune/public_html/magicfortunesystem/whmcs/templates/hexa/homepage.tpl" on line 1 "{php}header("Location: /home/magicfortune/public_html/magicfortunesystem/whmcs/clientarea.php");{/php}" unknown tag "php" as well as this one... Smarty Error: Syntax error in template "/home/magicfortune/public_html/magicfortunesystem/whmcs/templates/hexa/header.tpl" on line 68 "<li><a href="#" class="user dropdown-toggle" data-toggle="dropdown"><span class="username"><img src="https://www.gravatar.com/avatar/{php}$userid = $this->_tpl_vars['clientsdetails']['userid'];$result = mysql_query("SELECT email FROM tblclients WHERE id=$userid");$data = mysql_fetch_array($result);$email = $data["email"];echo md5( strtolower( trim( $email ) ) );{/php}?s=50&d=mm" class="user-avatar" alt=""> {$clientsdetails.firstname} {$clientsdetails.lastname} </span></a>" unknown tag "php" I appreciate anyones help.
-
Hi I try to make a login page. But i don't relly know how to check if the username and password is correct. I tried this but it relly dont work: http://pastebin.com/2FMR5iJW The statements where it check if the user have typed something inside the boxes work fine. Its only the part when i have to check the username and email. Thank you.
-
- login customize whmcs
- php
-
(and 3 more)
Tagged with:
-
Hi I try to make my own login page, but i have some problems. I cant check the email field i dont relly know why it dosnt work on WHMCS. It works fine on my own page without WHMCS. WHMCS login page: http://pastebin.com/xk6aqvYQ In the bottom i have a javascript but dont mind that. The page with normal PHP: http://pastebin.com/GsEQTGAD
- 1 reply
-
- login customize whmcs
- login issue
-
(and 3 more)
Tagged with:
