PDA

View Full Version : Main_Page.tpl.php NOT working??? why???



JamesAnthony
10-21-2003, 12:49 PM
Hi all,

Just installed a fresh version of osc max. Everything was totally successfull.

then try to goto: http://www.gadgetworldonline.com/home/templates/main_page.tpl.php which should enter the template system? and I get the following error:

-----------------------------------

Warning: main(DIR_WS_INCLUDESmeta_tags.php): failed to open stream: No such file or directory in /home/magicworld/U7X10K47/htdocs/gadgetworldus/home/templates/main_page.tpl.php on line 5

Fatal error: main(): Failed opening required 'DIR_WS_INCLUDESmeta_tags.php' (include_path='.:/usr/local/lib/php') in /home/magicworld/U7X10K47/htdocs/gadgetworldus/home/templates/main_page.tpl.php on line 5
-----------------------------------

Please can someone help?

Thank you
Anthony
www.magicworld.co.uk
www.gadgetworldonline.com !

annea03
10-21-2003, 03:52 PM
You don't normally call hte main_page.tpl.php directly. I just tried calling main_page.tpl.php on my working store and received an error message also -- so the error message may be "normal".

Do you have a catalog directory?

Normally, to get the catalog, you would enter something like:

http://www.yourdomainname.com/catalog

Then to get to the admin
http://www.yourdomainname.com/catalog/admin

HTH,
Anne

michael_s
10-21-2003, 07:17 PM
The templates are never to be called directly. You need to manually edit the template files, and they are not accessible via the web. You do not 'enter the template system'

The templates are called by index.php and loaded inline.