Board index Installation Failed Opening PEAR/Exception.php

Having trouble installing serendipity?
Huhu
Regular
 
Posts: 65
Joined: Tue Oct 04, 2011 3:22 pm

Postby Huhu » Thu Aug 10, 2017 3:24 pm

(was: Failed expaning backend menu itemsI installed a fresh version of S9y but for some reason, the menu bars (not the main menu to the left) don't expand. Id est, I can't edit any user details and such since they don't work.
Tried different browsers and of course switched on JS and ad filters off ... )

UPDATE: Just copying the files again did the trick, for some reason something was corrupted.

But the problem down there is still present (PHP 7.0.12, tested with PHP 5.6 as well):
The error I get when clicking on "Install new Sidebar plugin":
Code: Select all
Fatal error: require_once(): Failed opening required 'PEAR/Exception.php' (include_path='.:/usr/local/.../bundled-libs/:/storage/content/.../bundled-libs/Smarty/libs/:/storage/.../public_html/:') in /.../public_html/bundled-libs/HTTP/Request2/Exception.php on line 24


There is no /php70 under /usr/local/ only, the /php56 ... but php7 is activated ...
And even when switching to PHP 5.6, the same error message appears, even though the path is valid now.

Thanks for help!
Fan of post-apocalyptic Jugger: Free ebook on the sport

Huhu
Regular
 
Posts: 65
Joined: Tue Oct 04, 2011 3:22 pm

Postby Huhu » Thu Aug 17, 2017 8:49 am

An interesting detail also for the developers maybe: After contacting the webhoster, I got the answer
It seems that open_basedir is the problem. open_basedir is activated as standard and leads to that the website cannot read files from other folders, as a security measure.


Now the page reads correctly but I get a 404 in themes and Install New Plug-Ins (which is not a big issue for me -- well teh Plug-In install sources might become one -- but might be for others):
Code: Select all
 The URL http://netmirror.org/mirror/serendipity/package_template.xml (IP 176.9.206.60) could not be opened. Maybe the Serendipity or SourceForge.net Server is down - we are sorry, you need to try again later.
(The repository returned error code 404.)
 Trying to use cURL library as fallback...
Not Found

The requested URL /mirror/serendipity/package_template.xml was not found on this server.
Fan of post-apocalyptic Jugger: Free ebook on the sport

User avatar
onli
Regular
 
Posts: 2060
Joined: Tue Sep 09, 2008 10:04 pm

Postby onli » Thu Aug 17, 2017 11:33 am

I'm not sure how we ought to react to the open-basedir thing. Either the hoster allows for including the necessary php requirements, or it just can't work. I might miss something though.

The other error message is caused by netmirror. I had thought that was working again, at least partly, but that does not seem to case. Please set spartacus to fetch files from github.

Huhu
Regular
 
Posts: 65
Joined: Tue Oct 04, 2011 3:22 pm

Postby Huhu » Thu Aug 17, 2017 1:29 pm

onli wrote:I'm not sure how we ought to react to the open-basedir thing. Either the hoster allows for including the necessary php requirements, or it just can't work.

Yes, seems to be up to the hoster. Mine changed their standard settings for the website after inquiry so that it now works.

onli wrote:The other error message is caused by netmirror. I had thought that was working again, at least partly, but that does not seem to case. Please set spartacus to fetch files from github.

Very appreciated, will do that. Had copied plug-ins from other installations I did earlier, but this is much smoother of course.

Thanks!
Fan of post-apocalyptic Jugger: Free ebook on the sport



Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests