Under the configuration tab, when I click on Basic Site Settings, I get this mistake:

The website encountered an unexpected error. Please effort again afterward.

How practice I address this? I tin't notice any answers either using Google or on this site.

Cheers.

Comments

joanmarie1701's picture

more information on error

My mistake log states:

[09-Aug-2019 02:32:37 UTC] Uncaught PHP Exception InvalidArgumentException: "Source path  has to get-go with a slash." at /home/jmvwebsi/public_html/core/lib/Drupal/Core/Path/AliasManager.php line 186

Jaypan's picture

Somehow you've ended up with

Somehow you've ended up with a path alias in your organization that is missing the leading slash. Look in your database, at the {url_alias} table, and effort to find an alias that does non begin with a leading slash.

gisle's picture

What is your environment?

What sort of hosting are you on?

Do you have access to PHPMyAdmin?

Do you have access to the command line and the sql control?

- gisle

joanmarie1701's picture

Hosting

I'm on namehero.com hosting, and I accept admission to the cpanel. As far as I know, I don't have command line access. Yes, I take access to PHPMyAdmin, and information technology gives me information_schema and j… .

gisle's picture

Use PHPMyAdmin

Your database is "j…". Utilize PHPMyAdmin to examine the {url_alias} table, and try to find an alias that does not begin with a leading slash.

(And don't post the proper name of your database  publicly - somebody may try to hack it - I've shortened it.)

- gisle

joanmarie1701's picture

Nothing in url_alias

When I await at the url_alias table, there is nothing at that place, and this message appears at the top of the screen: Only local images are allowed. MySQL returned an empty result fix (i.eastward. zero rows). (Query took 0.0003 seconds.)

gisle's picture

Sorry that did non work out.

Sad that did not work out.  At to the lowest degree y'all at present know how to examine the database.

Btw. currently posting images in forums is a very non-intuitive process. But I understand your respond without having to see a screenshot.

- gisle

joanmarie1701's picture

Adjacent step

In that instance, what do I do at present? I can't use Drupal if it gives me an error when I click on "basic site settings". As I understand information technology, the Basic Site Settings are essential to building the site. Someone must have seen this fault earlier and know how to accost it....

gisle's picture

What is the URL?

What is the URL appearing in your browser'southward accost field when you click on "Basic site settings"?

If your site is named "case.com" it should be: "example.com/admin/config/arrangement/site-information".

If it is "instance.comadmin/config/arrangement/site-data", effort inbound the missing slash by mitt and reload the page.

If this turns out to be the cause, the adjacent step is to set up it. The simplest manner to do that is to re-install from scratch. If that is not an choice because yous've spent a lot of time creating content for your site and there is no backup, you lot take a trouble.

- gisle

gisle's picture

The URL yous study (http:/

The URL you report (http://sitename.com/admin/config/arrangement/site-data) looks correct.

When I first installed the site and got the error, I re-installed the site. I got the error over again. For that reason, re-installation doesn't seem to accost the mistake.

You should never go this mistake merely after a clean install of Drupal 8.

I know nothing about your hosting company (namehero), but I presume they accept some sort of button in cpanel that you press to install Drupal 8? If you press that button and the newly created site has this error, and so the trouble is with your hosting company's install script, and you need to get support from them.

If yous install Drupal 8 yourself, and so we demand to know how you do it to make progress on this.

- gisle

joanmarie1701's picture

Thanks for the information

Thanks for the information. I have sent in a request to the hosting visitor to cancel my account. I take been in touch with their technical support twice and they insist it's a Drupal problem, not theirs. All the same, the reason I contacted tech support in the first place is that I really did experience information technology was a flaw at their level. Yes, I did use their push in cpanel to install Drupal.