Hello

We have migrated our site from D7 to backdrop. we followed all the steps of the documentation. However, All of our pages have the error 404.

When  we look at the network, we see that the site is loaded as well as the JS and CSS file (that were automatically generated)

However, when we change the default theme, using bee default-theme, and use our old D7 theme, it works but has another error :
Cannot use a scalar value as an array
We think that this error is due to some changes between D7 and backdrop, so we understand that...

However, we do not know why the default theme of backdrop (basis, bartik, ...) generate the 404 error.

All the theme are enabled (bee enable ...)

the theme are present in the folder BACKDROP_ROOT/core/themes
the caches were cleared
 

Comments

Is your .htaccess file very similar to the default Backdrop one? I have sometimes got 404 on anything other than the front page and it is nearly always because there is an issue with the .htaccess file (for example, in Lando I have a different .htaccess to my live one and have a script to set apache to point to that file but if I forget to create the copy file, then I get this issue).  Assuming front page is the default then you might see this even if getting 404 for everything else; if front page is defined in a different way, to go to a node for example, then you may well get 404 on everything.

Might be worth doing bee log to see if there are any clues there.

Thank you for your response !

Our  .htaccess  files are the same as the default backdrop one. We did not touch them. However, the 404 is on every pages, even on the front page.
And the 404 is here when we uses the default themes, those same theme that works on the backdrop we created to explore the CMS (that was not created with a migration.
we do not have this error when we use the D7 theme of the previous site.
However, we will check if the  .htaccess  files are the source of the error

as for the bee log, 
we do not have any information about the 404, but we have about the D7 themes :
Error: Cannot use a scalar value as an array in include() (line 124 of /var/www/vhosts/<domain>/httpdocs/themes/corporateclean/templates/page.tpl

As a test, can you try disabling CiviCRM for a moment and see if anything changes? That would help determine if you should be focusing on Backdrop or CiviCRM for this issue.

Did you update any relevant path values in civicrm.settings.php ?

We disabled CiviCRM,
Before we had another issue, and the 404 happened after we disabled it
(bee disable civicrm)

Could you provide the output from bee projects? This might help us spot if anything is amiss (e.g. a core module that is disabled).

I suggest putting it in a code block will make it easier to read.  

 

 

From the chat:

did they already test to call the full (ugly) URL like index.php?q=node/12 or so? Either something with mod_rewrite (htaccess) or the clean urls setting, or... something went totally wrong with the upgrade. Too many possibilities.