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.
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:
You need to override some files in your custom plugin:
\views\default\object\comment.php
\views\default\object\elements\full.php
\views\default\object\elements\full\header.php
\views\default\object\elements\summary.php
\views\default\object\elements\summary\metadata.php
Edit \mod\your_plugin\views\default\object\comment.php to provide the new views:
\mod\your_plugin\views\default\object\comment\elements\full.php \mod\your_plugin\views\default\object\comment\elements\summary.php
Edit these new views to provide another new views:
\mod\your_plugin\views\default\object\comment\elements\full\header.php \mod\your_plugin\views\default\object\comment\elements\summary\metadata.php
Your goal is to extract elgg_view_menu('social') from
\mod\your_plugin\views\default\object\comment\elements\summary\metadata.php
and place it in a new view, e.g.
\mod\your_plugin\views\default\object\comment\elements\summary\social.php
Then you can place this social.php view to \mod\your_plugin\views\default\object\comment.php under $params['content'] for:
echo elgg_view('object/comment/elements/full', $params);
and
echo elgg_view('object/comment/elements/summary', $params);
Some CSS magic then and done ;)
Thanks for the help. It worked :)
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.