Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

i swear i did nothing officer. :-)

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 04-04-2005, 02:51 PM
 
auggybendoggy auggybendoggy is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default

ill give it a try
__________________
my mama always said if you\'re not cheating you\'re not trying! 4.0.9
Reply With Quote
  #12  
Old 04-04-2005, 03:01 PM
 
auggybendoggy auggybendoggy is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default

i dont know what to put?

heres what it says

#
# fopen + fread wrapper
#
function func_file_get($file, $is_root = false) {
$fp = func_fopen($file, 'rb', $is_root);

if ($fp === false) return false;

while (strlen($str = fread($fp, 8192)) > 0 )
$data .= $str;

fclose($fp);
return $data;
}

#
# readfile() wrapper
#
function func_readfile($file, $is_root = false) {
$file = func_allow_file($file, $is_root);
if ($file === false) return false;
return readfile($file);
}

#
# Get tmpfile content
#
function func_temp_read($tmpfile, $delete = false) {
if (empty($tmpfile))
return false;

$fp = @fopen($tmpfile,"rb");
if(!$fp)
return false;

while (strlen($str = fread($fp, 4096)) > 0 )
$data .= $str;
fclose($fp);

if ($delete) {
@unlink($tmpfile);
}

return $data;
}
__________________
my mama always said if you\'re not cheating you\'re not trying! 4.0.9
Reply With Quote
  #13  
Old 04-04-2005, 07:45 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

That looks like a PHP file not a template file.
Reply With Quote
  #14  
Old 05-13-2005, 07:49 PM
 
theway theway is offline
 

Newbie
  
Join Date: Feb 2005
Posts: 8
 

Default

i just spent an hour going through all my folders, till i found the one i had to fix.
so i dont really have a simpile solution.
__________________
theway.net.au
xcart gold
version: 4.0.11
Reply With Quote
  #15  
Old 05-14-2005, 02:12 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

or use the debug window to show you the templates being used in the page with the error
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:55 PM.

   

 
X-Cart forums © 2001-2020