Table not found? |
5/2/2023 6:46:00 PM |
PHPRunner General questions | |
author
Hello All, Call stack 0 connections\Connection.php:668 Connection->triggerError 0. ERROR: relation "public.campaign" does not exist LINE 3: FROM "public"."campaign" ) a ^1 connections\PostgreConnection.php:104 PostgreConnection->query 0. select count(*) from (SELECT "campaign_id", "campaign_nm", "campaign_descr_txt", "active_ind", "create_ts", "update_ts", "eff_start_dt", "eff_end_dt", "show_to_players_ind" FROM "public"."campaign" ) a2 connections\Connection.php:635 Connection->getFetchedRowsNumber 0. SELECT "campaign_id", "campaign_nm", "campaign_descr_txt", "active_ind", "create_ts", "update_ts", "eff_start_dt", "eff_end_dt", "show_to_players_ind" FROM "public"."campaign"3 classes\datasource\table.php:621 DataSourceTable->getCount 0. DsCommand4 classes\listpage.php:2799 ListPage->calculateRecordCount N/A5 classes\listpage.php:2204 ListPage->prepareForBuildPage N/A6 campaign_list.php:158 Global scope N/A`Based on this I believe that the code cannot find the table.How do I make sure the code finds the table(s) that do exist? |
|
W
|
wedi 5/3/2023 |
Hi Craigbert, |
|
502108 5/3/2023 |
Hi wedi, |
![]() |
Admin 5/3/2023 |
I recommend to run the following query manually against your database to see what might be wrong with it. |
|
502108 5/3/2023 |
Hi admin, |
|
502108 5/3/2023 |
Hi admin, |
|
502108 5/3/2023 |
...and I can confirm now that the SQL works on the instance that I am <em>actually</em> using and working with. |