Jump to content

Help php cant find template dir


hass1980

Recommended Posts

Hello

 

My index page isnt picking up the template directory to be displayed. This is what I get on my index.php

 

emplatedir/header.php"); ?>

Hello and welcome to MyMarket! This is the homepage, web masters, use this area:

 

    * Provide a basic map of the site

    * Advertise your on-sale items

    * Welcome customers to your site

    * Do useful things

 

To begin shopping, go to the shopping page or buy the on-special items to your right. Your shopping cart is always visible on the left side of your screen. Click it to edit the contents of your basket or to check out.

templatedir/footer.php"); ?>

 

I have included the application.php file as an attachment. Could anyone see whether I have the settings correct plz.

 

[attachment deleted by admin]

Link to comment
Share on other sites

include("application.php");

 

$DOC_TITLE = "MyMarket Home";

include("$CFG->templatedir."/header.php");

?>

 

<table width=100%>

<tr valign="top">

<td class=normal>

Hello and welcome to MyMarket!  This is the homepage, web masters,

use this area:

<ul class=normal>

<li>Provide a basic map of the site</li>

<li>Advertise your on-sale items</li>

<li>Welcome customers to your site</li>

 

<li>Do useful things</li>

</ul>

 

<p>To begin shopping, <a href="shopping/">go to the shopping page</a>

or buy the on-special items to your right.  Your shopping cart is

always visible on the left side of your screen.  Click it to edit

the contents of your basket or to check out.

</td>

</tr>

</table>

 

<?

include("$CFG->templatedir."/footer.php");

?>

 

Link to comment
Share on other sites

Notice: Undefined index: SESS_USERID in C:\wamp\www\website\functions.php on line 31

 

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\wamp\www\website\functions.php on line 34

 

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\website\functions.php on line 39

You have not added anything to your shopping cart yet.

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.