TinyPortal

Development => Support => Topic started by: garry on February 02, 2008, 01:36:29 AM

Title: Error Message in Article upload picture
Post by: garry on February 02, 2008, 01:36:29 AM
QuoteFatal error: Call to undefined function: exif_imagetype() in D:\Inetpub\vhosts\yabber.ca\httpdocs\wysiwyg\whizzypic.php on line 146

I have two forums running  one at Tiny Portal Hosting and another out there on the web somewhere

The picture upload in the forum on Tiny Portal Hosting works fine

but when I try to upload a picture at the other forum I get this error

I was wondering if anyone can direct me as to where to start looking for the problem


thanks

Garry
Title: Re: Error Message in Article upload picture
Post by: IchBin on February 02, 2008, 02:18:30 AM
Its obviously a whizzywig error. You try the other editor and see if it works? It is mostly likely that the exif library is not installed on your other server. Make a phpinfo.php file and compare the results on both of your sites.
Title: Re: Error Message in Article upload picture
Post by: garry on February 02, 2008, 03:57:20 AM
Thank you IchBin

Just one small problem

How do I make a phpinfo.php file

Title: Re: Error Message in Article upload picture
Post by: G6Cad on February 02, 2008, 08:41:56 AM
You browse SMF forum and do a search for "phpinfo" and follow the descriptions made by [Unknown]
http://www.simplemachines.org/community/index.php?topic=18250.0
Title: Re: Error Message in Article upload picture
Post by: garry on February 02, 2008, 11:28:11 AM
Well I did as the TP Sherif asked

and I followed the instructions of G6

and here is the link to the forum where the Article Upload is not working

http://www.yabber.ca/phpinfo.php (http://www.yabber.ca/phpinfo.php)

but I am at a loss as to what it all means

Title: Re: Error Message in Article upload picture
Post by: Smoky on February 02, 2008, 01:26:42 PM
i see no forum, just a page for php info.. hmm where is the error message??  ???
Title: Re: Error Message in Article upload picture
Post by: Zetan on February 02, 2008, 01:42:56 PM
Quote from: Smoky on February 02, 2008, 01:26:42 PM
i see no forum, just a page for php info.. hmm where is the error message??  ???

That was a link to the file that G6 requested.

Heres a link to the site: http://www.yabber.ca/

At a guess, I would think it's an error in an Article, but not 100% sure, or even which one
Title: Re: Error Message in Article upload picture
Post by: Smoky on February 02, 2008, 01:46:13 PM
I agree Ztn, hard to tell.. i think i just saw that i wasnt allowed to view pictures or ?? so.. but i wish you good luck with this..
Title: Re: Error Message in Article upload picture
Post by: garry on February 02, 2008, 02:36:18 PM
The error message is in the first post in this thread

the link there is to the phpinfo that ICHBIN suggested I create and G6 gave me instruction of how to post
Title: Re: Error Message in Article upload picture
Post by: Smoky on February 02, 2008, 02:42:38 PM
what picture type are you trying to upload, and do you have that type set in your approved files?? might want to check that if you havent..
Title: Re: Error Message in Article upload picture
Post by: IchBin on February 02, 2008, 04:04:10 PM
garry, its as I suggested above. YOu do not have exif compiled into your PHP installation on that server. Compare it to another phpinfo.php on your server that is working and you'll see. If you want it to work you're going to have to ask your host to compile that into a new php installation.
Title: Re: Error Message in Article upload picture
Post by: garry on February 02, 2008, 04:54:48 PM
Thank you IchBin

It was a good lesson in moving around and understanding more about SMF and TP

Iam going to move my forum over to TP Hosting to avoid all this trouble I have been experencing

Title: Re: Error Message in Article upload picture
Post by: G6Cad on February 02, 2008, 05:48:07 PM
We know you will have the best deal ever with them as your new host.
I mark this one solved now.
Title: Re: Error Message in Article upload picture
Post by: garry on February 03, 2008, 10:49:45 PM
Grin I will agree as they are making me learn a lot