Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 11:42 pm (All times are UTC )

 




Post new topic Reply to topic  [ 15 posts ] 
Author Message
Posted: Wed Nov 04, 2009 9:22 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Apr 06, 2007 7:24 am
Posts: 27
Hi joomla-er,

I am trying to include an SSI in Joomla however I got an error:

Notice: ob_end_clean(): failed to delete buffer. No buffer to delete. in /export/home/fun/public_html/playground/includes/Cache/Lite/Function.php on line 103 Notice: ob_end_clean(): failed to delete buffer. No buffer to delete. in /export/home/fun/public_html/playground/includes/Cache/Lite/Function.php on line 103 Notice: ob_end_clean(): failed to delete buffer. No buffer to delete. in /export/home/fun/public_html/playground/index.php on line 252 Warning: Cannot modify header information - headers already sent by (output started at /export/home/fun/public_html/playground/components/com_content/content.html.php:641) in /export/home/fun/public_html/playground/index.php on line 256 Warning: Cannot modify header information - headers already sent by (output started at /export/home/fun/public_html/playground/components/com_content/content.html.php:641) in /export/home/fun/public_html/playground/index.php on line 257 Warning: Cannot modify header information - headers already sent by (output started at /export/home/fun/public_html/playground/components/com_content/content.html.php:641) in /export/home/fun/public_html/playground/index.php on line 258 Warning: Cannot modify header information - headers already sent by (output started at /export/home/fun/public_html/playground/components/com_content/content.html.php:641) in /export/home/fun/public_html/playground/index.php on line 259 Warning: Cannot modify header information - headers already sent by (output started at /export/home/fun/public_html/playground/components/com_content/content.html.php:641) in /export/home/fun/public_html/playground/index.php on line 260

What should I do? Any help is much appreciated


Top
   
 
Posted: Wed Nov 04, 2009 2:00 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Nov 16, 2005 2:02 am
Posts: 459
Location: Breklum - Nordfriesland
Archeons wrote:
Notice: ob_end_clean(): failed to delete buffer. No buffer to delete. in /export/home/fun/public_html/playground/includes/Cache/Lite/Function.php on line 103

includes/Cache/Lite/Function.php must be broken on your system. It calls ob_start() correctly.

Regards,
Niels


Top
   
 
Posted: Wed Nov 04, 2009 2:19 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Apr 06, 2007 7:24 am
Posts: 27
Is there anyway to include SSI in joomla 1.0?


Top
   
 
Posted: Wed Nov 04, 2009 2:31 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Offline

Joined: Thu Jul 17, 2008 3:10 pm
Posts: 7685
Location: Europe
Do you mean Server Side Includes? http://en.wikipedia.org/wiki/Server_Side_Includes

Olaf

_________________
Olaf Offick
Learn Skills - a world of learning at your fingertips
http://learn-skills.org


Top
   
 
Posted: Thu Nov 05, 2009 12:38 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Apr 06, 2007 7:24 am
Posts: 27
Hi,

Thank you for your reply.

Yes what I mean is server side includes.

I tried to do that in Joomla and I got those error.

Is there a correct way of doing it in version 1?

I tried normal include it worked.

Cheers,
arch


Top
   
 
Posted: Thu Nov 05, 2009 10:09 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Offline

Joined: Thu Jul 17, 2008 3:10 pm
Posts: 7685
Location: Europe
Hi,

Joomla is written in PHP, so you would need to use SSI within a PHP file:
http://php.net/manual/en/function.virtual.php

What exactly are you trying to do?

Olaf

_________________
Olaf Offick
Learn Skills - a world of learning at your fingertips
http://learn-skills.org


Top
   
 
Posted: Thu Nov 05, 2009 1:41 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Apr 06, 2007 7:24 am
Posts: 27
I tried SSI using PHP virtual. However it failed and gave me that error.

I was trying to include a html page inside to control some buttons.

I can't really give you the links since it is in intranet.

Is it because older version of joomla doesn't support SSI?

Cheers,
arch


Top
   
 
Posted: Thu Nov 05, 2009 1:57 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Offline

Joined: Thu Jul 17, 2008 3:10 pm
Posts: 7685
Location: Europe
Where do you want to add the HTML file, in the article, in a module?

Please note the Joomla 1.0 End-of-Life notice:
http://community.joomla.org/blogs/commu ... f-age.html

Olaf
Olaf

_________________
Olaf Offick
Learn Skills - a world of learning at your fingertips
http://learn-skills.org


Top
   
 
Posted: Thu Nov 05, 2009 2:36 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Apr 06, 2007 7:24 am
Posts: 27
Thank you for the prompt reply!

The answer is neither, I want to include it at joomla com_content...


Top
   
 
Posted: Thu Nov 05, 2009 2:43 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Offline

Joined: Thu Jul 17, 2008 3:10 pm
Posts: 7685
Location: Europe
And where in the com_content component do you want to add it?

Olaf

_________________
Olaf Offick
Learn Skills - a world of learning at your fingertips
http://learn-skills.org


Top
   
 
Posted: Thu Nov 05, 2009 3:05 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Apr 06, 2007 7:24 am
Posts: 27
http://playground.omy.sg/index.php?opti ... &Itemid=27

This is the live version, on top of the addthis share button that place i tried to put an SSI, and it failed horribly.


Top
   
 
Posted: Thu Nov 05, 2009 3:28 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Offline

Joined: Thu Jul 17, 2008 3:10 pm
Posts: 7685
Location: Europe
And why don't you add it into the template? And what do you want to add anyway?
It might be even better to create a new module position, and adjust the position of HTML code via css.

Olaf

_________________
Olaf Offick
Learn Skills - a world of learning at your fingertips
http://learn-skills.org


Top
   
 
Posted: Thu Nov 05, 2009 10:56 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Apr 06, 2007 7:24 am
Posts: 27
It was because I work with a designer, and the designer wanted to have control over those button.


Top
   
 
Posted: Fri Nov 06, 2009 9:44 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Offline

Joined: Thu Jul 17, 2008 3:10 pm
Posts: 7685
Location: Europe
ok, then just add this line to your template's index.php file

Code:
<?php include("yourhtml.html"); ?>


and then add your html code to a yourhtml.html file in your template folder.

or if use an extension like this one:
http://extensions.joomla.org/extensions ... in-content

Olaf

_________________
Olaf Offick
Learn Skills - a world of learning at your fingertips
http://learn-skills.org


Top
   
 
Posted: Fri Nov 06, 2009 10:03 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Apr 06, 2007 7:24 am
Posts: 27
Since right now we are not intending to have a nested SSI so include is suficient.

Thank you for giving me alternative solution Olaf!

Your help is really appreciated.


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

Quick reply

 



Who is online

Users browsing this forum: kauselot and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group