Is this my error or a bug?
| From: | Robert Covell | Date: | Fri, 02 Mar 2001 19:55:51 +0000 |
| Subject: | Is this my error or a bug? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42390@lists.php.net to get a copy of this message | ||
Is this following due to a bug in either Payflow Pro SDK or in PHP or my
messup? It just seems to odd that the warning is for pfpro_version and then
the configtest fails because of pfpro_version. Here are the errors and code
it is using:
----When making PHP----
root@server5:/usr/local/phpApache/php-4.0.4pl1# make > make.out
pfpro.c: In function `php_if_pfpro_version':
pfpro.c:129: warning: initialization makes pointer from integer without a
cast
root@server5:/usr/local/phpApache/php-4.0.4pl1#
----When doing configtest----
root@server5:/usr/local/phpApache/php-4.0.4pl1# ../../apache/bin/apachectl
conf
igtest
Syntax error on line 213 of /usr/local/apache1317/conf/httpd.conf:
Cannot load /usr/local/apache1317/libexec/libphp4.so into server:
/usr/local/apa
che1317/libexec/libphp4.so: undefined symbol: PNVersion
root@server5:/usr/local/phpApache/php-4.0.4pl1#
----The code that the error is in(../php-4.0.4pl1/ext/pfpro/pfpro.c)----
/* {{{ proto string pfpro_version()
Returns the version of the Payflow Pro library */
PHP_FUNCTION(pfpro_version)
{
if (ZEND_NUM_ARGS() != 0) {
WRONG_PARAM_COUNT;
}
RETURN_STRING(PNVersion(), 1);
}
/* }}} */
Thanks,
-Bob