JoomFish problem with my component
-
Hi there ! Im using Joomla 1.5 to build my site. My component(query data from database of website) work well if i don't install joomfish. After i installed Joom!Fish 2.0.4 Stable into my site for translation my component does not work(with error). My code of component as bellow:
$query='select * from jos_content where sectionid=11 and state=1
order by catid ';
$database->setQuery( $query );
$result=mysql_query($query);while($row=mysql\_fetch\_object($result)){ echo 'data'.$row->title; }
And i see these bellow warnings if i refer to my component.
Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\so\components\com_products\products.php on line 131
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\xampp\htdocs\so\components\com_products\products.php on line 131
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\so\components\com_products\products.php on line 137
Any ideas ! Thanks in regards !
-
Hi there ! Im using Joomla 1.5 to build my site. My component(query data from database of website) work well if i don't install joomfish. After i installed Joom!Fish 2.0.4 Stable into my site for translation my component does not work(with error). My code of component as bellow:
$query='select * from jos_content where sectionid=11 and state=1
order by catid ';
$database->setQuery( $query );
$result=mysql_query($query);while($row=mysql\_fetch\_object($result)){ echo 'data'.$row->title; }
And i see these bellow warnings if i refer to my component.
Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\so\components\com_products\products.php on line 131
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\xampp\htdocs\so\components\com_products\products.php on line 131
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\so\components\com_products\products.php on line 137
Any ideas ! Thanks in regards !
sharkbc wrote:
Access denied for user 'ODBC'@'localhost' (using password: NO)
Check your configuration file as it appears you can't connect to the database using your credentials. Your new install probably overwrote the config file.
-
sharkbc wrote:
Access denied for user 'ODBC'@'localhost' (using password: NO)
Check your configuration file as it appears you can't connect to the database using your credentials. Your new install probably overwrote the config file.
-
sharkbc wrote:
Access denied for user 'ODBC'@'localhost' (using password: NO)
Check your configuration file as it appears you can't connect to the database using your credentials. Your new install probably overwrote the config file.