[SOLVED] There is an f at the top of my webpage and Admin page I can't remove it

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
njmeyer
Forum Members
Forum Members
Posts: 16
Joined: Thu Jun 19, 2008 7:04 pm

[SOLVED] There is an f at the top of my webpage and Admin page I can't remove it

Post by njmeyer »

All,

     I had made some modifications to my website and had saved everything out and it was working fine when I went home yesterday and now when I go to the site there is an f at the top of the webpage and at the top of my admin console.  Any ideas how to remove the f?

the source of the website starts like

Code: Select all

f<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml">
<head>
..........
But when I look at all of my templates there are no f's before the <!DOCTYPE.

I have attached some screen captures to show you all what I am dealing with.

Thanks,
njmeyer
Attachments
image2.PNG
image1.PNG
Last edited by njmeyer on Mon Mar 09, 2009 1:24 pm, edited 1 time in total.
spcherub
Power Poster
Power Poster
Posts: 402
Joined: Fri Jun 06, 2008 5:54 pm

Re: There is an f at the top of my webpage and Admin page I cannot get it to go away

Post by spcherub »

This is a hard one. Since you are having problems with the admin screens as well, it does not seem to be a problem in your template (as you have already determined). If may be that a stray "f" was inserted in any of the various system files that are involved in bringing a page to light. It could even be in the index.php file that is used to load up everything else.

The easiest fix may be to update all the core CMSMS files from the latest distribution (or from the version you are currently using). Backup your current folder structure, then extract the latest files from the right version and replace the original files. Double check you config.php file to make sure it was not replaced.

Hopefully this should solve your problem.

The other option is to a side-by-side comparison of your current core installation and the official distribution, look for differences in files and fix it when you find it, but I think the whole scale replace is probably quicker and easier.

You can also enable debug in config.php - it may tell you at what point the character is being inserted.

What was the last thing that you did before this started to appear? Perhaps you can retrace your steps and check the files you may have modified.

Hope this help.

S
alby

Re: There is an f at the top of my webpage and Admin page I cannot get it to go away

Post by alby »

For specification only.
Common part between frontend and backend is include.php and not index.php.

Re-upload include.php and check if you have modify some files

Use System verification test in Admin part for testing your core-installation

Alby
Last edited by alby on Sat Mar 07, 2009 6:01 pm, edited 1 time in total.
spcherub
Power Poster
Power Poster
Posts: 402
Joined: Fri Jun 06, 2008 5:54 pm

Re: There is an f at the top of my webpage and Admin page I cannot get it to go away

Post by spcherub »

Alby - Thanks for the clarification.
njmeyer
Forum Members
Forum Members
Posts: 16
Joined: Thu Jun 19, 2008 7:04 pm

Re: [SOLVED] There is an f at the top of my webpage and Admin page I can't remove it

Post by njmeyer »

Thanks for the suggestions.  The issue was in the class.module.inc.php file.  I was able to use the check sum to find out which pages were modified from the last known save point.  I was using ctrl+f to find something in the file and I guess I missed the ctrl and put an f before all of the php and that is why there was an f on every page.

Once again thank you to all.

njmeyer
Post Reply

Return to “CMSMS Core”