BiologicalRecordsCentre / PoMS

repository for Pollinator Monitoring Scheme website
0 stars 0 forks source link

Any issues with Drupal 10 website #160

Closed robin-hutchinson closed 4 months ago

robin-hutchinson commented 1 year ago

This issue is for recording any issues found while testing the PoMS website in Drupal 10

http://test-ceh-ukpoms-d10.pantheonsite.io/

kitenetter commented 1 year ago

The flower-insect charts page produces an error: "The website encountered an unexpected error. Please try again later."

May need input from @burkmarr?

BirenRathod commented 1 year ago

@burkmarr The error comes from this page -> Error: Call to undefined function drupal_get_path() in loadLibs() (line 400 of /code/web/modules/custom/brc_vis/brc_vis.module).

burkmarr commented 1 year ago

@kitenetter and @BirenRathod - I will hopefully look at this tomorrow. Struggling to set a new laptop at the moment.

BirenRathod commented 1 year ago

Thanks, @burkmarr. looking forward too. please check if that is the same issue on the new iRecord Drupal 10 website.

burkmarr commented 1 year ago

@BirenRathod - I'm failing to start any of the Drupal 10 websites with Lando in my development environment. As well as this one (UKPOMS) I've also tried with the Drupal 10 versions of UKBMS and iRecord. Also copying in @JimBacon in case you have any insights.This is the error I see:

image

@JimBacon - do you have any insights Jim?

BirenRathod commented 1 year ago

@burkmarr As it suggests run composer update and that should update the files of composer. Basically, you need to check or update the files of the composer where it has been installed. This will be in /usr/local/bin/composer folder. These are basically dependencies files.

Also, try updating pantheon-system/upstream-manager by using composer.

burkmarr commented 1 year ago

I managed to get it running locally by running lando composer self-update 2.3.0 and lando composer update before running lando start.

kitenetter commented 1 year ago

Just logged in to the D10 site, with user "PoMS support", and got this error: There was an SQL error: ERROR: duplicate key value violates unique constraint "ix_unique_email_address" DETAIL: Key (email_address)=(poms@ceh.ac.uk) already exists. - UPDATE "people" SET "email_address" = 'poms@ceh.ac.uk' WHERE "id" = '103163'

However, it has allowed me to log in and seems to be functioning okay.

kitenetter commented 4 months ago

Flower-insect charts seem to working well now.

Tried to test the log-in process but the captcha is not displaying an image: image

kitenetter commented 4 months ago

Biren has gently informed me that I am way behind the times, and that we moved the main website to Drupal 10 some time ago! Closing.