Thanks that seems to have worked for that step.
However, it complained about the lack of asset folder so i moved that above public_html and its stopped complaining and brought up the install screen. However, went through all the details, press installed, it writes to the database and then gives this error:
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
Error log notes shows this:
[/home/bugmansb/public_html/assets/forum.css]
which says the asset folder is in the wrong place but it cant be because it wont install with it in the public_html. I have tried to clear cache to no effect.
So something still isnt quite right? Any ideas? Accessing via IP address so thats why it has IP address in the config
Thanks
My site php is:
return Flarum\Foundation\Site::fromPaths([
'base' => DIR,
'public' => DIR,
'storage' => DIR.'/storage',
and config php is:
<?php return array (
'debug' => false,
'database' =>
array (
'driver' => 'mysql',
'host' => 'localhost',
'port' => 3306,
'database' => '**',
'username' => '',
'password' => '****',
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => false,
'engine' => 'InnoDB',
'prefix_indexes' => true,
),
'url' => 'http://xx.xx.xx.xxx/~bugmansb',
'paths' =>
array (
'api' => 'api',
'admin' => 'admin',
),
'headers' =>
array (
'poweredByHeader' => true,
'referrerPolicy' => 'same-origin',
),
);