Wiccle.com in Facebook Wiccle.com in Twitter Wiccle.com in LinkedIn Wiccle.com in Youtube RSS from Wiccle.com Wiccle.com in Atom
 
 
 

Thread: Prlobleme with pictures!

Started: August 13, 2009, 04:15 AM  ⋅  Zone: Public Forums  ⋅  Category: FAQ  ⋅  Posts: 15  ⋅  Views 772
Started by: bosna1  ⋅  Description: Error Upload photos
Post #1
Member: bosna1  ⋅  Date: August 13, 2009, 04:15 AM  ⋅ Subject: "Prlobleme with pictures!"

Hello. Have a problem if I upload an image to then the following error: Fatal error: Call to undefined function imageconvolution () in / var / www / web... / html / core / class_uploader.php on line 299th Can someone help me maybe I can fix these errors. I am grateful for every note. Thank you very much .

Post #2
Member: Markus  ⋅  Date: August 13, 2009, 06:45 AM  ⋅ Subject: "(No title)"

As in Requirements --- you need to have the GD library activated in PHP (and it generally is by default in hosting environments). And just to be sure, you are using PHP 5.1.0 or later?


If it's a Windows server, you can enable GD support in php.ini by uncommenting the relevant extension (php_gd2.dll). If it's a Linux server, you can either recompile PHP with GD support on (if you're on VPS --- most control panels have an easy way for doing this without shell access) --- or ask your host about switching it on.


I should also add GD support check into the required PHP settings bit in the installer...

Post #3
Member: litoz  ⋅  Date: August 13, 2009, 08:48 PM  ⋅ Subject: "(No title)"

I have a similar problem. I try to upload avatar.



Warning : move_uploaded_file (uploads/members/members-1-1250210371_emo37.gif) [ function.move-uploaded-file ] : failed to open stream: Permission denied in / var / www / iwiccle / core / class_uploader.php on line 141



Warning : move_uploaded_file () [
function.move-uploaded-file ]: Unable to move '/ tmp/php4WIUCY' to 'uploads/members/members-1-1250210371_emo37.gif' in / var / www / iwiccle / core / class_uploader.php on line 141




Warning : getimagesize (uploads/members/members-1-1250210371_emo37.gif) [
function.getimagesize ]: failed to open stream: No such file or directory in / var / www / iwiccle / core / class_uploader.php on line 157



Warning : copy (uploads/members/members-1-1250210371_emo37.gif) [
function.copy ]: failed to open stream: No such file or directory in / var / www / iwiccle / core / class_uploader.php on line 163




Warning : getimagesize (uploads/members/members-1-1250210371_emo37.gif) [
function.getimagesize ]: failed to open stream: No such file or directory in / var / www / iwiccle / core / class_uploader.php on line 157



Warning : copy (uploads/members/members-1-1250210371_emo37.gif) [
function.copy ]: failed to open stream: No such file or directory in / var / www / iwiccle / core / class_uploader.php on line 163




Warning : getimagesize (uploads/members/members-1-1250210371_emo37.gif) [
function.getimagesize ]: failed to open stream: No such file or directory in / var / www / iwiccle / core / class_uploader.php on line 157



Warning : copy (uploads/members/members-1-1250210371_emo37.gif) [
function.copy ]: failed to open stream: No such file or directory in / var / www / iwiccle / core / class_uploader.php on line 163




Warning : getimagesize (uploads/members/members-1-1250210371_emo37.gif) [
function.getimagesize ]: failed to open stream: No such file or directory in / var / www / iwiccle / core / class_uploader.php on line 157



Warning : copy (uploads/members/members-1-1250210371_emo37.gif) [
function.copy ]: failed to open stream: No such file or directory in / var / www / iwiccle / core / class_uploader.php on line 163




Warning : getimagesize (uploads/members/members-1-1250210371_emo37.gif) [
function.getimagesize ]: failed to open stream: No such file or directory in / var / www / iwiccle / core / class_uploader.php on line 157



Warning : copy (uploads/members/members-1-1250210371_emo37.gif) [
function.copy ]: failed to open stream: No such file or directory in / var / www / iwiccle / core / class_uploader.php on line 163




Warning : unlink (uploads/members/members-1-1250210371_emo37.gif) [
function.unlink ]: No such file or directory in < b> / var / www / iwiccle / core / class_uploader.php on line 170

Post #4
Member: Markus  ⋅  Date: August 13, 2009, 09:43 PM  ⋅ Subject: "(No title)"

Litoz: The subfolders in your /uploads folder are not write-enabled (CHMOD 0777). You need to fix this to make uploading possible. I'll add full subfolder write perm checks to the next version's installer.

Post #5
Member: litoz  ⋅  Date: August 13, 2009, 10:47 PM  ⋅ Subject: "(No title)"

Thank you. Marcus may be better to create a topic bugtrack?

Post #6
Member: litoz  ⋅  Date: August 13, 2009, 11:27 PM  ⋅ Subject: "(No title)"

Marcus, the same problem.
Fatal error: Call to undefined function imageconvolution () in / var / www / iwiccle / core / class_uploader.php on line 299.

But GD is working:
 
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.5
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled

Picture JPEG.

Post #7
Member: Markus  ⋅  Date: August 14, 2009, 12:25 AM  ⋅ Subject: "(No title)"

Your PHP version isn't, by any chance, < 5.1 ? According to the manual, PHP 5.1 > and GD installed means that imageconvolution() is available. If these both check, there's a chance that your host has switches this off intentionally or accidentally --- then check in with them.


We use it to fix and sharpen the resized image for a better result. It isn't critical however, should work fine with the sharpening bit commented out, too, albeit with slightly less sharp thumbnails.

Post #8
Member: litoz  ⋅  Date: August 14, 2009, 02:17 AM  ⋅ Subject: "(No title)"

OK. I have to rebuild PHP5-GD. Im runing in ubuntu server 8.04. And this package is not assembled correctly. Now everything works.Laughing PHP version was 5.2.4.

By the way, Marcus. Why not use ImageMagick?

Post #9
Member: Markus  ⋅  Date: August 15, 2009, 01:47 AM  ⋅ Subject: "(No title)"

ImageMagick is something I want to add in in the future as an option. Options and alternatives for everything! =) As far as base solutions go, I've been aiming at the lowest common denominators, trying to make things as widely compatible without special extensions as possible.

