Ask a Question related to PHP Development, Design and Development.
-
admin at evodot dot de #1
#26118 [NEW]: fdf-functions so not work
From: admin at evodot dot de
Operating system: debian linux 3.0
PHP version: 4.3.3
PHP Bug Type: FDF related
Bug description: fdf-functions so not work
Description:
------------
On a debian linux 3.0 with all-standard packages the phplib
is to be substituted by a self-compiled one incl. fdf-support.
Got the sources of php 4.3.3 and FdfTk v5.0 and compiled
without severe problems (only some develop-packages, which
had to be added).
But of the fdf-functions is actually available, i.e. any
of 'fdf_open( $file )', 'fdf_open_string( "$HTTP_FDF_DATA" )'
or even 'fdf_create()' fails without any further comment.
In the log you can only find the complaints of
'fdf_close()', 'fdf_save()' and so on ...
Btw. I tried both, fdf as shared object and statical linked
into php:
../configure --prefix=/usr/local --with-exec-dir=/usr/local/lib/php
--with-pgsql=no --with-mysql=shared,/usr --with-gd=shared,/usr
--with-tiff-dir=shared,/usr --with-jpeg-dir=shared,/usr
--with-png-dir=shared,/usr --with-xpm-dir=shared,/usr/X11R6
--with-pdflib=no
--with-imap=no --with-ldap=no --with-zlib=yes --with-xml --with-ttf
--with-sablot --with-readline --with-ftp --with-gettext=no --with-mm
--with-freetype-dir=shared,/usr --enable-versioning --enable-yp=no
--enable-bcmath --enable-trans-sid --enable-inline-optimization
--enable-track-vars --enable-magic-quotes --enable-safe-mode
--enable-sockets --enable-sysvsem --enable-sysvshm --enable-shmop
--enable-exif --enable-ftp --enable-memory-limit --enable-wddx
--enable-filepro --enable-dbase --with-config-file-path=/etc/php4/apache
--with-apxs=/usr/bin/apxs --with-fdftk=/usr/local
resp. --with-fdftk=shared,/usr/local
Reproduce code:
---------------
$fdf_doc = fdf_create () or error_log ( "test.php: \
fdf_create() failed", 0 );
fdf_save ( $fdf_doc, "/tmp/test.fdf" ) or error_log ( \
"test.php: fdf_save() failed", 0 );
fdf_close ( $fdf_doc );
Expected result:
----------------
to have a fdf-file named /tmp/test.fdf ... sort of :-}
Actual result:
--------------
[04-Nov-2003 17:10:24] test.php: fdf_create() failed
[04-Nov-2003 17:10:24] PHP Warning: fdf_save() expects \
parameter 1 to be resource, boolean given in \
/var/apache/htdocs/test.php on line 15
[04-Nov-2003 17:10:24] test.php: fdf_save() failed
[04-Nov-2003 17:10:24] PHP Warning: fdf_close(): supplied \
argument is not a valid fdf resource in \
/var/apache/htdocs/test.php on line 17
--
Edit bug report at [url]http://bugs.php.net/?id=26118&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=26118&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=26118&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=26118&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=26118&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=26118&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=26118&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=26118&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=26118&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=26118&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=26118&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=26118&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=26118&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=26118&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=26118&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=26118&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=26118&r=float[/url]
admin at evodot dot de Guest
-
#40383 [NEW]: fdf-functions don't work
From: alexander dot schmidt at pc-handling dot de Operating system: Windows XP PHP version: 5.2.0 PHP Bug Type: FDF related... -
#26118 [Bgs]: fdf-functions do not work
ID: 26118 User updated by: admin at evodot dot de -Summary: fdf-functions so not work Reported By: admin at evodot... -
#26118 [Fbk->Bgs]: fdf-functions so not work
ID: 26118 Updated by: sniper@php.net Reported By: admin at evodot dot de -Status: Feedback +Status: ... -
#26118 [Opn->Fbk]: fdf-functions so not work
ID: 26118 Updated by: iliaa@php.net Reported By: admin at evodot dot de -Status: Open +Status: ... -
Strange problem...some functions just don't work.
Today, my photshop 7 began doing strange things. When I attempt to perform certain tasks, photshop won't do them. For example. If I attempt to...



Reply With Quote

