| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
editing the include/func.php file | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Help!
I received instructions to correct the "Nobody" email problem in my custom version of x-cart (3.4.1), but whenever I try to edit the func.php file to add the correction, it breaks the file and my cart will not load. Someone suggested that there might be extra spaces at the end of the file and if I deleted them, the file would not break, but this did not help. How do I edit the func.php file without breaking it??? Thanks for your assistance. |
|||||||
#2
|
|||||||||
|
|||||||||
![]() what were you told to do ?
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#3
|
|||||||
|
|||||||
![]() Here are the directions given to fix the problem:
"The problem is caused by the bug in the version 3.4.0. We offer you upgrade X-Cart to latest version. To fix this problem you should edit file Cart/include/func.php Alter following lin in the function func_send_mail $header = "From: $from".$lend."To: $to".$lend."Reply-to: $from".$lend."X-Mailer: PHP/".phpversion().$lend; to $headers = "From: $from".$lend."To: $to".$lend."Reply-to: $from".$lend."X-Mailer: PHP/".phpversion().$lend;" However, as I stated earlier, anytime I touch the func.php file it breaks. I need to know how to effect the above change and still have a working cart. Thanks for the input. Sue |
|||||||
#4
|
|||||||||
|
|||||||||
![]() i would just use your ftp client or file manager on your hosting account to edit the file. the problem maybe because you edit the file and then dont upload it in unix format. edit it on the server and you should be ok
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#5
|
|||||||
|
|||||||
![]() Hi,
Thank you for the file manager suggestion. My "Nobody" problem is now fixed. I took a combination of advise. Not only did I have to correct the line of code, but it was also pointed out by my hosting company, that sometimes there is blank space at the end of the file that causes it to break. By fixing the code AND removing the extra spaces at the end of the file from my file manager, I was able to correct the problem. Thanks again. This has been a baptism by fire and I appreciate all your input. Sue |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|