Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    E-Blah Discussion    E-Blah Bugs  ›  software error on stats page
Users Browsing Forum
No Members and 1 Guests

software error on stats page  This thread currently has 237 views. Print
1 Pages 1 Recommend Thread
thanetm
July 27, 2006, 3:17am Report to Moderator Report to Moderator

Having fun, Charity Mini Runs...
Posts: 177
Gender: Female
Posts Per Day: 0.08
Reputation: 100.00%
Reputation Score: +5 / -0
Time Online: 15 days 11 hours 47 minutes
Location: Planet Thanet, Kent, UK
Age: 36
I've just upgraded to 9.81 [25 July].

Still getting this error message on the stats page:

Quoted Text
Software error:
Can't locate object method "gif" via package "GD::Image" at ./Code/Stats.pl line 630.


Also clicking the latest members doesn't show anything since May, but there have been new members since then.

There are no graphs or anything - is that right?

Any ideas?

thanks
michelle


Please support us - we're raising money for Demelza House Children's Hospice, by driving from Land's End to John O'Groats.
http://www.justgiving.com/blowin_tyres



Having Fun, Charity Mini Runs
Raising money...Raising Smiles
Children's Hospice South West & Demelza House Children's Hospice

http://www.smallcarsbighearts.co.uk | http://www.blowin-tyres.co.uk | http://www.ndmr-soapbox.co.uk
Logged Offline
Site Site Private Message Private message
Martin
July 27, 2006, 4:09am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 5,171
Gender: Male
Posts Per Day: 1.97
Reputation: 98.41%
Reputation Score: +247 / -4
Time Online: 39 days 9 hours 4 minutes
Location: UK
Age: 53
I have looked into this and it appears the earlier versions of GD used to support only gif. Now it supports only png.

What you need to do is edit Stats.pl and replace the 3 occurances of gif with png.
Code
fopen(IMG,">$bdocsdir2/Random/$type.gif");

to
Code
fopen(IMG,">$bdocsdir2/Random/$type.png");

and
Code
print IMG $gd->gif;

to
Code
print IMG $gd->png;

and
Code
<img src="$bdocsdir/Random/$type.gif" alt="" />

to
Code
<img src="$bdocsdir/Random/$type.png" alt="" />


I had the same problem on my test site and this fixed it.


*** UPDATE ***

I had a few minutes to spare so I have fixed it for you.



Martin's Reputation: Increase
Logged
Site Site Private Message Private message Reply: 1 - 6
thanetm
July 27, 2006, 5:30am Report to Moderator Report to Moderator

Having fun, Charity Mini Runs...
Posts: 177
Gender: Female
Posts Per Day: 0.08
Reputation: 100.00%
Reputation Score: +5 / -0
Time Online: 15 days 11 hours 47 minutes
Location: Planet Thanet, Kent, UK
Age: 36
you are an absolute gem! thank you very much!

do you know where my missing nutcases might be for june and july for the stats page?


Please support us - we're raising money for Demelza House Children's Hospice, by driving from Land's End to John O'Groats.
http://www.justgiving.com/blowin_tyres



Having Fun, Charity Mini Runs
Raising money...Raising Smiles
Children's Hospice South West & Demelza House Children's Hospice

http://www.smallcarsbighearts.co.uk | http://www.blowin-tyres.co.uk | http://www.ndmr-soapbox.co.uk
Logged Offline
Site Site Private Message Private message Reply: 2 - 6
Martin
July 27, 2006, 5:32am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 5,171
Gender: Male
Posts Per Day: 1.97
Reputation: 98.41%
Reputation Score: +247 / -4
Time Online: 39 days 9 hours 4 minutes
Location: UK
Age: 53
Not off the top of my head, I'll take a look later after work. Try rebuilding the Memberlist from the Admin Center and see if that helps.



Martin's Reputation: Increase
Logged
Site Site Private Message Private message Reply: 3 - 6
thanetm
July 27, 2006, 5:55am Report to Moderator Report to Moderator

Having fun, Charity Mini Runs...
Posts: 177
Gender: Female
Posts Per Day: 0.08
Reputation: 100.00%
Reputation Score: +5 / -0
Time Online: 15 days 11 hours 47 minutes
Location: Planet Thanet, Kent, UK
Age: 36
just done that - but no result.

it's more a curiosity thing. i know members have joined - they're just not showing on the stats page in the graph bit.

in breakdown by day it reckons there are 112 nutcase that have joined
breakdown by month to may = 114

actual nutcases = 87

nutcases registered in june = 5 | july = 4

may = 2 not 12.

i really should do some work, but the boss is not here and i find it hard to focus on 'proper' jobs.....


Please support us - we're raising money for Demelza House Children's Hospice, by driving from Land's End to John O'Groats.
http://www.justgiving.com/blowin_tyres



Having Fun, Charity Mini Runs
Raising money...Raising Smiles
Children's Hospice South West & Demelza House Children's Hospice

http://www.smallcarsbighearts.co.uk | http://www.blowin-tyres.co.uk | http://www.ndmr-soapbox.co.uk
Logged Offline
Site Site Private Message Private message Reply: 4 - 6
Justin
July 27, 2006, 6:13am Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,196
Gender: Male
Posts Per Day: 4.37
Reputation: 93.25%
Reputation Score: +304 / -22
Time Online: 37 days 19 hours 48 minutes
Location: Tallassee, AL
Age: 25
Hmmm, are you certain about the members?  Try CHMODing BHits and Hits directory 777 in the Prefs directory.


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  | Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV
Logged Offline
Site Site Private Message Private message Reply: 5 - 6
Martin
July 27, 2006, 6:40am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 5,171
Gender: Male
Posts Per Day: 1.97
Reputation: 98.41%
Reputation Score: +247 / -4
Time Online: 39 days 9 hours 4 minutes
Location: UK
Age: 53
Folders are already chmod to 777

Strange one, it just flatlines from the start of June. Can't see anything obvious yet.



Martin's Reputation: Increase
Logged
Site Site Private Message Private message Reply: 6 - 6
1 Pages 1 Recommend Thread
Print

E-Blah Community    E-Blah Discussion    E-Blah Bugs  ›  software error on stats page