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

Send to Friend on product pages.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #121  
Old 03-20-2006, 11:33 PM
 
bardolino bardolino is offline
 

Advanced Member
  
Join Date: Jun 2005
Posts: 33
 

Default

Hi Lionel,

when I try the page you created (and change .auth to ..auth) I get this error:

Warning: main(modules/Bestsellers/bestsellers.php): failed to open stream: No such file or directory in /usr/home/bardolino/domains/bardolino.nl/public_html/xcart/customer/sendtofriend.php on line 11

Warning: main(): Failed opening 'modules/Bestsellers/bestsellers.php' for inclusion (include_path='/usr/home/bardolino/domains/bardolino.nl/public_html/xcart/i in /usr/home/bardolino/domains/bardolino.nl/public_html/xcart/customer/sendtofriend.php on line 11

Warning: main(send_to_friend.php): failed to open stream: No such file or directory in /usr/home/bardolino/domains/bardolino.nl/public_html/xcart/customer/sendtofriend.php on line 18

Warning: main(): Failed opening 'send_to_friend.php' for inclusion (include_path='/usr/home/bardolino/domains/bardolino.nl/public_html/xcart/include/templater: in /usr/home/bardolino/domains/bardolino.nl/public_html/xcart/customer/sendtofriend.php on line 18

If i don't change .auth to ..auth I get this error:

Warning: main(./auth.php): failed to open stream: No such file or directory in /usr/home/bardolino/domains/bardolino.nl/public_html/xcart/customer/sendtofriend.php on line 6

Fatal error: main(): Failed opening required './auth.php' (include_path='.:/usr/local/lib/php') in /usr/home/bardolino/domains/bardolino.nl/public_html/xcart/customer/sendtofriend.php on line 6

Do you have any idea what is causing this errors?
__________________
Version 4.0.14
Reply With Quote
  #122  
Old 03-28-2006, 08:25 AM
 
bardolino bardolino is offline
 

Advanced Member
  
Join Date: Jun 2005
Posts: 33
 

Default

Ok, found the problem. For anyone why is facing this problem, you need to make a extra change in skin1/customer/sendtofriend.tpl:

Change
Code:
{capture name=dialog} <TABLE border="0"> <FORM action="product.php" method="post" name="send"> <INPUT type="hidden" name="mode" value="send"> <INPUT type="hidden" name="productid" value="{$product.productid}">

to
Code:
{capture name=dialog} <TABLE border="0"> <FORM action="../product.php" method="post" name="send"> <INPUT type="hidden" name="mode" value="send"> <INPUT type="hidden" name="productid" value="{$product.productid}">
__________________
Version 4.0.14
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 03:40 PM.

   

 
X-Cart forums © 2001-2020