Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 13 matches
Smarty Forum Index
Author Message
  Topic: cache_handler_func syntax error in docs
q_no

Replies: 0
Views: 17956

PostForum: Documentation   Posted: Sat Dec 19, 2009 5:55 pm   Subject: cache_handler_func syntax error in docs
Hi,

I just discovered a typo in the cache_handler_func documentation:

http://www.smarty.net/manual/de/section.template.cache.handler.func.php

The function receives &$cached_content but t ...
  Topic: Smarty und Xajax
q_no

Replies: 12
Views: 23686

PostForum: Language: German   Posted: Fri Dec 14, 2007 10:41 pm   Subject: Smarty und Xajax
Ja, ich muss zugeben dass sich in dem geposteten Quelltext ein paar Tippfehler eingeschlichen haben Embarassed Asche auf mein Haupt.

Wenn du noch ein konkretes Problem und oder Fragen mit Xajax in Ver ...
  Topic: Smarty und Xajax
q_no

Replies: 12
Views: 23686

PostForum: Language: German   Posted: Fri Dec 14, 2007 10:03 pm   Subject: Smarty und Xajax
subprime, so wie es scheint hast du das Tutorial aus dem xajax forum kopiert das wiederum auf xajax 0.5 beruht. Die Lösungsvorschläge enthalten teilweise aber Funktionen aus 0.2.x.

In 0.5 ->proc ...
  Topic: /tmp voll mit 0 byte Files
q_no

Replies: 9
Views: 13787

PostForum: Language: German   Posted: Tue Mar 06, 2007 11:14 am   Subject: /tmp voll mit 0 byte Files
Das seltsame ist, dass die 0byte files auf einmal nicht mehr erzeugt werden. Dafür aber tmp files die den gesamten Output enthalten (serialisiertes array, siehe oben). Über Nacht waren es rund 7000fil ...
  Topic: /tmp voll mit 0 byte Files
q_no

Replies: 9
Views: 13787

PostForum: Language: German   Posted: Tue Mar 06, 2007 8:48 am   Subject: /tmp voll mit 0 byte Files

Wieso haben Temporäre Dateien im tmp Verzeichnis nix zu suchen? Wie willst Du denn z.B. einen Dateiupload nutzen, wenn PHP die hochgeladene Datei nicht in den tmp Ordner laden kann? Oder wenn Du doc ...
  Topic: /tmp voll mit 0 byte Files
q_no

Replies: 9
Views: 13787

PostForum: Language: German   Posted: Mon Mar 05, 2007 10:18 pm   Subject: /tmp voll mit 0 byte Files
ah, nu kenne ich zumindest den grund



01. $_tmp_file = tempnam($_dirname, 'wrt');
02. if (!($fd = fopen($_tmp_file, 'wb'))) {
03. $_tmp_file = $_dirname . DIRECTORY_SEPARATOR . un ...
  Topic: /tmp voll mit 0 byte Files
q_no

Replies: 9
Views: 13787

PostForum: Language: German   Posted: Mon Mar 05, 2007 6:00 pm   Subject: /tmp voll mit 0 byte Files
messju, kannst du mir evtl verraten an welcher Stelle smarty den Parameter
$params['filename'] (smarty_core_write_file() Zeile 27) zusammenbaut?


Wenn ich einfach mal ein print einbaue zum Debug ...
  Topic: /tmp voll mit 0 byte Files
q_no

Replies: 9
Views: 13787

PostForum: Language: German   Posted: Mon Mar 05, 2007 3:32 pm   Subject: /tmp voll mit 0 byte Files
ok, soweit auch meine bisheringen Vermutungen.

Die Smarty cache/compile dirs liegen bei mir zb in /var/smarty_cache/cache bzw /var/smarty_cache/compile - sprich fernab von /tmp. Es ist mir ein Räts ...
  Topic: /tmp voll mit 0 byte Files
q_no

Replies: 9
Views: 13787

PostForum: Language: German   Posted: Mon Mar 05, 2007 2:28 pm   Subject: /tmp voll mit 0 byte Files
Hallo,

ich habe auf einem WebCluster mit mehreren Servern das Problem dass in /tmp Tonnen von Dateien mit 0 byte landen. Die Namen beginnen alle mit "wrt".
Google brachte mich auf den Ge ...
  Topic: safemode: differences between php 5.14 - 5.15/5.16
q_no

Replies: 1
Views: 6050

PostForum: Installation and Setup   Posted: Tue Sep 05, 2006 11:33 am   Subject: safemode: differences between php 5.14 - 5.15/5.16
Hi!

Today, we updated our webserver to PHP 5.15 - after that, we had strange errors (maybe safe_mode) with config_load().

The enviroment is an Apache 2.x webserver running with confixx. Each web ...
  Topic: {insert name=$my_dynamic_name} ???
q_no

Replies: 5
Views: 7819

PostForum: General   Posted: Wed Nov 23, 2005 8:26 am   Subject: {insert name=$my_dynamic_name} ???
The filename is no problem. I've tried this:

{insert name="TESTNAME" script="/var/www/webXXX/html/_lib/`$element[obj_type]`.php"}

and it worked fine, but it seems like, that it's not possible t ...
  Topic: {insert name=$my_dynamic_name} ???
q_no

Replies: 5
Views: 7819

PostForum: General   Posted: Tue Nov 22, 2005 10:13 pm   Subject: {insert name=$my_dynamic_name} ???
that makes no difference, I've read the manual about "how to insert variables in quotes" and everything else I found, but it does not work.

So, maybe one of the developers knows if this is a bug or ...
  Topic: {insert name=$my_dynamic_name} ???
q_no

Replies: 5
Views: 7819

PostForum: General   Posted: Tue Nov 22, 2005 3:51 pm   Subject: {insert name=$my_dynamic_name} ???
Hi!

I want to include PHP-functions dynamicly in forexample this way:
{insert name=$element.obj_type script="/var/www/webXXX/html/_lib/`$element[obj_type]`.php"}

but all I get is this error mes ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP