|
|
bnh |
|
|
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.
|
|
|
|
|
|
Martin |
|
|
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 |
|
|
|
|
|
bnh |
|
|
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. |
|
|
|
|
|
Martin |
|
|
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 |
|
|
|
|
|
bnh |
|
|
Posts: 26
Posts Per Day: 0.12
Time Online: 12 hours 38 minutes
|
No, I'm being hosted on a server run by Verio. |
|
|
|
|
|
Martin |
|
|
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 |
|
|
|
|
|
bnh |
|
|
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?
|
|
|
|
|
|
Justin |
|
|
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
|
|
Logged |
Online |
|
|
|
bnh |
|
|
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.
|
|
|
|
|
|
bnh |
|
|
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. |
|
|
|
|
|
Martin |
|
|
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 |
|
|
|
|
|
bnh |
|
|
Posts: 26
Posts Per Day: 0.12
Time Online: 12 hours 38 minutes
|
|
|
|
|
|
bnh |
|
|
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 |
|
|
|
|
|
bnh |
|
|
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] |
|
|
|
|
|
BattleMage |
|
|
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. |
|
|
|
|
|
|