// This will hold the uncompiled code for that handle.
var $uncompiled_code = array();
// Directories
var $dir_tpl = 'templates/fiapple';
var $dir_cache = 'cache';
// Current template name
var $tpl = '';
culturec wrote: in template^php
find template
replace with template/fiapple
culturec wrote: New probleme
I have a marque for stats (visiteurs) with was in footer.tpl and dosn't works any more;<?
$lvc_include_dir = 'visiteurs/include/';
include($lvc_include_dir.'new-visitor.inc.php3');
?>
what about if I pit this in my index.php.
Can someone give me some advices ?
Code: Select all
<?php include($phpbb_root_path . 'visiteurs/include/new-visitor.inc.php3'); ?>
mr.luc wrote: my host runs in safe mode...
and it works for me except for having to do the chmod as admin and not letting the script do it.... :?
CyberAlien wrote:mr.luc wrote:my host runs in safe mode...
and it works for me except for having to do the chmod as admin and not letting the script do it....
You mean chmod directories or files?
I can't test that anywhere because i don't have access to any host that is running in safe mode so i would appreciate if someone would give me access so i could do some testing (i won't screw up anything - i'll just make few tests that will help to make mod compatible with safe mode).
CyberAlien wrote:mr.luc wrote:my host runs in safe mode...
and it works for me except for having to do the chmod as admin and not letting the script do it....
You mean chmod directories or files?
mr.luc wrote: I encoutered an error that might be related..
even though i chmod 777 to the cachedir i still received the warning that cache cannot be written in the cpanel:
(on my localhost testserver AND on my webspace)
on my webspace it had created a subfolder called subsilver (i only use subsilver)... and it was 777 to... but i was not the owner.
so i deleted that folder with my ftp client AND then recreated it. I then changed the subfolder to 777 manually
from that moment on i didn't receive any warning any more...
[edit] I had to do the same with the subSilver/admin subdir in the cache!!!!
Antony wrote: Why not try free web space like ylycos? They run in super safe you can't do jack mode.
mr.luc wrote: there is a problem in version 0.2. (for me)
in the function:
make_filename_cache($filename)
Code: Select all
// test cache
$filename = $template->make_filename('_xs_test.tpl');
$filename = $template->make_filename_cache($filename);
if(!$template->write_cache($filename, 'test'))
{
$template->assign_block_vars('switch_xs_warning', array());
}
@unlink($filename);
CyberAlien wrote: here is correct code for admin_board.php:Code: Select all
// test cache $filename = $template->make_filename('_xs_test.tpl'); $filename = $template->make_filename_cache($filename); if(!$template->write_cache($filename, 'test')) { $template->assign_block_vars('switch_xs_warning', array()); } @unlink($filename);