MyBB Community Forums

Full Version: Broken Statistics Image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

I recently moved my board and it seems the AdminCP statistics images are broken.
Talking about this URL: http://mysite.com/admin/index.php?module...statistics

Here's a screen of it: http://i.gyazo.com/a99b7a3a6655b91579fb3d0a2f12db42.png
No clue how to fix it to be honest.
(2014-06-13, 12:40 PM)Nayson Wrote: [ -> ]Hello,

I recently moved my board and it seems the AdminCP statistics images are broken.
Talking about this URL: http://mysite.com/admin/index.php?module...statistics

Here's a screen of it: http://i.gyazo.com/a99b7a3a6655b91579fb3d0a2f12db42.png
No clue how to fix it to be honest.

have you altered all the settings that point to a url change and uploaded the files to the correct directory ?
(2014-06-13, 12:52 PM)JimR Wrote: [ -> ]have you altered all the settings that point to a url change and uploaded the files to the correct directory ?

If you're talking about inc/settings.php, then yes.
(2014-06-13, 12:59 PM)Nayson Wrote: [ -> ]
(2014-06-13, 12:52 PM)JimR Wrote: [ -> ]have you altered all the settings that point to a url change and uploaded the files to the correct directory ?

If you're talking about inc/settings.php, then yes.

and the image directory is there and readable ... admin/styles and below ?
If I'm not mistaken, you do need a certain library to be installed for graphs. I know one site I worked for that was an issue.
(2014-06-13, 01:08 PM)dragonexpert Wrote: [ -> ]If I'm not mistaken, you do need a certain library to be installed for graphs. I know one site I worked for that was an issue.

I'm using the same host as before, nothing changed and it worked before.
right click >> image properties

Get the URL of the image and paste that straight in your browser see if it shows
You need the PHP GD module (http://www.php.net//manual/en/book.image.php). If you're on Debian you can install it with 'apt-get install php5-gd' if you're on CentOS I believe it'd either be 'yum install php-gd'. If you're using a web host, you'll have to ask your host to install the GD module.
This may be also a BOM issue, especially that I doubt that your hosting removed/disabled GD suddenly. Download bomfix plugin and upload it to inc/plugins: http://community.mybb.com/attachment.php?aid=29183 Then activate it and in result page CTRL + F Byte Order Mark. It will be next to one file or more - remember their path. Download them from server, open in advanced text editor such as Notepad++ and convert to UTF-8 without BOM. Then reupload.
(2014-06-13, 04:25 PM)Destroy666 Wrote: [ -> ]This may be also a BOM issue, especially that I doubt that your hosting removed/disabled GD suddenly. Download bomfix plugin and upload it to inc/plugins: http://community.mybb.com/attachment.php?aid=29183 Then activate it and in result page CTRL + F Byte Order Mark. It will be next to one file or more - remember their path. Download them from server, open in advanced text editor such as Notepad++ and convert to UTF-8 without BOM. Then reupload.

He might be on a self-managed server, and given that he seems to have some hosting experience I'd be inclined to believe that. My money goes on the GD module.
Pages: 1 2