Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tenshu

Archived
  • Posts

    5
  • Joined

  • Last visited

Everything posted by tenshu

  1. *cannot edit sorry* Blank page but the <head></head> is good :-/ Damn it make the same thing with sts for the bts If nobody could help i will go back under MS2
  2. Hi this is me again =) I'd tried to install it on CRE but i get this: Warning: main(templates/HTML/boxes.tpl.php): failed to open stream: No such file or directory in c:\program files\easyphp1-8\www\cre_loaded_osc_6.0_sp1.2_rc2\catalog\includes\template_application_top.php on line 107 Fatal error: main(): Failed opening required 'templates/HTML/boxes.tpl.php' (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in c:\program files\easyphp1-8\www\cre_loaded_osc_6.0_sp1.2_rc2\catalog\includes\template_application_top.php on line 107 I look closely and every template in CRE gat an boxes.tpl.php I tried to add an random boxes.tpl.php from another template (i know this is bad) and i get: Warning: file_get_contents(templates/main_page.html): failed to open stream: No such file or directory in c:\program files\easyphp1-8\www\cre_loaded_osc_6.0_sp1.2_rc2\catalog\templates\HTML\main_page.tpl.php on line 11 And nothing else i really don't know what to do with this :-/ I put the main_page.html in /templates Just get a blank page :-/
  3. Big thanks for youre answer. I think i gonna test you're html template If it don't work i'll use a MS2-fr Thanks again :)
  4. I think it is this part of the code which go wrong: case 'content': // pages or content (middle area) // extra security: added basename() if (isset($content_template)) { if(is_file(DIR_WS_CONTENT . basename($content_template))) { $path = (DIR_WS_CONTENT . basename($content_template)); } elseif (is_file(DIR_WS_CONTENT_FALLBACK . basename($content_template))) { $path = (DIR_WS_CONTENT_FALLBACK . basename($content_template)); } } else { if(is_file(DIR_WS_CONTENT . basename($content . '.tpl.php'))) { $path = (DIR_WS_CONTENT . basename($content . '.tpl.php')); } else { $path = (DIR_WS_CONTENT_FALLBACK . $content . '.tpl.php'); } } break; $content variabale is empty :'(
  5. I'm really interesting in youre contribution I'm trying to integrate it into OSC_CRE. After a couple of modifications i gat the logo, the items pics for account kart shipping The folders Links for account, kart and shipping and then i gat this error message: Warning: main(templates/fallback/content/.tpl.php): failed to open stream: No such file or directory in c:\program files\easyphp1-8\www\cre_loaded_osc_6.0_sp1.2_rc2\catalog\templates\STS\main_page.tpl.php on line 77 Fatal error: main(): Failed opening required 'templates/fallback/content/.tpl.php' (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in c:\program files\easyphp1-8\www\cre_loaded_osc_6.0_sp1.2_rc2\catalog\templates\STS\main_page.tpl.php on line 77 on line 77: require (bts_select ('content')); // BTSv1.5 corresponding to: function bts_template_switch() { if ((TEMPLATE_SWITCHING_ALLOWED == 'true') && (isset($_GET['tplDir'])) && is_dir(DIR_WS_TEMPLATES_BASE . basename($_GET['tplDir'])) ) { $tplDir = basename($_GET['tplDir']); tep_session_register('tplDir'); } else { if ((tep_session_is_registered('tplDir'))&&(TEMPLATE_SWITCHING_ALLOWED == 'true') && is_dir(DIR_WS_TEMPLATES_BASE . basename($_SESSION[tplDir]))){ $tplDir = basename($_SESSION[tplDir]); }else{ $tplDir = DIR_WS_TEMPLATES_DEFAULT; } } if ((ereg('^[[:alnum:]|_|-]+$', $tplDir)) /*&& (is_dir (DIR_WS_TEMPLATES_BASE . $tplDir))*/){ // 'Input Validated' only allow alfanumeric characters and underscores in template name define('DIR_WS_TEMPLATES', DIR_WS_TEMPLATES_BASE . $tplDir . '/' ); } else { $tplDir; if($bts_debug === TRUE) echo strip_tags($tplDir) . '<br>'; exit('Illegal template directory!'); } return $tplDir; } $tplDir value is : DIR_WS_TEMPLATES_DEFAULT I think it is a problem with this: TEMPLATE_SWITCHING_ALLOWED If someone could help me :) Tenshu, Paris
×
×
  • Create New...