Post #10
Member: bosna1  ⋅  Date: August 20, 2009, 04:45 AM  ⋅ Subject: "Problems with Image Upload "

Hello. Have time now to update from 1.10 to 1:11 made. If I want to upload picture now comes the following error:
Warning: getimagesize () [function.getimagesize]: Read error! in / var/www/web4/html/core/class_uploader.php on line 166

Warning: getimagesize () [function.getimagesize]: Read error! in / var/www/web4/html/core/class_uploader.php on line 166

Warning: getimagesize () [function.getimagesize]: Read error! in / var/www/web4/html/core/class_uploader.php on line 166

Warning: getimagesize () [function.getimagesize]: Read error! in / var/www/web4/html/core/class_uploader.php on line 166

Warning: getimagesize () [function.getimagesize]: Read error! in / var/www/web4/html/core/class_uploader.php on line 166

Warning: getimagesize () [function.getimagesize]: Read error! in / var/www/web4/html/core/class_global.php on line 513

Warning: Division by zero in / var/www/web4/html/core/class_global.php on line 527

On the server is installed GD2. What could the problem lie? Many, many thanks for any help

Post #11
Member: Markus  ⋅  Date: August 20, 2009, 07:52 PM  ⋅ Subject: "(No title)"

Are you sure your /upload folder's write permissions weren't accidentally reset? Check that, and set them all to 0777 (public writable).

Post #12
Member: bosna1  ⋅  Date: August 22, 2009, 02:25 AM  ⋅ Subject: "JPG"

Hello again! Have the right checks are, of course, on 777th After I update from 1.10 to 1:11, so you can easily images in format: PNG and GIF to upload. It works wonderfully. Problem: Can not upload JPG images. If still the error: Fatal error: Call to undefined function imageconvolution () in / var / www / web.. / html / core / class_uploader.php on line 308th Do you have an idea? Thanks for any info:
Greeting Bosna1

Post #13
Member: Markus  ⋅  Date: August 22, 2009, 02:52 AM  ⋅ Subject: "(No title)"

For imageconvolution() to be available, you should have GD2 image library available in PHP. If you can't get that flipped on, you can open line 308 of /core/class_uploader.php and comment (// like this) out the line starting imageconvolution. It just does a slight sharpening of resized JPEG images.

Post #14
Member: bosna1  ⋅  Date: August 22, 2009, 05:44 AM  ⋅ Subject: "Thank You"

I should like to express my sincere thanks. It now works with JPG images. The can also upload. Thank you and best greetings. Cool   Bosna1

Post #15
Member: Markus  ⋅  Date: August 23, 2009, 02:03 PM  ⋅ Subject: "(No title)"

Not a problem, anytime. Smile

 

FAQ

Add to Favorites
Public Forums
Category  ⋅  Frequently asked questions on all things Wiccle. If it's a common question, see here.
 

Public Forums

Add to Favorites
Public Forums
Zone  ⋅ Public forum sections for support and discussions. Available for everyone.
 

Zone Categories

 
Questions? Ask us!
Back to Top