PHP5PEAR MDB2_Common::freeResult() Function "Call to undefined function" Error

Asked 1 years ago, Updated 1 years ago, 42 views

■ Due to the relocation of the web server, the OS/PHP etc. has been changed as follows ·Version-Up.
 Server OS: FreeBSD 4.7-RELEASE-p11→Red Hat Enterprise Linux 4
 Apache: 1.3.42 → 2.0.64
 PHP: 4.4.7 → 5.3.28
 PEAR: 1.5.4 → 1.9.4
 MySQL:4.1.21→5.5.35

■ MDB2_Common::freeResult() function that has not been problematic since this relocation (DB record is
 a function that removes the result set that you got and frees up the memory that the result set was using).  I'm in trouble.
 $○○->freeResult($△△);" displays the following error message on the screen:
 It will stop.
メッセージError MessageatFatal error:Call to undefined function:
          MDB2_Driver_mysql::freeResult().
          in/usr/local/php 5.3/lib/php/MDB2.php on line 1936

$○○ is the address of the DB object.$△△ is the data obtained by PEAR's getAll method
 Array variable containing
 MDB2.php is "require_once("MDB2.php");" in the parent program.

Please tell me how to solve this problem.

php

2022-09-30 21:16

1 Answers

I answered with this (qa@it), but there was no response.MDB seems to be freeResult, but MDB2 seems to be free.

https://pear.php.net/package/MDB/docs/1.3.0/MDB/MDB_Common.html#methodfreeResult

https://pear.php.net/package/MDB2/docs/latest/MDB2/MDB2_Result_Common.html#methodfree

I think 1.292 is a revision of cvs, so I don't think it's a version (MDB2 version starts at 2.0.0)

It seems that you are asking a lot of questions on , but if you want to multi-post, could you handle everything properly?


2022-09-30 21:16

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.