You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$url = 'https://omeka.org/add-ons/plugins';
if (ini_get('allow_url_fopen') && ini_get('allow_url_include')) {
$result = file_get_contents($url);
if (empty($result)) {
echo'Unable to fetch page.';
} else {
// This should be the html of the page.echo$result;
}
} else {
echo'Fetch via php curl if extension enabled.';
}
Expected Behaviour
The plugin page displays plugins available for installation in a drop-down menu.
Actual Behaviour
No drop-downs are displayed at all.
Attempted Solution
Placed
allow_url_fopen = 1
andallow_url_include = On
both inphp.ini
and.user.ini
, but the problem still persists, unfortunately.Config
Linux server with PHP7.
The text was updated successfully, but these errors were encountered: