Double title information problem

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.
Locked
outdoorxtreme1

Double title information problem

Post by outdoorxtreme1 »

I am having a problem with every page. For some reason it is adding another title and some other lines off of another page.

I want the beginning of my pages to look like this:



Northeast Ohio Outdoor Recreation - ATVing, Backpacking, Kayaking, Camping and more!




Instead I get the following:



Northeast Ohio Outdoor Recreation - ATVing, Backpacking, Kayaking, Camping and more!     

Gallery




Any ideas why this is happening? Also notice that the is gone.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Double title information problem

Post by Dr.CSS »

Can you paste the top of your template for a look see? or at least 1/2 of it, or all.
outdoorxtreme1

Re: Double title information problem

Post by outdoorxtreme1 »

I don't think it is my template. I have tried using different templates and I get the same problem.





Northeast Ohio Outdoor Recreation - ATVing, Backpacking, Kayaking,
Camping and more!




{stylesheet}







     
     
       
         
           
             
           
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Double title information problem

Post by Dr.CSS »

I was looking for {title} but its not in there only this. i'm thinking these are not the same templates, they aren't in the same order and this has the "if IE" JS in it and what you pasted doesn't, you must have tried a diff. template. The tag is usually in the head which isn't closed , and you have  "Failed validation, 203 errors" if you look thru the template you might find the {title} tag in it some where. or is it coming from your CSS?






       


              Gallery
   
        <link rel="stylesheet" type="text/css" href="http://www.neohoutdoors.com/index.php/../
outdoorxtreme1

Re: Double title information problem

Post by outdoorxtreme1 »

I found what part of the code was causing the problem but I’m not sure why it is. I started with a blank template and once I add the tag the extra code shows up.

I did a basic template like this:





{content}



When I open the page that is using the template and I view the source code here is what appears:




       


              Gallery
   
       
 

Test






Could there be a CMS file for my website corrupted? If so which one?
outdoorxtreme1

Re: Double title information problem

Post by outdoorxtreme1 »

I have been playing with the code on my template and the problem has to do with the tag.  I used a tag without the closing tag and shows up when I view the source code. If I just put a tag and no opening tag I get the following:




              Gallery
   
       



I put 3 tags on the template just to see what would happen and the source code had the above code 3 times with no tag in the source code at all.
outdoorxtreme1

Re: Double title information problem

Post by outdoorxtreme1 »

Some how CMS is linked to my gallery.menalto.com files. I went into /public_html/gallery2/ on my server and renamed main.php to mainold.php and now if I try opening any pages I have created with CMS I get this error:

Fatal error: main(): Failed opening required '/home/neohoutd/public_html/gallery2/main.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/neohoutd/public_html/gallery2/embed.php on line 34

Any ideas Why this is happening or how I can fix it?

I have another website that has CMS & Gallery installed and I don't have this problem on it.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Double title information problem

Post by Dr.CSS »

Look thru your config.php for the paths to your site and all other paths.
outdoorxtreme1

Re: Double title information problem

Post by outdoorxtreme1 »

I didn't see anything odd. Should I try upgrading CMS? I have an older version
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Double title information problem

Post by Dr.CSS »

If you upgrade and uncheck the create new tables you may have the same problem, a text file backup, copy/paste all pertinate info, and clean, create new tables on upgrade install, will help clear your paths then you can copy/paste back your content, templates, and other saved info.

I see now from the error mess. that you had an imbeded page could that have been the problem?
Locked

Return to “CMSMS Core”