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    Modifications    Mod Requests and Support  ›  Error Code Problem With Re-Size Mod Moderators: 10 Series Support Team
Users Browsing Forum
No Members and 1 Guests

Error Code Problem With Re-Size Mod  This thread currently has 454 views. Print
1 Pages 1 Recommend Thread
bnh
July 18, 2008, 11:16am Report to Moderator Report to Moderator
E-Blah Member
Posts: 26
Posts Per Day: 0.12
Time Online: 12 hours 38 minutes
I just installed the re-size mod (imageuploadresize.v2m). Using eBlah 10.3.5.
I did the test install function in the Modificaitons Center and it said okay.

But when I tried to test this mod by uploading an image (attaching a photo to a post) I got the following error code:

Software error:
Can't locate GD.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at ./Code/Attach.pl line 70.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.


I put this mod in the Mods folder, because when I put it in the Mods/Modules folder, the Modulations Center couldn't see it. Hence, I did not install it when in the Mods/Modules folder. So I went back and erased it from the Mod/Modules folder, put it in the Mods folder, and it recognized it fine.

Yes, I ftp in ASCII mode.

I am assuming this Mod allows the user to resize a photo when entering a post  into the forum based on some pre-set parameters, or allows the user to adjust the size of the photo during the posting phase.

However, when I tried to test this mod during a new post, the above error message appeared when I hit the "Preview" button, and I couldn't observe the function of the mod. The same error message appeared when I hit the "Post" button. I deliberately tried to attach a large photo (1392 X 973, 148K) to the post just to see what would happen. The attached photo file size limit on my forum is set to 250K, so I was assuming this file would not be rejected. I then tried to attach a file using a much smaller photo size and the same error code appeared.

Please advise.

Logged Offline
Private Message Private message
Martin
July 18, 2008, 11:56am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,572
Gender: Male
Posts Per Day: 3.07
Reputation: 98.60%
Reputation Score: +212 / -3
Time Online: 35 days 21 hours 14 minutes
Location: UK
Age: 50
Do you have actually GD installed on the host server?



Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 1 - 14
bnh
July 18, 2008, 2:33pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 26
Posts Per Day: 0.12
Time Online: 12 hours 38 minutes
Hello Martin,l

I guess not.
Please identify and direct me to GD.
Logged Offline
Private Message Private message Reply: 2 - 14
Martin
July 18, 2008, 3:42pm Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,572
Gender: Male
Posts Per Day: 3.07
Reputation: 98.60%
Reputation Score: +212 / -3
Time Online: 35 days 21 hours 14 minutes
Location: UK
Age: 50
Is this your own server then?



Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 3 - 14
bnh
July 18, 2008, 6:22pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 26
Posts Per Day: 0.12
Time Online: 12 hours 38 minutes
No, I'm being hosted on a server run by Verio.
Logged Offline
Private Message Private message Reply: 4 - 14
Martin
July 19, 2008, 12:41am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,572
Gender: Male
Posts Per Day: 3.07
Reputation: 98.60%
Reputation Score: +212 / -3
Time Online: 35 days 21 hours 14 minutes
Location: UK
Age: 50
Your host will have to install the base module.
Try this:

download and unzip the attached
upload the complete folder to your forum folder in ASCII

These are the extra modules that EBlah uses but you need the base modules installed on the server also.



This post contains attachments; to download them you must login.




Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 5 - 14
bnh
July 19, 2008, 9:53am Report to Moderator Report to Moderator
E-Blah Member
Posts: 26
Posts Per Day: 0.12
Time Online: 12 hours 38 minutes
I am on a Microsoft server.

So that I know what to ask, when I contact my host, is the CD you refer to the GD graphic libraries for PHP?

Do all of the mods require this servver software?
Logged Offline
Private Message Private message Reply: 6 - 14
Justin
July 19, 2008, 12:30pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,080
Gender: Male
Posts Per Day: 6.43
Reputation: 93.42%
Reputation Score: +298 / -21
Time Online: 37 days 1 hours 13 minutes
Location: Tallassee, AL
Age: 22
Refer to this on how to install it:

http://www.eblah.com/forum/m-1214599407/s-9/#num9


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

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Online
Site Site Private Message Private message Reply: 7 - 14
bnh
July 24, 2008, 3:39pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 26
Posts Per Day: 0.12
Time Online: 12 hours 38 minutes
I got my host to install the GDlib core module on my Windows server.
I did the test install, everything came back okay.
I did the real instal, and the indication on Modules Center was install okay.

However, I now get the follwing error coded appearing on the first page, which was running a flash animation just fine, copied from your Velvet theme:

