PDA

View Full Version : Fatal error: Call to undefined function: ....


refresh
07-26-2005, 10:21 PM
I get the following errors when trying to upload an image for the first time (brand new set up)

I go to the Post a New Image page and I get this error where the browse for image option should be:

Image: "localized string not found"

Then at the bottom of the box I get:

Fatal error: Call to undefined function: utf8_decode() in /htdocs/www/includes/functions.php on line 115

Basically I cant upload any files.

Ideas? recommendations?

Connie
07-27-2005, 06:07 AM
which version of PixelPost are you using?

please give us the general info from the admin panel

refresh
07-27-2005, 03:12 PM
I'm using pixelpost version 1.4.2

I've loaded a couple screenshots of the "new image" page and "general info" page.

http://www.babybrianna.ca/images/bbscreenshot.tiff
http://www.babybrianna.ca/images/bbscreenshot2.tiff

Connie
07-27-2005, 04:51 PM
unfortunately TIFF is not a supported graphic format which a browser can read :cry:

just go to your admin panel, log in, go to "GENERAL iNFORMATION", mark the text, right click, copy and paste it here

so we can read real letters :wink:

refresh
07-28-2005, 12:09 AM
sorry about that. My browser reads tiff just fine. Regardless, here is the copied info from the "GENERAL INFO" section of my admin.

Pixelpost Version
You are running version 1.4.2 of Pixelpost. Released 18 July 2005.
Latest pixelpost version: Check

Looking for help or want to give feedback, please step into pixelpost forum.
www.pixelpost.org/forum/

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

MySQL version 4.0.24_Debian-1.backports.org.1-log (Pixelpost's min requirement: MySQL 3.23.58)

GD-lib

Server software Apache

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

Paths
Guessed imagepath:
Fatal error: Call to undefined function: utf8_decode() in /htdocs/www/includes/functions.php on line 115

Connie
07-28-2005, 06:08 AM
your GD-LIB is installed without any JPG-support at all, so no wonder that no images possible :?

ask your hoster to install GD-LIB completely with JPG-support

refresh
07-30-2005, 03:35 PM
I went to my php.ini file and un-commented the line: extension = gd.so
as directed by my ISP.

However I still get the same error on the bottom of the page where the upload image button should be:

Fatal error: Call to undefined function: utf8_decode() in /htdocs/www/includes/functions.php on line 115

I went to functions.php and line 115 is:
$str = UTF8_decode($str);

what else can I do?

Connie
07-30-2005, 04:23 PM
I think the reason is because PHP is installed as CGI at your server

your phpinfo says:
Server API CGI

mine says:
Server API Apache

could you ask your hoster to offer PHP not as CGI-module?

I read a lot that that is the reason for many problems