stumblrmonk3 Posted April 10, 2011 Share Posted April 10, 2011 Hello folks, I have moved our WHMCS to our intranet and it's currently running on XAMPP. The reason for this move is because we couldn't find a reliable host for our WHMCS (we're not in the hosting business). All works well after migration except for graphs. I have scoured the net for answers but I cannot find anything relevant. All graphs generate this error: The image “http://portal.xxx.com/admin/reports.php?displaygraph=graph_monthly_signups&homepage=true” cannot be displayed, because it contains errors. I have GD2 enabled in my php.ini. I have actually installed PHPGraphLib on same XAMPP server and ran an example successfully (it graphs it), so this means that GD2 is working fine in my installation using the exact same lib that WHMCS uses. My assumption is that there's something Linux-specific in the WHMCS code that is not stopping graphs from working in Windows Apache. Can someone lend a helpng hand please? Thanks! 0 Quote Link to comment Share on other sites More sharing options...
stumblrmonk3 Posted April 14, 2011 Author Share Posted April 14, 2011 Allright, this is my progress: I disabled output_buffering in php.ini and it showed raw PNG data. I google around for a solution and that apparently happens when there's a blank line and/or HTML tags sent BEFORE the header() in PHP. Since WHMCS is encoded, I cannot check the scripts where this problem could be. But there's another issue: this same WHMCS installation with the same MySQL DB works perfectly fine on a CentOS WHM/Cpanel setup, just not in my WinXP 32-bit installed with XAMPP. I confirmed GD2 works. I confirmed MIME types work. I will post results if I get somewhere. In the meantime, if anyone could help, I would greatly appreciate it! Thanks! 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.