- Edited
in your config.php
remove the line for database settings that says strict
see https://discuss.flarum.org/d/5974-error-call-to-a-member-function-what-s-happening/13
in your config.php
remove the line for database settings that says strict
see https://discuss.flarum.org/d/5974-error-call-to-a-member-function-what-s-happening/13
jordanjay29 Yes I have cPanel, I checked the logs and they don't mention any issues on that subdomain.
I'll make a discussion about that.
Install composer and xampp(php) on your pc. Open CMD and write "cd.." (stop while you went C:)
When you go to C: directory. Use the pockethold installer code. (composer create-project....)
When the installed (it will be in C:\flarum), upload the files on ftp. And open your website. And install it.
I installed like this flarum. And extensions too! If u cant, you can get support from me "unoficial flarum discord"
sigh, not good news for me then. I have a hosting plan at hostinger, and Hostbrz. so far, none of the 2 host work. constant issues, or when i do everything, the website just appears "blank white"
I tried another alternative. My host does support SSH, but when running, the process of composer got terminated before it could complete the downloading.
So I installed Flarum (just create a composer project with Flarum), and then zipped that directory and uploaded to my server using FTP. Installed Flarum from there as usual.
Everything worked fine.
Frink i apologize for the late reply. i think i was way to tired to think lol. Anyways, my domain name is from hostinger, well 2 domain names actually. but i have web hosting for Hostbrz and bgocloud. i actually have a working site on bgocloud (mybb). but my hostbrz which i paid $1 to unlock SSH (all other tricks failed to work) so i was ok whatever.
BUT. i got SSH setup and logged in. got composer installed but there but trying to install flarum, i keep getting this in the SSH terminal. : , i need to enable allow_url_fopen in this file: opt/alt/php56/etc/php.ini - the lame thing is, i edited the 2 php.ini files in the main directory, and my www / public.html (to turn this function on) ( could not find the one it gave me an error about. but still getting the error regardless of what i try to do, or look for that specific PHP.ini file. which the terminal says i can edit it from the terminal.. but "denied" every time i try to edit that exact php.ini it is having errors with. i need to enable allow_url_fopen in this file: opt/alt/php56/etc/php.ini
TLDR; bought SSH for my hosting account, installed composer. attempt to install flarum but get this constant error. allow_url_fopen in this file: opt/alt/php56/etc/php.ini
update: got in touch with support, they were kind enough to open it so i could install the flarum forum. after combating this installation for 3 days, it's finally installed.