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

Problem mit mysql Cache bzg Timestamps

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German
View previous topic :: View next topic  
Author Message
daniel987
Smarty Rookie


Joined: 26 Aug 2004
Posts: 20

PostPosted: Fri Sep 17, 2004 4:06 pm    Post subject: Problem mit mysql Cache bzg Timestamps Reply with quote

Ich habe ein Problem und zwar habe ich jetzt eigentlich alles soweit hinbekommen wie ich das wollte, der Cache und die Templates sind in der Datenbank. Smile

Nun habe ich aber das Probelm das die Sache mit der Cache Funktion nicht richtig funzt dh. Der Template Cache (Ordner) wird nicht neugeneriert Sad .
Nur durchmanuelles löschen bekommt man Smarty dazu was kann da falsch sein? Hier meine betreffende Funktion:
[php:1:825229479a]<?php
function db_get_timestamp($tpl_name, &$tpl_timestamp, &$smarty_obj)
{

// Datenbankabfrage um '$tpl_timestamp' zuzuweisen
global $mysql;
$query=$mysql->query("SELECT Date FROM Templates WHERE ID=$tpl_name");
$tmp_tpl_timestamp=$mysql->get_results($query);
$tpl_timestamp=$tmp_tpl_timestamp['Datum'];

return true;
}
?>[/php:1:825229479a]

Achso die Timestamp Länge ist 14, könnte das vielleicht die Ursache sein?
_________________
It's better to burn out than to fade away.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


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