[TYPO3-dev] pi_getRecord

Sebastiaan van Parijs sebastiaan at framed.nl
Mon Jun 16 13:06:45 CEST 2008


Hello guys,

I got myself a problem with the t3lib function pi_getRecord this is my code:

# Code sample #

echo 'Table: '. $this->extTables['dataCollection'] .'</br>';
echo 'Uid: '. $this->piVars['showUid'] .'</br>';
				
$rec = 
$this->pi_getRecord($this->extTables['dataCollection'],this->piVars['showUid'] 
);

# End sample #

I built this plugin from scrats so might my be possible i forgot to set 
some kind of function or variable in typo3 or where ever.

But this is the resulting message:

# Error message #

Table: tx_formsbuilder_datacollection
Uid: 7

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL 
result resource in 
/usr/local/www/vhosts/framed.nl/subdomains/dev/httpdocs/t3lib/class.t3lib_db.php 
on line 796

# End message #

Guys any idea on how i can Debug or preferable solve this issue?
Thnx,

Sebastiaan

Framed.nl




More information about the TYPO3-dev mailing list