Hi Guys,
First time trying serendipity.
I'm having trouble changing the default theme, I believe it's "2k11".
The docs are talking about "Manage styles" in the left menu bar.
I don't see anything like it. There is a link for "Themes" but the result of that is an HTTP 500 error. Same thing for trying "update plugins".
Thank you for your time,
Dumitru
Trouble with themes
-
- Regular
- Posts: 5
- Joined: Thu Jan 21, 2021 5:33 am
Trouble with themes
- Attachments
-
- Left nav bar
- Screenshot_2021-01-20_23-29-27.png (32.02 KiB) Viewed 23480 times
Re: Trouble with themes
"Themes" is the right menu. The 500 error should not occur, something is going wrong. The error will be logged in your apache 2 error.log. Can you access that file and see which error is preventign the menu from working?
-
- Regular
- Posts: 5
- Joined: Thu Jan 21, 2021 5:33 am
Re: Trouble with themes
Hmm, some kind of php error
<<<
[Thu Jan 21 22:01:51.728893 2021] [php7:error] [pid 1033] [client 192.168.0.8:58066] PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /var/www/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php:684\nStack trace:\n#0 /var/www/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(1281): serendipity_event_spartacus->fetchOnline()\n#1 /var/www/serendipity/include/plugin_api.inc.php(1184): serendipity_event_spartacus->event_hook()\n#2 /var/www/serendipity/include/admin/templates.inc.php(175): serendipity_plugin_api::hook_event()\n#3 /var/www/serendipity/serendipity_admin.php(118): include('/var/www/serend...')\n#4 {main}\n thrown in /var/www/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 684, referer: http://192.168.0.219/serendipity_admin.php
>>>
I'm totally lost.
BR,
Dumitru
<<<
[Thu Jan 21 22:01:51.728893 2021] [php7:error] [pid 1033] [client 192.168.0.8:58066] PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /var/www/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php:684\nStack trace:\n#0 /var/www/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(1281): serendipity_event_spartacus->fetchOnline()\n#1 /var/www/serendipity/include/plugin_api.inc.php(1184): serendipity_event_spartacus->event_hook()\n#2 /var/www/serendipity/include/admin/templates.inc.php(175): serendipity_plugin_api::hook_event()\n#3 /var/www/serendipity/serendipity_admin.php(118): include('/var/www/serend...')\n#4 {main}\n thrown in /var/www/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 684, referer: http://192.168.0.219/serendipity_admin.php
>>>
I'm totally lost.
BR,
Dumitru
-
- Regular
- Posts: 5
- Joined: Thu Jan 21, 2021 5:33 am
Re: Trouble with themes
Sorry, I should've probably add some additional environment.
This is a VM running ubuntu 20.04.1
Powered by Serendipity 2.3.5 and PHP 7.4.3
It is a fresh install, all green fields when using the Serendipity installer.
BR,
Dumitru
This is a VM running ubuntu 20.04.1
Powered by Serendipity 2.3.5 and PHP 7.4.3
It is a fresh install, all green fields when using the Serendipity installer.
BR,
Dumitru
Re: Trouble with themes
> PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create()
Your PHP installation is incomplete and is lacking some php*-xml package.
Note it must be one matching your installed php package.
Your PHP installation is incomplete and is lacking some php*-xml package.
Note it must be one matching your installed php package.
Running s9y at https://erack.net/blog/
-
- Regular
- Posts: 5
- Joined: Thu Jan 21, 2021 5:33 am
Re: Trouble with themes
Thank you for taking the time to look into this.
I'm surprised that it hasn't been picked up by the installation, like I said, all green across the board.
There are 2 packages available, php7.4-xml and php7.4-xmlrpc.
I get that I need the first but what about the second one? I'm a little nervous about the "rpc" part.
Thanks much,
Dumitru
I'm surprised that it hasn't been picked up by the installation, like I said, all green across the board.
There are 2 packages available, php7.4-xml and php7.4-xmlrpc.
I get that I need the first but what about the second one? I'm a little nervous about the "rpc" part.
Thanks much,
Dumitru
-
- Regular
- Posts: 5
- Joined: Thu Jan 21, 2021 5:33 am
Re: Trouble with themes
Update:
Installed the php7.4-xml only and things seem to respond normally.
I appreciate your help.
Thanks much,
Dumitru
Installed the php7.4-xml only and things seem to respond normally.
I appreciate your help.
Thanks much,
Dumitru
Re: Trouble with themes
The project got an awesome PR that will add the check in the next s9y version: https://github.com/s9y/Serendipity/pull/742
I'm happy your site is working properly now, erAck was spot-on with identifying the issue.
I'm happy your site is working properly now, erAck was spot-on with identifying the issue.
Re: Trouble with themes
Hi all
I'd like to add something that might help with the issue of "Themes" and "Plugins" getting an HTTP Error 500 message. I just had the same issue.
Upon asking, I got the following answer from my SysAdmin: "I see there is a restriction on the PHP OpenBaseDir".
He advised me to set it to "none", which I did.
Had to wait 10 minutes and now everything works like it should.
In case it didn't work, he also advised me to reinstall S9Y.
Hope this also might help out.
I am greatful for this forum, since I could localize the error and get help.
Thanks all.
Cheers, Costein
I'd like to add something that might help with the issue of "Themes" and "Plugins" getting an HTTP Error 500 message. I just had the same issue.
Upon asking, I got the following answer from my SysAdmin: "I see there is a restriction on the PHP OpenBaseDir".
He advised me to set it to "none", which I did.
Had to wait 10 minutes and now everything works like it should.
In case it didn't work, he also advised me to reinstall S9Y.
Hope this also might help out.
I am greatful for this forum, since I could localize the error and get help.
Thanks all.
Cheers, Costein
Re: Trouble with themes
Hi costein, thanks for your post. 500 is a pretty generic error code. The openBaseDir-restriction was likely a different error than the one reported in this thread so far. Nonetheless, it's great that you could fix that one :)