X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   php include() Is it possible? (https://forum.x-cart.com/showthread.php?t=6582)

cyberlab 03-04-2004 06:21 AM

php include() Is it possible?
 
Is adding php include() to an x-cart page possible? I am trying to add information to my site (something like using SSI (server side include))

Can someone help me please with this php include()?


Thanks

http://www.cyberlabonline.com

shan 03-04-2004 06:56 AM

http://smarty.php.net/manual/en/language.function.php.php

there u go

lyncca 03-04-2004 07:31 AM

Ahh thats good to know and thanks for the link too Shan :)

Will help in my quest in being able to fully understand this cart :)

cyberlab 03-05-2004 11:20 AM

I am now getting this error after about 24hours of getting it too work :(

Warning: main(url l): failed to open stream: HTTP request failed! HTTP/1.1 500 Server Error in C:\xxxxxx\xxxxxx\xxx.tpl on line 21

Warning: main(): Failed opening 'the url' for inclusion (include_path='.;c:\php4\pear') in C:\xxxxxx\xxxxxx\xxx.tpl on line 21


What can be wrong??

groovico 03-05-2004 02:52 PM

Looks like you're trying to include a remote url from the lines above but your server won't allow the method you're using or it's interfereing with something else in x-cart.

Try the include on a simple php page to see if it's actually working before trying to pinpoint anything within x-cart.


All times are GMT -8. The time now is 02:38 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.