Page 1 of 2

fatal error

Posted: Thu Nov 15, 2007 1:16 pm
by ant01
:shock:
I tried logging into my site www.muskat/serendipity/ but got the following fatal error
Fatal error: Call to undefined function: serendipity_mb() in /usr/www/users/muskat/serendipity/include/functions.inc.php on line 206

At first it logged in but the site was a bunch of hyperlinks, I could enter the weblog but when I tried entering a comment it gave me a error couldn't find admin file. I checked via ftp and the site seemed to be intact. I spoke to my service provider and they checked no files had been changed since 30th Oct when I last made changes.

Please help!!!! :(

Re: fatal error

Posted: Thu Nov 15, 2007 1:27 pm
by garvinhicking
Hi!

What's your URL? It's not www.muskat.com and not www.muskat.de

The error indicates that you are missing some files. Re-Upload the files frmo the s9y release, and make sure your FTP clients uploads all of them.

Regards,
Garvin

fatal eror

Posted: Thu Nov 15, 2007 2:27 pm
by ant01
The URL is www.muskat.co.za/serendipity/

Why would I be missing files, it was working perfectly and which files should I upload?

Re: fatal eror

Posted: Thu Nov 15, 2007 2:36 pm
by garvinhicking
Hi!

Your page is pretty strange formatted. It starts with "ENTRIES" and then stops right there.

Check if you have all the files, please. There are many files that could be missing: Language files in lang/, include files in include/ and even template files in templates/default/.

It could be your server crashed and some files were deleted, or some other process kicking in, or you accidentaly deleting files, your admin deleting files. There are a multitude of angles, most related to the server's harddrive though.

Regards,
Garvin

error

Posted: Thu Nov 15, 2007 2:49 pm
by ant01
Will I have to reinstall Serendipity or can I save my settings, if so which files must I re-upload. I have created blogs, categories etc and don't wan to loose the feedback from the members

Re: error

Posted: Thu Nov 15, 2007 2:53 pm
by garvinhicking
Hi!

Reuploading all s9y files from a release TGZ file will preserver your s9y installation, your DB settings will not be changed by that.

Only if you modified any s9y files that come with the release, you need to preserve those. But it should usually not be necessary to edit core s9y files.

To be sure, you could make a database backup first, of course.

Regards,
Garvin

Posted: Thu Nov 15, 2007 3:24 pm
by ant01
Sorry excuse my ignorance, I assume the zip and TGZ file have the same files so I can upload and if it asks I say replace file

Posted: Thu Nov 15, 2007 5:22 pm
by garvinhicking
Hi!

Yes, that's right!

Regards,
Garvin

Posted: Fri Nov 16, 2007 1:15 pm
by ant01
I have uploaded the s9y files 3 times and still get the same problem?

Posted: Mon Nov 19, 2007 9:25 am
by garvinhicking
Hi!

Did you try to clean your browser's cookies and try to re-access your site?

Another thing might be that your language setting might got screwed. Can you login to phpmyadmin and execute this query:

Code: Select all

SELECT * FROM serendipity_config WHERE name like '%lang%'
and tell me what your result is?

Regards,
Garvin

Posted: Mon Nov 19, 2007 9:40 am
by ant01
I did clean the browsers cookiesd nothing changed, try from your side the URL is http://muskat.co.za/serendipity/serendipity_admin.php

I ran the code it lists all the lang files 54 of them.

I have uploaded the files about 4 times and still the same problem.

Posted: Mon Nov 19, 2007 9:42 am
by garvinhicking
Hi!
I ran the code it lists all the lang files 54 of them.
Which code did you run? What result did you get exactly? You should only get as many results as you have authors in your blog?! What does it list for the value string?

Regards,
Garvin

Posted: Mon Nov 19, 2007 10:00 am
by ant01
attaching a copy of the querry. I ran the query you gave me;
SELECT * FROM serendipity_config WHERE name like '%lang%'


Image

Posted: Mon Nov 19, 2007 10:08 am
by garvinhicking
Hi!

Please edit all rows inside phpmyadmin that have an empty value! This is not allowed to happen. I know of a user where this happened, his browser submitted illegal values to the s9y setup form and submitted an empty language string. But s9y needs to have a language there, so empty values will cancel out the s9y framework mechanism.

Set the value to "en" for all instances of an empty value.

Regards,
Garvin

Posted: Mon Nov 19, 2007 10:34 am
by ant01
I'm not a hundred percent sure what you want me to do, I ran the querry you gave me and where the authorid was o I gave a vallue of en, is this correct. The webpage still won't allow me into the comments of the webblog get following error;
Not Found
The requested URL /serendipity/archives/7-Comments-on-womens-hockey.html was not found on this server.