David Aguilar Posted November 19, 2020 Share Posted November 19, 2020 (edited) I have a problem when I try to checkout a product an issue is displayed:https://mydomain.com/index.php?controller=order Any help will be thanks, Edited November 26, 2020 by David Aguilar (see edit history) Link to comment Share on other sites More sharing options...
rrataj Posted November 22, 2020 Share Posted November 22, 2020 Are you in development mode on purpose? Link to comment Share on other sites More sharing options...
David Aguilar Posted November 23, 2020 Author Share Posted November 23, 2020 (edited) 19 hours ago, rrataj said: Are you in development mode on purpose? Thanks for your response @rrataj, I am in Debug mode and maintenance mode at the same time. Edited November 23, 2020 by David Aguilar word correction (see edit history) Link to comment Share on other sites More sharing options...
rrataj Posted November 23, 2020 Share Posted November 23, 2020 I'm asking because normally in production mode this problem will not be visible and in general this is just `notice`, so it's not super important. I guess there is an issue with some theme template, probably footer.tpl or checkout.tpl. There is an array key "index" used while being undefined. Link to comment Share on other sites More sharing options...
David Aguilar Posted November 23, 2020 Author Share Posted November 23, 2020 9 minutes ago, rrataj said: I'm asking because normally in production mode this problem will not be visible and in general this is just `notice`, so it's not super important. I guess there is an issue with some theme template, probably footer.tpl or checkout.tpl. There is an array key "index" used while being undefined. Thanks again, I saw this error message since I move the website from a hosting to a VPS. I dont know why this part of the website is not working properly "?controller=order" Link to comment Share on other sites More sharing options...
rrataj Posted November 24, 2020 Share Posted November 24, 2020 Ok, but can you please deactivate debug mode? This should "solve" it and this problem won't be visible. This is really not important problem and I guess there is no need to focus on it. But if you really want to find the solution I would need to know how your theme template files look like. 1 Link to comment Share on other sites More sharing options...
David Aguilar Posted November 24, 2020 Author Share Posted November 24, 2020 12 hours ago, rrataj said: Ok, but can you please deactivate debug mode? This should "solve" it and this problem won't be visible. This is really not important problem and I guess there is no need to focus on it. But if you really want to find the solution I would need to know how your theme template files look like. Wow @rrataj you are right man. I ussually use the debug mode to know where are located some .tpl files or .css files so I will need to solve this issue later or soon. How can I show you the files structure? Link to comment Share on other sites More sharing options...
rrataj Posted November 25, 2020 Share Posted November 25, 2020 First please show the content of "/themes/your_theme/templates/checkout/_partials/footer.tpl" file. Link to comment Share on other sites More sharing options...
David Aguilar Posted November 25, 2020 Author Share Posted November 25, 2020 1 hour ago, rrataj said: First please show the content of "/themes/your_theme/templates/checkout/_partials/footer.tpl" file. Hello @rrataj , /themes/your_theme/templates/checkout/_partials/footer.tpl {block name='footer'} <div class="container py-4"> <div class="jxml-copyright{if $items.specific_class} {$items.specific_class}{/if}"> {l s='%3$s %2$s - Ecommerce software by [1] %1$s [/1]' mod='jxmegalayout' sprintf=['PrestaShop™', 'Y'|date, '©'] tags=['<a class="_blank" href="http://www.prestashop.com">'] nocache} {if $urls.shop_domain_url !== "http://ld-prestashop.template-help.com" && $urls.shop_domain_url !== "https://ld-prestashop.template-help.com"} Design by <a href="https://zemez.io/">Zemez</a> {/if} </div> </div> {/block} This is the information I have inside footer.tpl, thanks for your time Link to comment Share on other sites More sharing options...
JBW Posted November 26, 2020 Share Posted November 26, 2020 It trying to add a CSS class but the variable for it does exist. Looks like an theme issue. You could simply remove this part class="jxml-copyright{if $items.specific_class} {$items.specific_class}{/if}" Link to comment Share on other sites More sharing options...
rrataj Posted November 26, 2020 Share Posted November 26, 2020 I would remove only this: Quote {if $items.specific_class} {$items.specific_class}{/if} As some styles might use “jxml-copyright” class Link to comment Share on other sites More sharing options...
JBW Posted November 26, 2020 Share Posted November 26, 2020 1 hour ago, rrataj said: I would remove only this: As some styles might use “jxml-copyright” class Yes you are right Link to comment Share on other sites More sharing options...
David Aguilar Posted November 26, 2020 Author Share Posted November 26, 2020 13 hours ago, rrataj said: I would remove only this: As some styles might use “jxml-copyright” class Thanks @rrataj it works! Link to comment Share on other sites More sharing options...
aijazsoomro Posted November 29, 2021 Share Posted November 29, 2021 On 11/26/2020 at 3:59 AM, David Aguilar said: Hello @rrataj , /themes/your_theme/templates/checkout/_partials/footer.tpl {block name='footer'} <div class="container py-4"> <div class="jxml-copyright{if $items.specific_class} {$items.specific_class}{/if}"> {l s='%3$s %2$s - Ecommerce software by [1] %1$s [/1]' mod='jxmegalayout' sprintf=['PrestaShop™', 'Y'|date, '©'] tags=['<a class="_blank" href="http://www.prestashop.com">'] nocache} {if $urls.shop_domain_url !== "http://ld-prestashop.template-help.com" && $urls.shop_domain_url !== "https://ld-prestashop.template-help.com"} Design by <a href="https://zemez.io/">Zemez</a> {/if} </div> </div> {/block} This is the information I have inside footer.tpl, thanks for your time I face same issue. kindly tell me how to access these file from namecheep cpanel Link to comment Share on other sites More sharing options...
aijazsoomro Posted November 29, 2021 Share Posted November 29, 2021 On 11/24/2020 at 1:09 PM, rrataj said: Ok, but can you please deactivate debug mode? This should "solve" it and this problem won't be visible. This is really not important problem and I guess there is no need to focus on it. But if you really want to find the solution I would need to know how your theme template files look like. After deactivate debug mode. it shows error of 500 server internal error. How can I fix it Link to comment Share on other sites More sharing options...
percuforum Posted May 18, 2023 Share Posted May 18, 2023 On 11/29/2021 at 9:54 PM, aijazsoomro said: After deactivate debug mode. it shows error of 500 server internal error. How can I fix it Try to delete var/cache/prod var/cache/dev Link to comment Share on other sites More sharing options...
nedrahaj Posted June 13, 2023 Share Posted June 13, 2023 On 26/11/2020 at 07:06, rrataj said: Je supprimerais uniquement ceci : Comme certains styles peuvent utiliser la classe "jxml-copyright" J'ai le mème problème, mais dans le fcihier footer.tpl j'ai pas trouvé la classe que vous avez indiquez. errerue seulement en mode debug, en mode prod, site fonctionne correctement Link to comment Share on other sites More sharing options...
Athes Posted October 20, 2023 Share Posted October 20, 2023 Is there a way to resolve this issue? I'm currently running Prestashop on my local server, and I'm consistently encountering the same problem. Just to clarify, this Prestashop instance was previously installed on a different server, and I'm attempting to import the database they were using to run it. 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