- Which Oracle user owns the table?
- Is the Oracle user associated with your PHP script as having access to this table?
- Is there a public or private synonym for the table
MANTIS_BUG_TABLE ?
If the table belongs to another user, you can try to fully determine the name of the table
$s = oci_parse($c, 'select * from owner_of_table.mantis_bug_table');
If the user using your PHP script does not have access to the table, you will need a database administrator or table owner
GRANT SELECT ON owner_of_table.mantis_bug_table TO whatmyusernameis;
If you have access to the table and the full qualification of the table name works, but you do not want to determine the table name each time, you can create a synonym
CREATE [PUBLIC] SYNONYM mantis_bug_table FOR owner_of_table.mantis_bug_table
A public synonym allows all users who have access to a table to refer to it without using a full name. A private synonym allows only the owner of the synonym (i.e., Whatmyusernameis) to refer to the table without the full name of the table.
source share