AYUDENME POR FAVOR!!!

AYUDENME POR FAVOR!!!

am 11.04.2008 17:47:39 von javier

En un desarrollo web me sale el siguiente error:

Fatal error: Call to undefined method DB_Error::getAll() in C:\wamp
\www
\Casino\modules\Horarios\Controller.php on line 65


y en la linea 65 esta:


63 public function _executeQuery($sSQL) {
64 $db =
&DB::connect(Config::get('SOURCE_DATABASE'),array());
65 $res = $db->getAll($sSQL, DB_FETCHMODE_ASSOC);
66 return $res;


mi cel es 3128593800 o a mi correo-MSN:
ADARTING(ARROBA)HOTMAIL.COM

Re: AYUDENME POR FAVOR!!!

am 13.04.2008 08:37:41 von kimandre

Javier wrote:

> En un desarrollo web me sale el siguiente error:
>
> Fatal error: Call to undefined method DB_Error::getAll() in C:\wamp
> \www
> \Casino\modules\Horarios\Controller.php on line 65
>
>
> y en la linea 65 esta:
>
>
> 63 public function _executeQuery($sSQL) {
> 64 $db =
> &DB::connect(Config::get('SOURCE_DATABASE'),array());
> 65 $res = $db->getAll($sSQL, DB_FETCHMODE_ASSOC);
> 66 return $res;
>
>
> mi cel es 3128593800 o a mi correo-MSN:
> ADARTING(ARROBA)HOTMAIL.COM

First of all, if you ask your question on Usenet, expect your response
on Usenet (and not exclusively by e-mail or MSN). Second, this is a
world-wide newsgroup (not restricted to a single language/country), so
to maximize the chance for a response, please keep your posts in
English.

My Spanish is somewhere between "rough understanding" and
"nonexistent", but judging by the error messages, I'd say that your
application is unable to connect to the database - either by using the
wrong credentials or by not reaching the database server (possibly not
running) - and is therefore returning a DB_Error resource (from the
custom class).

Further judging by the script path reported, I assume that you've
downloaded/installed WampServer. My only suggestions (so far) are to
either re-check the database login details you provided in the script
settings (look for a configuration or settings file), or check that the
MySQL database server is, in fact, running.

--
Kim André Akerø
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)