Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 01-31-2006, 10:11 PM
mihas Offline
forum loafer
 
Join Date: Jan 2006
Posts: 3
[AutoResize]

Hi guys. I'm using 1.5 beta and the AutoResize addon. However, I experience some problems. Sometimes - when trying to upload an image - I receive a message

Code:
Fatal error: Call to undefined function: xml_utf16_clean() in
/.../includes/pjmt/EXIF.
php on line 1686
Could You suggest any solution?
BTW, I do not use EXIF data - maybe there's an easy way to disable proceeding it, what would probably solve the problem, isn't it?
Reply With Quote
  #2  
Old 02-01-2006, 02:30 PM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
pjmt folder inside includes? is that included with the addon or something?

could you copy and paste what is on line 1686 in that file? also EXIF. seems to be missing it's suffix - should probably be saying EXIF.php
Reply With Quote
  #3  
Old 02-01-2006, 08:54 PM
mihas Offline
forum loafer
 
Join Date: Jan 2006
Posts: 3
1 Yes. EXIF.php
The extension moved to the following line ;-)

2 It's include directory in domain root folder - thanks to Autoresize Addon

3
PHP Code:
                // Extract the Coding Scheme Name from the first 8 characters
                
$char_code substr$data0);

                
// Extract the Data part from after the first 8 characters
                
$characters substr$data);

                
// Check coding scheme and interpret as neccessary

                
if ( $char_code === "ASCII\x00\x00\x00" )
                {
                        
// ASCII coding - return data as is.
                        
return $characters;
                }
                elseif ( ( 
$char_code === "UNICODE\x00" ) ||
                         ( 
$char_code === "Unicode\x00" ) )             // Note lowercase is non standard
                
{
                        
// Unicode coding - interpret and return result.
/*THIS IS 1686 --> */ 
return xml_UTF16_clean$charactersTRUE );
                }
                else
                {
                        
// Unknown coding - return string indicating this
                        
return "Unsupported character coding : \"$char_code\"\n\"" trim($characters) . "\"";
                }
                break;
        } 
Reply With Quote
  #4  
Old 03-04-2006, 12:31 PM
reini Offline
forum loafer
 
Join Date: Mar 2006
Posts: 2
same probelm

Hello!

I have the same problem when uploading picture from my Ricoh Caplio R1.
Pictures from other Cams (Olympus and Konica) work fine.
Reply With Quote
  #5  
Old 03-04-2006, 01:44 PM
mihas Offline
forum loafer
 
Join Date: Jan 2006
Posts: 3
My solution was to comment out the parts concerning EXIF, since I didn't really need at the photoblog. And it's the only thing I could suggest ;-)
Reply With Quote
  #6  
Old 03-04-2006, 06:41 PM
reini Offline
forum loafer
 
Join Date: Mar 2006
Posts: 2
How does this work "comment out the parts concerning EXIF"? Guess it is some code change in the EXIF.php

Thanks in advance, Andreas
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 09:30 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs