fatal error

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
ant01
Regular
Posts: 30
Joined: Tue Oct 30, 2007 9:18 pm

fatal error

Post 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!!!! :(
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: fatal error

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ant01
Regular
Posts: 30
Joined: Tue Oct 30, 2007 9:18 pm

fatal eror

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: fatal eror

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ant01
Regular
Posts: 30
Joined: Tue Oct 30, 2007 9:18 pm

error

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: error

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ant01
Regular
Posts: 30
Joined: Tue Oct 30, 2007 9:18 pm

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yes, that's right!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ant01
Regular
Posts: 30
Joined: Tue Oct 30, 2007 9:18 pm

Post by ant01 »

I have uploaded the s9y files 3 times and still get the same problem?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ant01
Regular
Posts: 30
Joined: Tue Oct 30, 2007 9:18 pm

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ant01
Regular
Posts: 30
Joined: Tue Oct 30, 2007 9:18 pm

Post by ant01 »

attaching a copy of the querry. I ran the query you gave me;
SELECT * FROM serendipity_config WHERE name like '%lang%'


Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ant01
Regular
Posts: 30
Joined: Tue Oct 30, 2007 9:18 pm

Post 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.
Post Reply