PDA

View Full Version : Problem with demo.php


macman2
July 9th, 2003, 11:21 AM
This is my first installation.

I am trying to install in a subdirectory of my site (http://www.onscreen.gr/cart) so

1. I changed the code in cart.php as described at a previous post (http://www.ldev.com/forums/show...s=&threadid=656)

2. The setting in config.php are:
$site_www_root = "http://www.onscreen.gr/cart";
$site_isp_root = "/home/onscreen/public_html/cart";
$site_secure_root = "http://www.onscreen.gr/cart";
$cart_page = "/demo.php";
$img_path = "/images";

When I point to demo.php i ger the error
Fatal error: Call to undefined function: stylesheet() in /home/onscreen/public_html/cart/demo.php on line 7


Any help?

Rich
July 9th, 2003, 11:39 AM
Have you edited the first line in demo.php (step 9 in the docs)?

If not, open demo.php in your editor and refer to the following post if you need more information: http://www.ldev.com/forums/showthread.php?t=5&highlight=call+undefined

macman2
July 9th, 2003, 11:51 AM
Have you edited the first line in demo.php (step 9 in the docs)?
Yes, I did.
<? include "http://www.onscreen.gr/cart/squirrelcart/config.php";?>

If not, open demo.php in your editor and refer to the following post if you need more information: http://www.ldev.com/forums/showthread.php?t=5&highlight=call+undefined
I do not think the problem is that. My server root is /home/onscreen/public_html .I placed the application in a subdirectory named "cart" and all the settings are in me previous post.

Please, help!

macman2
July 9th, 2003, 12:57 PM
Ok, the above problem is fixed.