JFactory::getDBO() no longer working .. 2.5.7 - Joomla! Forum - community, help and support


hi there,

we have been using customer built module in order allow our clients upload documents there own site without having send pdf every month. module has stopped working on website have update joomla 2.5.7. did work joomla 2.5.1 , @ loss need doing. below code echo out word array in earlier joomla versions way behaves won't connect jfactory::getdbo

$db =& jfactory::getdbo();
$sql = "select * #__uploads;";
$db->setquery($sql);
$results = $db->loadobjectlist();
echo $results;

i have tried amending sql search on jos_uploads try , hard code it, hasn't worked.

earlier in use jfactory users , returns them ok.

can help?, missing files need 2.5.7 or code no longer going work?

thanks help,

marcdavison77.com

code: select all

jimport('joomla.database.database');

maybe have missed

show echo dump





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support