vranghel Posted May 29, 2016 Share Posted May 29, 2016 hello everyone, I changed the file that used the dbconnect.php to init.php, but the page does not open, it displays the following message: "The prohosts.com.br page is not working." Can someone help me please? 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted May 29, 2016 Share Posted May 29, 2016 is there screenshot or share your code here, it may need further modification? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 30, 2016 WHMCS Support Manager Share Posted May 30, 2016 Hi, The message "The prohosts.com.br page is not working." is not one that WHMCS would generate. Perhaps take a look at your HTTP server error logs which might shed more light on this? 0 Quote Link to comment Share on other sites More sharing options...
vranghel Posted June 1, 2016 Author Share Posted June 1, 2016 Hello, this is the page code. <?php define("CLIENTAREA",true); require("init.php"); require("includes/functions.php"); require("includes/clientareafunctions.php"); $pagetitle = 'Hospedagem Linux'; $pageicon = "images/support/clientarea.gif"; $breadcrumbnav = '<a href="hospedagemlinux.php">'.$_LANG['globalsystemname'].'</a>'; $breadcrumbnav .= ' > <a href="hospedagemlinux.php">Hospedagem Linux</a>'; initialiseClientArea($pagetitle,$pageicon,$breadcrumbnav); if ($_SESSION['uid']) { # User is Logged In - put any code you like here } # To assign variables in Smarty use the following syntax. # This can then be used as {$variablename} in the template $smartyvalues["variablename"] = $value; # Define the template filename to be used without the .tpl extension $templatefile = "hospedagemlinux"; outputClientArea($templatefile); ?> - - - Updated - - - Hello, this is the page code. <?php define("CLIENTAREA",true); require("init.php"); require("includes/functions.php"); require("includes/clientareafunctions.php"); $pagetitle = 'Hospedagem Linux'; $pageicon = "images/support/clientarea.gif"; $breadcrumbnav = '<a href="hospedagemlinux.php">'.$_LANG['globalsystemname'].'</a>'; $breadcrumbnav .= ' > <a href="hospedagemlinux.php">Hospedagem Linux</a>'; initialiseClientArea($pagetitle,$pageicon,$breadcr umbnav); if ($_SESSION['uid']) { # User is Logged In - put any code you like here } # To assign variables in Smarty use the following syntax. # This can then be used as {$variablename} in the template $smartyvalues["variablename"] = $value; # Define the template filename to be used without the .tpl extension $templatefile = "hospedagemlinux"; outputClientArea($templatefile); ?> 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted June 1, 2016 Share Posted June 1, 2016 As John mentioned, this isn't something that would be created by WHMCS. It looks like you've got some stuff going on with your page. Take a look at the docs for creating a page . You might have to do some tweaking to your page php, depending on how long ago you created the page. IIRC, the only include required now is init.php. The rest are no longer needed. 0 Quote Link to comment Share on other sites More sharing options...
vranghel Posted June 1, 2016 Author Share Posted June 1, 2016 Hello, thank you all for the tips, I created a new page and working properly. 0 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.