Redtie

Redtie

beta
www.redtie.ro

Creative coding...


When the the script is on a page outside the redtie directory

06-08-2009 by goalsurfer
When you put this code: //Redtie Weather, it's this simple: //Include functions include("functions.php"); //Search form render_search(); if($_REQUEST['search']){ //Search results search($_REQUEST['search']); }else{ //Forecast forecast($loc_id,5,"m"); } //That's all ?> on a page outside the redtie directory in your hosting account it gives an error: "cache directory not writable" even if it IS writable. Is there a solution please?

1 Replies

06-09-2009 by Admin
Change line 48 of parser.php to:
$dir = str_replace("parser.php","cache/cc/",__FILE__);
Line 100 to:
$dir = str_replace("parser.php","cache/dayf/",__FILE__);
And line 182 to
$dir = str_replace("parser.php","cache/search/",__FILE__);


  • Your username will be shown. If this is your first reply, it will be verified for spam before it will appear on the site.

Search

Login