Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning mysql error ?


Guest

Recommended Posts

Posted

hi!! i just drop my store in my host server. everything goes nice until i type my url www.hobby-shop.qc.ca clic enter you will see the message.

 

 

i edit the file and this is what start line 19 to 24

 

if ( (isset($HTTP_GET_VARS['keywords']) && empty($HTTP_GET_VARS['keywords'])) &&

(isset($HTTP_GET_VARS['dfrom']) && (empty($HTTP_GET_VARS['dfrom']) || ($HTTP_GET_VARS['dfrom'] == DOB_FORMAT_STRING))) &&

(isset($HTTP_GET_VARS['dto']) && (empty($HTTP_GET_VARS['dto']) || ($HTTP_GET_VARS['dto'] == DOB_FORMAT_STRING))) &&

(isset($HTTP_GET_VARS['pfrom']) && !is_numeric($HTTP_GET_VARS['pfrom'])) &&

(isset($HTTP_GET_VARS['pto']) && !is_numeric($HTTP_GET_VARS['pto'])) ) {

$error = true;

CODE

 

 

what is not good in this??

 

yours

 

sebastien

Posted

FORGET THE ABOVE THREAD I MISSMATCH MY FILE

 

 

this is what i have in the file at line 19

 

 

function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') {

global $$link;

 

if (USE_PCONNECT == 'true') {

$$link = mysql_pconnect($server, $username, $password);

} else {

$$link = mysql_connect($server, $username, $password); *************** this is line 19 ************

}

 

if ($$link) mysql_select_db($database);

 

return $$link;

}

so where is the problem???

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...