osCmax v2.5 User Manual
Results 1 to 3 of 3

Main_Page.tpl.php NOT working??? why???

This is a discussion on Main_Page.tpl.php NOT working??? why??? within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hi all, Just installed a fresh version of osc max. Everything was totally successfull. then try to goto: http://www.gadgetworldonline.com/hom...n_page.tpl.php which ...

      
  1. #1
    Lurker
    Join Date
    Oct 2003
    Posts
    1
    Rep Power
    0


    Default Main_Page.tpl.php NOT working??? why???

    Hi all,

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

    then try to goto: http://www.gadgetworldonline.com/hom...n_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 !

  2. #2
    Member
    Join Date
    Sep 2003
    Posts
    41
    Rep Power
    0


    Default

    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

  3. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    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.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Working site is not working now!
    By swatkins in forum osCmax v2 Installation issues
    Replies: 20
    Last Post: 12-25-2006, 04:51 PM
  2. Help, My SSL is not working anymore.
    By loba in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 06-27-2005, 02:43 AM
  3. main_page.tpl.php where is OSCMAX_bc_right.gif
    By battleaxe in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 07-12-2004, 04:56 AM
  4. Cannot get TAX (VAT) working
    By Spike_UK in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 12-23-2003, 05:47 AM
  5. tax not working
    By menakamk in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 01-01-2003, 11:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •