PuntoCR - home [salta il menu di navigazione]

  Ricerca avanzata
Bookmark and Share
   Mi voglio registrare.   A A A   
Cucina

Free Software

Viaggi

Partecipa

Utilitą

 
Lista IscrittiCercaMostra i nuovi MessaggiDomande
Nota: non sei autorizzato a postare nuovi messaggi || Registrati
 
Free SW || Recipes module support || Fatal Error in Rezipes
Moderato da: Riz
AutoreFatal Error in Rezipes
Conga
Offline


Messaggi: 7
Spedisci un messaggio privato a Conga

Inviato il:
22 Ott 2006 - 13:58    

I have install the last Postnukerelease 0.763 and it Works.
Only Recipes-Modul is not working.


Fatal error: Call to undefined function: texthtml() in /www/htdocs/w005f4ec/modules/recipes/pnuser-categories.php on line 80



Thank You for Support this great Modul.
Conga from Germany
 
Riz
Online


Messaggi: 186
Spedisci un messaggio privato a Riz

Inviato il:
23 Ott 2006 - 09:41    

you can find the solution at:
error calling recipes
 
Conga
Offline


Messaggi: 7
Spedisci un messaggio privato a Conga

Inviato il:
23 Ott 2006 - 23:09    

Sorry, I dont know what you mean.

// pnHTML code...
//......

/**
* Add free-form text with HTML formatting to the object's buffer
*
* @access public
* @param string $text The text string to add
* @return string An HTML string if ReturnHTML() has been called,
* otherwise null
*/
function TextHTML($text)
{
if ($this->GetInputMode() == _PNH_PARSEINPUT)
{
$text = pnVarPrepHTMLDisplay($text);
}

if ($this->GetOutputMode() == _PNH_RETURNOUTPUT)
{
return $text;
} else {
$this->output .= $text;
}

} // this is the last close '}' to close the pnHTML class


I tried to follow your instruction. But I don't know where to fill in the function.

It would be very nice, if you can build the file "pnhtml.php" concerning to postnuke 0.763 for downloading. Thanks a lot.
 
Riz
Online


Messaggi: 186
Spedisci un messaggio privato a Riz

Inviato il:
24 Ott 2006 - 09:00    

you must fill in the function:

//// start
/**
* Add free-form text with HTML formatting to the object's buffer
*
* @access public
* @param string $text The text string to add
* @return string An HTML string if ReturnHTML() has been called,
* otherwise null
*/
function TextHTML($text)
{
if ($this->GetInputMode() == _PNH_PARSEINPUT)
{
$text = pnVarPrepHTMLDisplay($text);
}

if ($this->GetOutputMode() == _PNH_RETURNOUTPUT)
{
return $text;
} else {
$this->output .= $text;
}

//////// end

between two other function in pnHtml.php
 
Conga
Offline


Messaggi: 7
Spedisci un messaggio privato a Conga

Inviato il:
24 Ott 2006 - 19:56    

I have already done this. But after that the whole website down. That means that nobody can reach my homepage. Only the following error was displayed:

Parse error: parse error, unexpected ';', expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /www/htdocs/w005f4ec/includes/pnHTML.php on line

Do you have any idea, what to do with that problem?
 
Conga
Offline


Messaggi: 7
Spedisci un messaggio privato a Conga

Inviato il:
23 Nov 2006 - 20:51    

@ RIZ

In your code the closing“}” is missing. That’s the reason for the last called mistake.
Meanwhile PN0.764 is released. So the problem is also existing.

The insertation of the missing function caused no changing of the first error information. Of course this error information is further displayed.
Can you please offer the right pnHTML.php as a download?
 
Riz
Online


Messaggi: 186
Spedisci un messaggio privato a Riz

Inviato il:
26 Nov 2006 - 15:10    

send me your pnHTML.php
i pach it form you.
rIz
 
brenzef
Offline

Messaggi: 19
Spedisci un messaggio privato a brenzef

Inviato il:
26 Nov 2006 - 15:52    

Riz, please put it in your download section.
In this case I can Download it as well
 
Conga
Offline


Messaggi: 7
Spedisci un messaggio privato a Conga

Inviato il:
26 Nov 2006 - 19:59    

@ RIZ
Thank you for your support and the offer to patch my HTML.php.
You find the eile in the follow Root as a txt.

pnHTML.txt

I hope you can patch this.
 
Riz
Online


Messaggi: 186
Spedisci un messaggio privato a Riz

Inviato il:
27 Nov 2006 - 08:24    

et voilą:

pnHTML_764.txt
 
brenzef
Offline

Messaggi: 19
Spedisci un messaggio privato a brenzef

Inviato il:
27 Nov 2006 - 11:50    

Thanks RIZ.
Great support (as always)
 
brenzef
Offline

Messaggi: 19
Spedisci un messaggio privato a brenzef

Inviato il:
27 Nov 2006 - 12:34    

Although I was very happy with the 0764 version, I do get the "famous" error:

expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}'

Adding an extra "}" does not solve the problem.
 
Riz
Online


Messaggi: 186
Spedisci un messaggio privato a Riz

Inviato il:
27 Nov 2006 - 18:08    

Sorry i miss a '}'

now is ok!
 
brenzef
Offline

Messaggi: 19
Spedisci un messaggio privato a brenzef

Inviato il:
27 Nov 2006 - 21:12    

Yep works like a charm!

Thanks again RIZ!
 


 

Supportaci Crediti W3C CSS 2.0W3C XHTML 1.0Sottoscrivi RSS
  Questo sito utilizza la Creative Commons License
realizzato da SoftRiz