Jakaria Nawaz Posted December 21, 2013 Share Posted December 21, 2013 Hi, I am new in using prestashop and webdevelopment. I have installed new prestashop 1.5.6. I am facing a problem with "placing order". When I click "Place Order" it takes me to a blank page and the URL I get is [http://etasheta.com/module/cashondelivery/validation] but in my local host it is ok. Another thing is that I am not getting the bank wire and check payment option in payment option's area. Though I have installed and enabled those. Thanks in advance Link to comment Share on other sites More sharing options...
doekia Posted December 21, 2013 Share Posted December 21, 2013 Could you activate the debug mode so we can figure out what's wrong PS: I can see the 3 method of payment Link to comment Share on other sites More sharing options...
Jakaria Nawaz Posted December 21, 2013 Author Share Posted December 21, 2013 Hi, Yes bank wire and check payment is now ok. there was a problem with restrictions. But the "Cash On Delivery" Is still creating problem in placing order. How can i active debug mode? Thanks. Link to comment Share on other sites More sharing options...
doekia Posted December 21, 2013 Share Posted December 21, 2013 change define('_PS_MODE_DEV_', false);to define('_PS_MODE_DEV_', true); in config/defines.inc.php Link to comment Share on other sites More sharing options...
Jakaria Nawaz Posted December 21, 2013 Author Share Posted December 21, 2013 Hi, Debug mode is on now. Thanks. Link to comment Share on other sites More sharing options...
doekia Posted December 21, 2013 Share Posted December 21, 2013 Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 578623 bytes) in /home/etasheta/public_html/tools/tcpdf/tcpdf.php on line 11656 Increase your memory_limit. On 1.5 I recommend 384M as upper limit. Link to comment Share on other sites More sharing options...
Jakaria Nawaz Posted December 21, 2013 Author Share Posted December 21, 2013 Hi, I can't find edit option in the file in cpanel. Is it something to do with that file? Really sorry for my ignorance. Thanks. Link to comment Share on other sites More sharing options...
vekia Posted December 21, 2013 Share Posted December 21, 2013 it's not related to file mentioned in error code, it's related to your hosting configuration. error code means that you hosting account exceeded memory limit that you've got. if you've got access to php ini filie, you can customize limits, for example: memory_limit = 2048M Link to comment Share on other sites More sharing options...
Jakaria Nawaz Posted December 21, 2013 Author Share Posted December 21, 2013 Ok. Thank you . i have sent mail to my hosting provider. i hope everything will be ok Again Thank Link to comment Share on other sites More sharing options...
Jakaria Nawaz Posted December 22, 2013 Author Share Posted December 22, 2013 (edited) Hi, I have got another solution. I changed jpg instead of png in logos. and turned off the invoice. then it started to work. I talked with my hosting provider they said that i will need vps hosting if i want to increase memory limit 384 and it would cost more. But now it is ok . Edited December 22, 2013 by jnshiphat (see edit history) Link to comment Share on other sites More sharing options...
doekia Posted December 22, 2013 Share Posted December 22, 2013 memory_limit of 32M is far too low for Presashop, and actually you have a limit of 32M. Link to comment Share on other sites More sharing options...
Jakaria Nawaz Posted December 22, 2013 Author Share Posted December 22, 2013 I have asked them (hosting provider) to increase the limit. They said they have increased it to 128M. But if I want to make it 384M then I will need to buy vps hosting. Link to comment Share on other sites More sharing options...
doekia Posted December 22, 2013 Share Posted December 22, 2013 128M is better ... just refrain from adding a lots of module and you may be safe. Best 1 Link to comment Share on other sites More sharing options...
vekia Posted December 22, 2013 Share Posted December 22, 2013 ... thank you for posting your solution, well, if this works for you, in my opinion - you don't have to increase memory limit i wish you a lot of guests and sales, then it will be great time to change shared host to VPS btw. everything works now well? is this topic solved at all? with regards, Milos 1 Link to comment Share on other sites More sharing options...
doekia Posted December 22, 2013 Share Posted December 22, 2013 Turning off the invoide does not sound like a problem solved ... ;-) 1 Link to comment Share on other sites More sharing options...
vekia Posted December 22, 2013 Share Posted December 22, 2013 this is why i asked, because author of this topic marked your reply here as a solution Link to comment Share on other sites More sharing options...
doekia Posted December 22, 2013 Share Posted December 22, 2013 Link to comment Share on other sites More sharing options...
Jakaria Nawaz Posted December 23, 2013 Author Share Posted December 23, 2013 Hi, Yes now everything is working well. And My invoice is also on now. And everything is working fine. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts