gamejacker Posted December 27, 2011 Share Posted December 27, 2011 None of the digital products that are on my website are available for the customerts to download The history (the items name) is there but the product is not showing in the history for them to click to get the file and if they click the link that my website sends them after ordering then that link is not valid or it attempts to download the getfile.php or something also the invoise name and address are missing whats happened? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 27, 2011 Share Posted December 27, 2011 Hi gamejacker, What version of PrestaShop are you using? And was this feature working previously, or did you just set it up now? -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 27, 2011 Author Share Posted December 27, 2011 Hi gamejacker, What version of PrestaShop are you using? And was this feature working previously, or did you just set it up now? -Mike PrestaShop™ 1.4.0.17 but i think its been playing up for a while not even sure when it started doing it and i only noticed this while testing something else, maybe its something to do with a theme i put on, not sure i am rubbish at php etc Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 27, 2011 Share Posted December 27, 2011 Can you please post your URL so that I can try to check this out for you? -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 27, 2011 Author Share Posted December 27, 2011 just create an account and then choose promo (free) and then you will see that you cannot download it thanks just updated it (presta) to the latest version and it is still the same Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 27, 2011 Share Posted December 27, 2011 Hi gamejacker, Can you please PM me with you Back Office login credentials (username, password and admin URL)? I would like to take a look at this for you. -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 27, 2011 Author Share Posted December 27, 2011 hi, i have sent you the details via your pm thanks Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 28, 2011 Share Posted December 28, 2011 Hi gamejacker, I took a look at this for you, and it appears that there is an error in the tbody area of your theme's order-detail.tpl file, which is preventing the download links from properly populating. Please try to replace that file with the SVN version that you can get here and let me know if that resolves your issue. Additionally, I noticed an error whenever I try to add a product to my cart directly from the Featured Products section of your home page. This is usually an issue with your hosting provider which should be easily resolved by calling and asking them to enable the missing PHP mbstring module on your server. Please let me know if this works for you. -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 28, 2011 Author Share Posted December 28, 2011 Hi Mike, i have replaced the file order-detail.tpl from the svn in \prestashop_1.5.0.2\prestashop\themes\default and placed it into my themes folder via ftp the result now is that i have the name and address ( a fake one i made up) but still no product that part is still blank where the link and info should be do you have any ideas? I can give you the ftp account access if you need to view any files best wishes Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 28, 2011 Share Posted December 28, 2011 Hi gamejacker, Have you already cleared your browser and smarty caches, along with enabling Force Compile via your Back Office? -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 28, 2011 Author Share Posted December 28, 2011 Hi gamejacker, Have you already cleared your browser and smarty caches, along with enabling Force Compile via your Back Office? -Mike No, I have'nt tried that, where about is the Force Compile ? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 28, 2011 Share Posted December 28, 2011 Force Compile is in your Back Office under Preferences > Performance. As for the Smarty Caches, you can clear them by accessing your site via FTP, going to the tools/smarty directory and deleting everything EXCEPT index.php in the /compile and /cache directories. I hope this helps. -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 28, 2011 Author Share Posted December 28, 2011 hi mike, ok Partial sucess, the download link in the email the site sends is now back and working when i click to download the file, only thing i notice now is in the Order History, if i click the order number to view details, nothing happens Any ideas? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 28, 2011 Share Posted December 28, 2011 OK well we're making progress! I'm going to take a look a little deeper into this for you this afternoon, and will hopefully be able to help you get this working all the way -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 28, 2011 Author Share Posted December 28, 2011 Appreciate it Mike!! many thanks Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 28, 2011 Share Posted December 28, 2011 I just went in and looked a little closer at this. Can you please also replace your theme's order-list.tpl and order-follow.tpl files, follow the steps you did above the clear your Smarty Cache and then let me know if that resolves it for you? -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 28, 2011 Author Share Posted December 28, 2011 Hi Mike, i dont have a file called order-list.tpl in either my theme nor in the SVN i downloaded Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 28, 2011 Share Posted December 28, 2011 Hi Mike, i dont have a file called order-list.tpl in either my theme nor in the SVN i downloaded Oops sorry! I had a little dyslexic moment there. The file is actually order-slip.tpl -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 28, 2011 Author Share Posted December 28, 2011 hi Mike, still the same , i am wondering if it is now a js problem? i do have some errors showing up on the order history webpage Message: Object expected Line: 225 Char: 1 Code: 0 Message: 'jQuery' is undefined Line: 13 Char: 1 Code: 0 Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 28, 2011 Share Posted December 28, 2011 Where exactly are you getting those errors? I'm not seeing anything on my personal order history page. -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 28, 2011 Author Share Posted December 28, 2011 Where exactly are you getting those errors? I'm not seeing anything on my personal order history page. -Mike i dont see them when i use google chrome but when i use IE they are apparent http://jipsee.com/history.php Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 28, 2011 Share Posted December 28, 2011 I'm still not seeing them on IE either. Can you post a screenshot? -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 28, 2011 Author Share Posted December 28, 2011 this was captured using IE 8 Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 28, 2011 Share Posted December 28, 2011 Can you please set "Display Errors" to "On" in your config/config.inc.php file and let me know once you've done that? -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 28, 2011 Author Share Posted December 28, 2011 OK Mike, the "Display Errors" is set to "On" Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 28, 2011 Share Posted December 28, 2011 Hi gamejacker, We took a look at the specific error, and it appears to be a syntax issue in your order-detail.tpl file, likely due to modifications made to your store's theme. Can you please temporarily switch to the default theme via your Back Office to see if it works once we've switched themes? -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 28, 2011 Author Share Posted December 28, 2011 hi, sorry for the delay in getting back to you, i'll do that now and get back withthe results Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 28, 2011 Share Posted December 28, 2011 hi, sorry for the delay in getting back to you, i'll do that now and get back withthe results Let me know how it goes! -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 28, 2011 Author Share Posted December 28, 2011 Ok, i have set it back to the default theme, the actual js error is not apparent but the same problem with the actual file information or link not showing i'll leave it on the default them for you to see Link to comment Share on other sites More sharing options...
gamejacker Posted December 28, 2011 Author Share Posted December 28, 2011 ahh wait, wouldnt i have to replace those files in the default theme too? Ok, i have replaced the files and have that error again regarding the syntax Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 28, 2011 Share Posted December 28, 2011 I just tested that it pastes in fine, I also checked by pasting in using the text from a item i previously added with no issue but the alignment is off Its odd that it would suddenly start happening, and for an item that pasted fine to be doing it now is even more strange Hi gamejacker, I'm still looking for the solution, but I believe I have identified the issue. It appears that there is an error either with an open tag or the order of tags in one of your php files (likely history.php). As you can see in this screenshot of the Inspect Element feature on your page, the <tbody> code looks a little different than its <thead> and <tfoot> brothers: It will take me some more time to identify the exact location of this error and what needs to be done to resolve it, but in the meantime that can hopefully give you a headstart on investigating it from your end as well. -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 28, 2011 Author Share Posted December 28, 2011 the only code in the history php fiel is this require(dirname(__FILE__).'/config/config.inc.php'); ControllerFactory::getController('HistoryController')->run(); Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 29, 2011 Share Posted December 29, 2011 Hi gamejacker, I just went over this a little deeper with a developer, and he would like for you to replace the following files: history.tpl history.js history.css Once you've replaced those, please let me know if that resolves your issue. -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted December 29, 2011 Author Share Posted December 29, 2011 hi Mike, i will replace those files now and will let you know how it goes resulted in the history block now showing at all Fatal error: Smarty error: [in /h*****/b*****/we***/b****/ipg.ji******/themes/Earth1.4/history.tpl line 69]: syntax error: unrecognized tag: $link->getPageLink('pdf-invoice', true, NULL, "id_order={$order.id_order (Smarty_Compiler.class.php, line 446) in /h*****/b*****/we***/b****/ipg.ji******/tools/smarty_v2/Smarty.class.php on line 1095 so i reverted them back to the previous ones i replaced Link to comment Share on other sites More sharing options...
gamejacker Posted January 1, 2012 Author Share Posted January 1, 2012 if you have any other ideas then will you get back to me , cheers Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 2, 2012 Share Posted January 2, 2012 HI gamejacker, Can you please switch back to the default theme so that I can continue to help you out with this? -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted January 2, 2012 Author Share Posted January 2, 2012 hi mike, i have changed it to the default theme, cheers Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 2, 2012 Share Posted January 2, 2012 Hi gamejacker, Have you already replaced the history files I requested above for the default theme? -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted January 2, 2012 Author Share Posted January 2, 2012 yeah, but i changed them back cos it messed up the history page and all it shown was a big error and nothing else Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 2, 2012 Share Posted January 2, 2012 As I continue to look at this, can you please call your hosting provider and ask them to enable to missing PHP mbstring module? That should resolve the issue I pointed out regarding trying to add a product to your cart directly from the Featured Products area of your home page. -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted January 2, 2012 Author Share Posted January 2, 2012 yes, i will do that , thanks again Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 2, 2012 Share Posted January 2, 2012 Let me know how that goes! And once you do that, can you also please PM me with your FTP login credentials so that we can run a couple tests here as well? -Mike Link to comment Share on other sites More sharing options...
gamejacker Posted January 11, 2012 Author Share Posted January 11, 2012 sorry for the long reply, had some major hardware problems with my pc, couldnt get back here , if you still are willing to help and still want the ftp login info, just let me know, thanks Link to comment Share on other sites More sharing options...
emagiero Posted November 19, 2012 Share Posted November 19, 2012 (edited) I had the same problem you have. When a client orders a free virtual product, the status of the order is Payment Accepted. I modified the payment accepted settings and because of that the download link was not showing after a completed order. Check if you have checked the second option in the Paypent Accepted Status. It should be Allow customer to view invoice PDF or something like that. After you check that option, the download product should be visible after the order is complete. Edited November 19, 2012 by emagiero (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now