Flarum installing for hestiacp

I noticed you replied here about flarum but I am having this issue
Access Denied
You do not have permission to view this page.

Please check your credentials and try again.

Error Code: 403

I feel like I followed the guide pretty well and I still get this issue even after chmod 777 755 trying tutorials but I always get this issue.
I’ve tried making a flarum folder inside of public html, directly installing it in public html, making everything chmod 777, what else can I do?

Why don’t use Flarum Quick Install provided by Hestia?

I’ve installed it 5 minutes ago and it installed without issues.

Note: Before installing Flarum, check whether you have enabled proc_open. Edit the php.ini for your PHP cli version and remove it from directive disable_functions

Example for PHP 8.2:

Edit file:

/etc/php/8.2/cli/php.ini

And remove proc_open from this list:

disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen

Because I didn’t know hestia had a quick install app, I will be looking for it but I have failed so far, I’ll briefly look over the forums cause the panel didn’t help.

Looks like I need to install this. nvm.

Oops! Something went wrong during a cross-origin request. Please reload the page and try again.

I used the quick install and I received this error above.

So you installed Flarum using Quick Install and it finished ok but when you try to access to your domain you see the cross-origin error?

Do you try to access using http or https? Did you add a certificate to your domain?

In your Flarum’s config.php file, what is the value of directive 'url'?

So you installed Flarum using Quick Install and it finished ok but when you try to access to your domain you see the cross-origin error?
I try logging in and it give that error

  ),
  'url' => 'http://example.com',

Edit config.php, replace http by https and try again:

'url' => 'https://example.com',

Thank you mate! can you delete the url please or rebrand so other people can use this forum post as help! :pray:

1 Like

You are welcome :wink:

Done, I’ve replaced your actual domain by example.com

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.