Installation Issues

Completely new to MySQL and know very little PHP
Trying to set up the WebAuction tool..but keep getting errors.
First they were the "& new" errors and then others...searched how to fix them and the errors went away.
Now I am stuck.
I changed the "ereg_replace" on line 430 to "preg_replace" and all the "ereg" to "preg_match"
Here is ther error:
Line 430:
Line 467:
Line 2206:
Trying to set up the WebAuction tool..but keep getting errors.
First they were the "& new" errors and then others...searched how to fix them and the errors went away.
Now I am stuck.
I changed the "ereg_replace" on line 430 to "preg_replace" and all the "ereg" to "preg_match"
Here is ther error:
Warning: preg_replace() [function.preg-replace]: Empty regular expression in /home/gatheran/public_html/auction/dataface/Dataface/Table.php on line 430
Fatal error: Error performing mysql query to get column information from table ''. The mysql error returned was : 'Incorrect table name '''.
On line 467 of file /home/gatheran/public_html/auction/dataface/Dataface/Table.php in function printStackTrace()
On line 2206 of file /home/gatheran/public_html/auction/dataface/Dataface/Table.php in function Dataface_Table(products,Resource id #13,)
On line 43 of file /home/gatheran/public_html/auction/dataface/Dataface/LinkTool.php in function loadTable(products)
On line 99 of file /home/gatheran/public_html/auction/dataface/Dataface/LinkTool.php in function getMask()
On line 1558 of file /home/gatheran/public_html/auction/dataface/Dataface/Application.php in function buildLink(-action=login_prompt,1,)
On line 286 of file /home/gatheran/public_html/auction/dataface/Dataface/AuthenticationTool.php in function url(-action=login_prompt)
On line 210 of file /home/gatheran/public_html/auction/dataface/Dataface/AuthenticationTool.php in function showLoginProm in /home/gatheran/public_html/auction/dataface/Dataface/Table.php on line 467
Line 430:
- Code: Select all
$this->tablename = preg_replace(' ', '', $this->tablename);
Line 467:
- Code: Select all
trigger_error("Error performing mysql query to get column information from table '".$this->tablename."'. The mysql error returned was : '".mysql_error($this->db)."'.\n<br>".Dataface_Error::printStackTrace(), E_USER_ERROR);
Line 2206:
- Code: Select all
$_tables[$name] = new Dataface_Table($name, $_db, $quiet);