[eCard 0.0.7] fopen() problem ?!?!

galleo

Joined: 2006-03-23
Posts: 2
Posted: Thu, 2006-03-23 16:22

Hi dears,
Congratulations for the Ecard Module. I think I will love it.
Actually I've a problem with it. I'm running Gallery 2.0.4, and the last ecard-module (0.0.8) doesn't work on it for the API problem :(

I saw the link for the 0.0.7 and finally I could install it, but actually if I try to send an eCard I receive the following error:

"Fatal error: Call to undefined function: fopen() in .... modules/core/classes/GalleryPlatform.class on line 343"

that correspond to this lines:

$fd = fopen($tempFile, 'wb');
$success = false;"

What does it mean? How to solve it?
Thanks for the attention and again congratulation to all for the big development :)

Bye

following more info about my Gallery

Gallery version = 2.0.4 core 1.0.0.4
PHP version = 4.2.2 apache
Webserver = Apache/1.3.26 (Linux/SuSE) mod_ssl/2.8.10 OpenSSL/0.9.6g PHP/4.2.2
Database = mysql 3.23.52-log
Toolkits = ArchiveUpload, Exif, NetPBM, ImageMagick
Operating system = Linux g20 2.4.19 #1 SMP Wed Aug 25 13:34:40 UTC 2004 i686 unknown
Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; it; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2006-03-23 16:33

That's a PHP function... http://us3.php.net/fopen
ask your webhost why you don't have this standard function.
(do you really have php 4.2.2? or you meant 4.4.2?)

 
galleo

Joined: 2006-03-23
Posts: 2
Posted: Thu, 2006-03-23 17:04

actually i'm running 4.2.2 and in my php.ini the option for fopen is: allow_url_fopen = On
i'm running a Suse :/

where should I check?

thanks again

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2006-03-23 17:29

you can compile a new build or use a new version of PHP.

 
nicokaiser

Joined: 2004-10-04
Posts: 118
Posted: Thu, 2006-03-23 18:58

Can PHP be compiled *without fopen*?!? Maybe safe_mode (but safe_mode does have fopen if I remember correctly)?