Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 05-09-2005, 11:12 AM
chipie Offline
forum loafer
 
Join Date: May 2005
Posts: 8
fatal error in functions.php

when logging into the administration pages I get the following error message

Fatal error: Call to undefined function: utf8_decode() in /home/mark/public_html/moblog/includes/functions.php on line 115

what could be the problem?
Reply With Quote
  #2  
Old 05-09-2005, 11:46 AM
Connie
Guest
 
Posts: n/a
as this function is available in PHP since version PHP 3, exactly since 3.0.6, I assume that the php which is available at your server is too old

PixelPost minimum requirement is version 4.3.0

so you could test exactly which version is installed at your host:

write a file with that content:
Code:
<?
phpinfo();
?>
upload it to your webserver as "phptest.php" and call it from your browser
you will get a lot of information and you will see which PHP-version is active at your server

normally we have this info at hand in our admin panel, but as you can't login :cry:

hope this info helped you
Reply With Quote
  #3  
Old 05-09-2005, 12:25 PM
chipie Offline
forum loafer
 
Join Date: May 2005
Posts: 8
hi Connie,

I know for sure that it isn't the problem of the PHP version. Below the Host information of my system...

Host Information
PHP-version 4.3.3 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.0.15 (Pixelpost's min requirement: MySQL 3.23.58)

GD-lib bundled (2.0.15 compatible) with JPEG support

Server software Apache-AdvancedExtranetServer/2.0.47 (Mandrake Linux/6mdk) mod_perl/1.99_09 Perl/v5.8.1 mod_ssl/2.0.47 OpenSSL/0.9.7b PHP/4.3.2

EXIF Pixelpost is using exifer v1.5 for EXIF information.


I can login to the system, only under the admin items "New Image", "General Info" and "Add-ons" I see the message Fatal error: Call to undefined function: utf8_decode etc...

I really don't know what the problem could be.......
Reply With Quote
  #4  
Old 05-09-2005, 12:59 PM
Connie
Guest
 
Posts: n/a
please call again the phptest-script and look at these infos:
Quote:
Apache Environment:

HTTP_ACCEPT_CHARSET windows-1252, utf-8, utf-16, iso-8859-1;q=0.6, *;q=0.1
and
Quote:
HTTP Headers Information
Accept-Charset windows-1252, utf-8, utf-16, iso-8859-1;q=0.6, *;q=0.1
to find out whether your apache accepts UTF...
Reply With Quote
  #5  
Old 05-09-2005, 05:11 PM
chipie Offline
forum loafer
 
Join Date: May 2005
Posts: 8
no information about the headers, really strange this one... last week pixelpost was working properly, nothing changed on the server.....
Reply With Quote
  #6  
Old 05-09-2005, 05:17 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]
i found this : HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7


that would suggest you have UTF-8 ok.
Reply With Quote
  #7  
Old 05-09-2005, 05:36 PM
chipie Offline
forum loafer
 
Join Date: May 2005
Posts: 8
Quote:
Originally Posted by JSpurling
i found this : HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7


that would suggest you have UTF-8 ok.
great I cannot find it in de phpinfo() strange... maybe find option isn't working so properly on winxp

but I believe you so the config would be ok, i guess...
Reply With Quote
  #8  
Old 05-09-2005, 07:33 PM
chipie Offline
forum loafer
 
Join Date: May 2005
Posts: 8
thank for the help, the problem is solved!

I had to install the The XML module for PHP, done that and yeah it's all working
Reply With Quote
  #9  
Old 01-12-2006, 01:33 AM
Damobius Offline
forum loafer
 
Join Date: Jan 2006
Location: San Francisco, CA
Posts: 5
I'm getting this same error, and can't figure out why. I've installed GD successfully with the following configuration:

Support for PNG library: yes
Support for JPEG library: yes
Support for Freetype 2.x library: yes
Support for Fontconfig library: no
Support for Xpm library: no
Support for pthreads: yes


phpinfo() shows the following:
  • HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
  • Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7

Under "apache2handler", in "Loaded Modules", I see the following:
core prefork http_core mod_so mod_access mod_auth mod_auth_anon mod_auth_digest mod_include mod_log_config mod_logio mod_env mod_expires mod_headers mod_usertrack mod_setenvif mod_mime mod_status mod_autoindex mod_asis mod_info mod_cgi mod_vhost_alias mod_negotiation mod_dir mod_imap mod_actions mod_userdir mod_alias mod_rewrite mod_proxy proxy_http mod_ssl mod_cache mod_disk_cache mod_suexec mod_php4 mod_perl
I'm not finding any xml modules there, although from what I understand if you compile php for any Apache version from 1.3.9 on, xml is handled by default.

Pixelpost Admin output:

Quote:
Pixelpost Version
You are running version 1.4.3 of Pixelpost. Released 21 November 2005.

***Update links deleted***

Host Information
PHP-version 4.3.4 (Pixelpost's min requirement: PHP version 4.3.0)

MySQL version 4.0.18 (Pixelpost's min requirement: MySQL 3.23.58)

GD-lib

Server software Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/6mdk) mod_perl/1.99_11 Perl/v5.8.3 mod_ssl/2.0.48 OpenSSL/0.9.7c PHP/4.3.4

EXIF Pixelpost is using exifer v1.5 for EXIF information.

Paths
Guessed imagepath:
Fatal error: Call to undefined function: utf8_decode() in /www/thatthar/photo_board/includes/functions.php on line 115
Any ideas?

**EDIT: I'm also getting the following error on some of the admin pages:

Quote:
Fatal error: Call to undefined function: utf8_encode() in /www/thatthar/photo_board/includes/functions.php on line 105
although I suspect they're both related to the same issue.

Last edited by Damobius; 01-12-2006 at 02:19 AM.
Reply With Quote
  #10  
Old 01-12-2006, 10:09 AM
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]
Damobius : i looked here on your server: http://www.that-thar.com/photo_board...es/phpinfo.php

and see that GD isn't actually installed like you say. in fact, it's under the list of of available external modules. To install one or all of these, use "urpmi" php-EXTENSION_NAME.
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 10:46 AM.

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