Hello,
An old Serendipity installation I built years ago suddenly developed problems when the provider changed "some things" on the server (they haven't exactly been helpful).
I have managed to partially reinstall the blog by overwriting the files with a 1.7.8 installation, but I'm still experiencing major problems:
* I cannot login to the control panel (even after deleting serendipity_config_local.inc.php and changing the mod_rewrite settings, re-checking the password, etc.)
* No styles are applied and I'm getting lots of PHP-errors
So basically the blog is a mess now, but thankfully the database seems completely intact.
The blog is located at http://wumswebsite.nl/wumlog/. I'm an amateur when it comes to CMS's and haven't worked with them in years (doing this to help a friend who owns the site), so any help would be greatly appreciated.
Thanks in advance,
Trouble getting Serendipity to work after (re-)installation
-
- Regular
- Posts: 7
- Joined: Thu Apr 13, 2017 9:28 pm
Re: Trouble getting Serendipity to work after (re-)installat
"Cannot login" means your password is not accepted? The login screen seems to work.Karbargenbok wrote:* I cannot login to the control panel (even after deleting serendipity_config_local.inc.php and changing the mod_rewrite settings, re-checking the password, etc.)
The site looks "stylish" and the CSS seems to be loaded?Karbargenbok wrote:* No styles are applied and I'm getting lots of PHP-errors
-
- Regular
- Posts: 7
- Joined: Thu Apr 13, 2017 9:28 pm
Re: Trouble getting Serendipity to work after (re-)installat
Yes, that's what I mean. The password is not accepted, even though I just created the new administrator account (by reinstalling).Cannot login" means your password is not accepted? The login screen seems to work.
Sounds crazy, but this just randomly started working. I guess the webhost is still changing things around.The site looks "stylish" and the CSS seems to be loaded?
Re: Trouble getting Serendipity to work after (re-)installat
I can not really help with this, but a few tips:
A web hoster changing things without communicating them transparently and not giving proper support is a bad sign in my book.
YL
Make sure you have a full backup of the site including a database dump.Karbargenbok wrote:An old Serendipity installation I built years ago suddenly developed problems when the provider changed "some things" on the server (they haven't exactly been helpful).
A web hoster changing things without communicating them transparently and not giving proper support is a bad sign in my book.
You'll want to update to a current 2.1.1 as soon as possible, especially if the “some things” changed by the hoster include switching to PHP 7. One way or another, 1.7.8 is ancient, outdated and probably a security risk.Karbargenbok wrote:I have managed to partially reinstall the blog by overwriting the files with a 1.7.8 installation
YL
Re: Trouble getting Serendipity to work after (re-)installat
That was what I thought, but when checking, PHP 5.x was used.yellowled wrote:You'll want to update to a current 2.1.1 as soon as possible, especially if the “some things” changed by the hoster include switching to PHP 7.
(The site seems to be offline now.)
-
- Regular
- Posts: 7
- Joined: Thu Apr 13, 2017 9:28 pm
Re: Trouble getting Serendipity to work after (re-)installat
I have both of these, a full database dump and all the original files - just the original serendipity_config_local.inc.php is missing. What would be the easiest way to restore this?Make sure you have a full backup of the site including a database dump.
I have tried reuploading all the original files, but this just gives me the 'Don't hack!'-message. The only thing that works is uploading the 1.7.8 files and include my own template in it.
I agree completely, but switching webhosts isn't an option at the moment, unfortunately.A web hoster changing things without communicating them transparently and not giving proper support is a bad sign in my book.
I'll try this if fixing the 1.7.8-built fails. However, updating via the update-feature isn't possible.You'll want to update to a current 2.1.1 as soon as possible, especially if the “some things” changed by the hoster include switching to PHP 7. One way or another, 1.7.8 is ancient, outdated and probably a security risk.
The site is back online now, though some features are not working (static pages, Smarty plugin) and I still cannot log in.
Re: Trouble getting Serendipity to work after (re-)installat
You can do that by hand. It should contain:Karbargenbok wrote:I have both of these, a full database dump and all the original files - just the original serendipity_config_local.inc.php is missing. What would be the easiest way to restore this?
Code: Select all
<?php
$serendipity['versionInstalled'] = '1.7.8';
$serendipity['dbName'] = 'DBNAME';
$serendipity['dbPrefix'] = 'serendipity_';
$serendipity['dbHost'] = 'localhost';
$serendipity['dbUser'] = 'DBUSER';
$serendipity['dbPass'] = 'DBPASS';
$serendipity['dbType'] = 'mysql';
$serendipity['dbPersistent'] = false;
$serendipity['dbCharset'] = 'utf8';
?>
-
- Regular
- Posts: 7
- Joined: Thu Apr 13, 2017 9:28 pm
Re: Trouble getting Serendipity to work after (re-)installat
What you showed is what's in the new serendipity_config_local.inc.php. As you can see, the site is sort of up and running, but with some errors, and I still cannot log in to the control panel (http://wumswebsite.nl/wumlog/serendipity_admin.php works, but my password is not accepted).thh wrote:[You just have to check / insert the right values: your installed version, the name of the database, the host the database is running on, the prefix for all database tables, database user and passwort and database charset.
Re: Trouble getting Serendipity to work after (re-)installat
Hi,
to reset your password you should follow this instruction:
viewtopic.php?f=3&t=20998&p=10446521&hi ... #p10446521
Regards
Mario
to reset your password you should follow this instruction:
viewtopic.php?f=3&t=20998&p=10446521&hi ... #p10446521
Regards
Mario
-
- Regular
- Posts: 7
- Joined: Thu Apr 13, 2017 9:28 pm
Re: Trouble getting Serendipity to work after (re-)installat
I have tried this, but no dice. My password is still rejected.Hi,
to reset your password you should follow this instruction:
viewtopic.php?f=3&t=20998&p=10446521&hi ... #p10446521
I have also now updated the blog to the latest version.