alpiua Posted November 13, 2015 Share Posted November 13, 2015 (edited) I have the following issue after updating from 1.6.0.14 to 1.6.1.1 and setuping onepagecheckout module: 1) When i make order with option "Cash on delivery" from onepagecheckout module - i recieve a 500 server error with the following message in log: PHP message: PHP Fatal error: Call to undefined method OrderDetail::getTaxListStatic() in home/www/traverse.com.ua/classes/pdf/HTMLTemplateInvoice.php on line 184" while reading response header from upstream 2) Another part of same problem is that i cant open any pdf in client's orders history page - it says "No input file specified." Whyle trying to open adress "site.com/index.php?controller=pdf-invoice&id_order=123" 3) And the greatest. I have no any options like "Enable product image on Invoice" on Settings - Invoice page. No any pdf options at all. Maybe i missed some useful module for pdf ? updating to 1.6.1.2 make no changes. Any proposes? TY. 01:29NOVEMBER Edited November 20, 2015 by alpik (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted November 16, 2015 Share Posted November 16, 2015 Check if your /classes/order/OrderDetail.php is really updated. That OrderDetail::getTaxListStatic() method is new in 1.6.1.0. Link to comment Share on other sites More sharing options...
alpiua Posted November 16, 2015 Author Share Posted November 16, 2015 The first one was solved, exactly with the replacing of override class. But still have problems with number 2 and 3. Link to comment Share on other sites More sharing options...
bellini13 Posted November 19, 2015 Share Posted November 19, 2015 2) Another part of same problem is that i cant open any pdf in client's orders history page - it says "No input file specified." Whyle trying to open adress "site.com/index.php?controller=pdf-invoice&id_order=123" I search the PS code base and cannot find any reference to the text "No input file specified". Are you sure this is the exact message you received? 3) And the greatest. I have no any options like "Enable product image on Invoice" on Settings - Invoice page. No any pdf options at all. Maybe i missed some useful module for pdf ? It is not a module. The option is labelled "Enable product image" and is located on the Orders > Invoices page of the back office, in the third section named "Invoice options" Link to comment Share on other sites More sharing options...
alpiua Posted November 20, 2015 Author Share Posted November 20, 2015 (edited) Ok, thank you, i've found an option. But my pdf not working from orders history client page , and clicking on "Details" for bill get no action at all.. While clicking on pdf icon with url /ru/index.php?controller=pdf-invoice&id_order=205 it takes me to main page of my site. Edited November 20, 2015 by alpik (see edit history) Link to comment Share on other sites More sharing options...
alpiua Posted November 20, 2015 Author Share Posted November 20, 2015 Ok, the problem was in my nginx config. found soulution : rewrite ^/[a-zA-Z][a-zA-Z]/index.php(.*)$ /index.php$1; You can add this rules in nginx rewrite rules just before the "try_files $uri $uri/ /index.php$is_args$args;" lines. in this topic https://www.prestashop.com/forums/topic/250537-404-on-prestashop-15-under-nginx-solved/ Now all working as it should. 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