Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

php include() Is it possible?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-04-2004, 06:21 AM
 
cyberlab cyberlab is offline
 

Advanced Member
  
Join Date: Jan 2004
Posts: 31
 

Default 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
Reply With Quote
  #2  
Old 03-04-2004, 06:56 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

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

there u go
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 03-04-2004, 07:31 AM
  lyncca's Avatar 
lyncca lyncca is offline
 

X-Adept
  
Join Date: Nov 2003
Location: Fort Worth, Texas
Posts: 455
 

Default

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
Reply With Quote
  #4  
Old 03-05-2004, 11:20 AM
 
cyberlab cyberlab is offline
 

Advanced Member
  
Join Date: Jan 2004
Posts: 31
 

Default

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??
Reply With Quote
  #5  
Old 03-05-2004, 02:52 PM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

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.
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:59 AM.

   

 
X-Cart forums © 2001-2020