apigee / apigee-api-catalog-drupal

Manage your API catalog within Drupal's content management approach
https://www.drupal.org/project/apigee_api_catalog
GNU General Public License v2.0
17 stars 16 forks source link

Search box functionality was not working in Developer portal #240

Closed satishmsd598 closed 6 months ago

satishmsd598 commented 7 months ago

We have installed Drupal 9 developer portal setup in Linux server and we have uploaded Open API Specs in dev portal successfully.

Our query, search box functionality was not working if we given any input in search box in developer portal and it shows 404 error code.

Please find below attached error screenshot. Please Dev Protal error screenshot

satishmsd598 commented 7 months ago

Hi team,

We are not able to open any Open API specs document and we all are getting 404 not found error. while troubleshooting we are not able to access developer portal main page, we are getting below error, 404 error

shishir-intelli commented 7 months ago

@satishmsd598 In search Advanced search' setting did you configured the/apilist` page to search OpenAPI?

shishir-intelli commented 7 months ago

Hi team,

We are not able to open any Open API specs document and we all are getting 404 not found error. while troubleshooting we are not able to access developer portal main page, we are getting below error, 404 error

Can you please share the sceenshot of `/admin/structure/types/manage/apidoc/display' to verify the format for OpenAPI specification field selected.

Also, please could you share us the result list of command: composer show.

satishmolina commented 7 months ago

@satishmsd598 In search Advanced search' setting did you configured the/apilist` page to search OpenAPI?

Yes

satishmolina commented 7 months ago

/admin/structure/types/manage/apidoc/ While troubleshooting we are not able to access developer portal main page.

I have attached composer show command output. Composer command output

shishir-intelli commented 7 months ago

You are in wrong directory. cd to your project directory then run composer show.

satishmolina commented 7 months ago

Please find below attachments of compose show.

Composer ouput1 Composer ouput2 Composer ouput3 Composer ouput4 Composer ouput5

shishir-intelli commented 7 months ago

Could you also please share us the screenshot of /admin/structure/types/manage/apidoc/display to verify the format for OpenAPI specification field selected.

satishmolina commented 7 months ago

We can't share the screenshot of /admin/structure/types/manage/apidoc/display because we are not able to access developer portal main page, it shows 404 error page,

shishir-intelli commented 7 months ago

Is your nginx configured correctly to work with Drupal? Check this https://www.nginx.com/resources/wiki/start/topics/recipes/drupal/ especially try_files and @rewrite or see this https://www.drupal.org/docs/contributed-modules/apigee-developer-portal-kickstart/use-kickstart-with-apigee-edge-for-private-cloud#:~:text=cnf%C2%A0file.-,Install,-an%20Nginx%20web

satishmolina commented 6 months ago

could you please schedule a call to work on this issue?

shishir-intelli commented 6 months ago

@satishmolina , As per our conversation over call, the above issue's seem to be nginx server configuration not as per the document, kindly configure your nginx server settings in line with our established standards. https://www.drupal.org/docs/contributed-modules/apigee-developer-portal-kickstart/use-kickstart-with-apigee-edge-for-private-cloud#s-install-an-nginx-web-server

Closing this issue for now, feel free to re-open for any further help.