SpyrosT Posted February 22, 2010 Share Posted February 22, 2010 Hi ppl,As you can see in the foto, this page appears after at the last step of the order (payment).When I click on the "Pay with cash on delivery" which is my only payment module activated,Im getting this half blank page instead of the "I confirm my order"In addition, if that heps, all the Right column blocks and Wiznav, disappears.Im using PS 1.3.0.1Tnx in advance. Link to comment Share on other sites More sharing options...
uddhava Posted February 23, 2010 Share Posted February 23, 2010 This is because either your file permissions are not setup correctly or the configured order state (setting for COD) is not set.Play around with the permissions and the COD in the back-end. Link to comment Share on other sites More sharing options...
SpyrosT Posted February 23, 2010 Author Share Posted February 23, 2010 Thank you for your answer.COD is the only payment module activated in BO>> Payment.a) There is no checkbox available under Currencies restrictions. The default group is marked under the Groups restrictions.c) My Country is the only marked under Countries restrictions.What else do I hace to do? Link to comment Share on other sites More sharing options...
uddhava Posted February 23, 2010 Share Posted February 23, 2010 I tried it out on my shop (v1.3.0.1) and the COD works for me.So the Order State is set with you.Do you have a default shop (means no core hacks?)What version?Do other payment work (like Cheque etc ) Link to comment Share on other sites More sharing options...
SpyrosT Posted February 23, 2010 Author Share Posted February 23, 2010 I have COD v0.3I have just activated the Cheque v2.3 and it woks just fine. I can see the 'I confirm my order'.Core hacks??? you mean extra modules? Yes I have installed a few extra modules found here.Thanks again Link to comment Share on other sites More sharing options...
uddhava Posted February 23, 2010 Share Posted February 23, 2010 You should check the file permission of the COD modulecore hacks means if you changed manually some core files.Extra modules is not always a problem, could be.You could try this out on a fresh install. See if it works.Otherwise try this module from v1.3.0.1 cashondelivery.zip Link to comment Share on other sites More sharing options...
SpyrosT Posted February 23, 2010 Author Share Posted February 23, 2010 The file permission of the cashondelivery folder via ftp is 0766. Is tha correct?And I do have the PS v1.3.0.1. Link to comment Share on other sites More sharing options...
uddhava Posted February 23, 2010 Share Posted February 23, 2010 If it is correct depends on way your provider and Apache is working.But try it out on 777..will go to bed now ;-) Link to comment Share on other sites More sharing options...
SpyrosT Posted February 23, 2010 Author Share Posted February 23, 2010 Will give it a try. Thanks for your Help!!! Link to comment Share on other sites More sharing options...
SpyrosT Posted February 24, 2010 Author Share Posted February 24, 2010 Now I am really confused.... Even with the 667 permisson the validation page works BUT not always.It is working randomly. ie it work for 3 test orders and then stop for more than 10 testsand then it worked again for an other 2 and stop again. Is there any newer version of COD than the v0.3?Any other solution?? Link to comment Share on other sites More sharing options...
uddhava Posted February 25, 2010 Share Posted February 25, 2010 Ok, that is officially weird. Cant help you with that.The module is send it the most recent. Link to comment Share on other sites More sharing options...
SpyrosT Posted March 4, 2010 Author Share Posted March 4, 2010 Found this error in my logs."PHP Fatal error: Cannot redeclare class CashOnDelivery in \modules\cashondelivery\cashondelivery.php on line 3"This is the line 3 "class CashOnDelivery extends PaymentModule"What's wrong with it? Link to comment Share on other sites More sharing options...
tomerg3 Posted March 5, 2010 Share Posted March 5, 2010 Sounds like it is being called twice.I hope this is not on a live site, V1.3 is still an alpha, it is not stable... Link to comment Share on other sites More sharing options...
SpyrosT Posted March 5, 2010 Author Share Posted March 5, 2010 Thanks tomerg3 for your reply.The site will be live in about 10 days or so.. and this is the only (I hope) bug left.Dont know what else to do...For sure is not an error 500 and not a file permissions issue. I saw the "I confirm"page a few times and this is what makes this problem really weird. Link to comment Share on other sites More sharing options...
SpyrosT Posted March 11, 2010 Author Share Posted March 11, 2010 Finally this problem is gone thanks to Rocky!Using a string provided by Rocky, he found where was the COD called twice.Thanks Rocky! Link to comment Share on other sites More sharing options...
Sudhir Posted March 11, 2010 Share Posted March 11, 2010 Pls help to share the solution ..thanks Link to comment Share on other sites More sharing options...
SpyrosT Posted March 11, 2010 Author Share Posted March 11, 2010 Rocky gave me this var_dump(debug_backtrace()); This must be added in modules/cashondelivery/cashondelivery.phpat the very top right after the "<?php"Then you will see the error code on your page.When you fix the error just delete that code and leave the cashondelivery.php as it was. Link to comment Share on other sites More sharing options...
rocky Posted March 12, 2010 Share Posted March 12, 2010 The problem was that the Cash on Delivery module was in the "Header of pages" hook when it shouldn't have been. 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