You've already asked about this.
I think Jerome and I have made it clear to you that this won't work.
If you've a project on Elgg that you want to transfer, use this tutorial.
If you've something else, you need to use Elgg API.
For the latter case, you'll need some custom plugin or a one-time script.
I will try resting the vps server and do a fresh install
#First, delete the link to the default web server host
rm /etc/nginx/sites-enabled/default
rm /etc/nginx/sites-available/default
#Correct the configuration file:
vi /etc/nginx/nginx.conf
#Create a virtual host file:
vi /etc/nginx/sites-available/my_cool_app
#Enable the new host:
ln -s /etc/nginx/sites-available/my_cool_app /etc/nginx/sites-enabled/my_cool_app
service nginx reload
Sounds like a bug in Elgg (Ref.).
Is there any way to bypass this?
The only way is to manually make changes to ElggInstaller when checking this step.
Thank you! I changed line 1277 of ElggInstaller.php to "return true;" and this allowed the installer to continue despite the error messages. I don't know whether this will cause more issues farther along, but for now it seems to have worked.
I don't know whether this will cause more issues farther along, but for now it seems to have worked.
The ElggInstaller is only used during the installation process, so this shouldn't cause any issues further down the line.
Can you use 'Developer tools' plugin to catch the error?
Switch on 'Enable error log' in the plugin's settings and reproduce your issue.
Now check out /admin/develop_tools/error_log
Because the log you provided doesn't clarify the details.
We'll have a look https://github.com/Elgg/Elgg/issues/14842
Thanks. It has been solved by hosting service. When I asked what the problem was, they said that The relevant situation had occurred due to heavy PHP usage. There might be areas in my software that I need to optimize. And added they recommend that you have a professional webmaster or software developer review it.
right now when someone visits my page all they see is a login screen
Seems, you've enabled 'Restrict pages to logged-in users' option (aka 'Walled garden' mode).
So your front page will always limited with login form. You can only change the background image there.
For non-walled garden case use these plugins to change your front page:
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.