Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tried to install STS (simple template system)


Guest

Recommended Posts

Posted

I followed all of the instructions on what to do. Go to this link to see the file STS file I downloaded:

 

http://www.oscommerce.com/community/contri...template+system

 

(sts.templatev1-hosting) is the file name.

 

 

 

 

Anyways, I followed all of there instructions and I still get an "Internal Server Error Message".

 

Any suggestions? www.sneakerbase.com/store - go here for reference.

Posted

open your read-me file that came with sts_template and copy / enter the proper coding into your includes/configure file.

Posted
open your read-me file that came with sts_template and copy / enter the proper coding into your includes/configure file.

 

your not talking about this code are you?

 

// STS: ADD: Define Simple Template System files

define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php');

define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php');

define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php');

define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/');

define('STS_DEFAULT_TEMPLATE', DIR_WS_INCLUDES . 'sts_template.html');

define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');

define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php');

define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php');

// STS: EOADD

 

 

I have put that in the includes/configure.php file just as they said to and exactly where they said to.

 

Now I'm getting this error message:

 

Warning: main(includes/sts_start_capture.php): failed to open stream: No such file or directory in /var/www/html/store/includes/application_top.php on line 511

 

Fatal error: main(): Failed opening required 'includes/sts_start_capture.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/store/includes/application_top.php on line 511

 

you can see it for yourself at www.sneakerbase.com/store for whomever wants to help me out!

 

looking forward to your helpful replies..,

Justin

Posted

This is going to be a stupid question, but did you upload all of those files to the /includes directory? Ie: Application top, header, footer, etc.>?

Posted
This is going to be a stupid question, but did you upload all of those files to the /includes directory? Ie: Application top, header, footer, etc.>?

 

 

ahh ok, i have it working now. Thats exactly what happend, i was missing some files somehow that needed to be uploaded.

 

look at it now www.sneakerbase.com/store

 

That is what that STS looks like.., the whole reason I uploaded it tho was because I was told it would be easier to edit in that format. Here is what I want the site to initially look like:

 

http://www.sneakerbase.com/image/template/Sneakerbase.gif

Posted

I'm sure you'll have fun doing it :) Good luck!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...