|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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(); ?> 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 |
|
#3
|
|||
|
|||
|
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....... |
|
#4
|
|||
|
|||
|
please call again the phptest-script and look at these infos:
Quote:
Quote:
|
|
#5
|
|||
|
|||
|
no information about the headers, really strange this one... last week pixelpost was working properly, nothing changed on the server.....
|
|
#6
|
||||
|
||||
|
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.
__________________
Affordable Website Design in North Wales |
|
#7
|
|||
|
|||
|
Quote:
![]() but I believe you so the config would be ok, i guess... |
|
#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
|
|
#9
|
|||
|
|||
|
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:
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_perlI'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:
**EDIT: I'm also getting the following error on some of the admin pages: Quote:
Last edited by Damobius; 01-12-2006 at 02:19 AM. |
|
#10
|
||||
|
||||
|
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.
__________________
Affordable Website Design in North Wales |
| Post Reply |
| Thread Tools | |
|
|