Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Google Cloud PHP Web App: Issue with Page Navigation and Code Loading

I'm encountering an issue with my Google Cloud PHP web application where I'm attempting to link between two web pages. Specifically, when a link is clicked to navigate to the next page, it should reload with the updated URL (e.g., appspot/project/page2). However, despite having the code for the second page correctly set up at appspot/project/page2, the old code is being loaded instead.

Steps to Reproduce:

  1. Upload the application to the Google Cloud platform.
  2. Navigate to the first page of the application.
  3. Click on the link or button that should direct to the second page (appspot/project/page2).

Expected Behavior: Upon clicking the link to navigate to the second page, I expect the page to load the correct code from appspot/project/page2.

Actual Behavior: Instead of loading the updated code from appspot/project/page2, the page loads the old code.

Environment:

  • Runtime: PHP 8.3
  • Deployment Method: gcloud app deploy
  • Google Cloud Platform: Google App Engine

Additional Notes: I've set up the runtime environment using PHP 8.3, and I deploy the application using gcloud app deploy. However, despite the deployment process, the correct code is not being loaded when navigating between pages.

0 1 175
1 REPLY 1
Top Labels in this Space