You need to upgrade your Flash Player This is replaced by the Flash content. Place your alternate content here and users without the Flash plugin or with Javascript turned off will see this. Content here allows you to leave out noscript tags. Include a link to bypass the detection if you wish.

And, one of my moderators just got the following message again,

Can't locate GD.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at ./Code/Attach.pl line 70.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.


Do I still need to install the zip files Martin referenced above, and if so, and if installed, what do I expect to see, i.e. how do I envoke this mod to test it and what does this mod actually do?

Thanks for all of your help.
Logged Offline
Private Message Private message Reply: 8 - 14
bnh
July 24, 2008, 7:16pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 26
Posts Per Day: 0.12
Time Online: 12 hours 38 minutes
I uploaded the zip files supplied by Martin to the Forum Folder. The files were all under one folder called GD, and I uploaded that one GD folder with all subfolders in side. I'm assuming that was the correct thing to do.

When I tried to attach a jpg to a Reply or Thread, I got the following error code:
Software error:

Can't locate GD.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at ./Code/Attach.pl line 70.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.


However, the request to update the flash player no longer appears on the pages as indicated in the previous post. The flash file is playing fine.

Please advise.
Logged Offline
Private Message Private message Reply: 9 - 14
Martin
July 25, 2008, 12:34am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,572
Gender: Male
Posts Per Day: 3.07
Reputation: 98.60%
Reputation Score: +212 / -3
Time Online: 35 days 21 hours 14 minutes
Location: UK
Age: 50
Just been thinking about this and I'm sure you don't need it, if you are using the latest version then the mod was included in the code so you can uninstall it.

As for the GD folder, when you go to /forum/GD do you see GD.pm?



Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 10 - 14
bnh
July 25, 2008, 8:17am Report to Moderator Report to Moderator
E-Blah Member
Posts: 26
Posts Per Day: 0.12
Time Online: 12 hours 38 minutes
yes, gd.pm is there.
Logged Offline
Private Message Private message Reply: 11 - 14
bnh
July 25, 2008, 8:54am Report to Moderator Report to Moderator
E-Blah Member
Posts: 26
Posts Per Day: 0.12
Time Online: 12 hours 38 minutes
I just double checked the php gd installation by looking at a file called phpinfo.php on my website. I got back the following, if this helps. I didn't copy the rest of the info, which included a lot of info about php core.

PHP Version 5.2.3

System  Windows NT W3W19028 5.2 build 3790  
Build Date  May 31 2007 09:36:39  
Configure Command  cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"  
Server API  ISAPI  
Virtual Directory Support  enabled  
Configuration File (php.ini) Path  C:\WINDOWS  
Loaded Configuration File  C:\php\php-isapi.ini  
PHP API  20041225  
PHP Extension  20060613  
Zend Extension  220060519  
Debug Build  no  
Thread Safety  enabled  
Zend Memory Manager  enabled  
IPv6 Support  enabled  
Registered PHP Streams  php, file, data, http, ftp, compress.zlib, https, ftps  
Registered Stream Socket Transports  tcp, udp, ssl, sslv3, sslv2, tls  
Registered Stream Filters  convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*  

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Logged Offline
Private Message Private message Reply: 12 - 14
bnh
July 25, 2008, 9:24am Report to Moderator Report to Moderator
E-Blah Member
Posts: 26
Posts Per Day: 0.12
Time Online: 12 hours 38 minutes
I also found the following from the phpinfo file, indicating the presence of the GD lib.

[i]gd
GD Support  enabled  
GD Version  bundled (2.0.34 compatible)  
FreeType Support  enabled  
FreeType Linkage  with freetype  
FreeType Version  2.1.9  
T1Lib Support  enabled  
GIF Read Support  enabled  
GIF Create Support  enabled  
JPG Support  enabled  
PNG Support  enabled  
WBMP Support  enabled  
XBM Support  enabled  [/i]
Logged Offline
Private Message Private message Reply: 13 - 14
BattleMage
July 31, 2008, 3:25am Report to Moderator Report to Moderator
E-Blah Member
Posts: 78
Gender: Male
Posts Per Day: 0.04
Reputation: 100.00%
Reputation Score: +1 / -0
Time Online: 1 days 43 minutes
Location: Ammerbuch, Germany
Age: 27
This is not PHP.

You need perl GD.
Logged Offline
Private Message Private message Reply: 14 - 14
1 Pages 1 Recommend Thread
Print

E-Blah Community    Modifications    Mod Requests and Support  ›  Error Code Problem With Re-Size Mod