Huldremor Posted September 13, 2008 Share Posted September 13, 2008 I'm trying to set the cod fee, but in Order Total I only get these warnings: Warning: main(/home/hjemmem/www/catalog/includes/languages/norwegian/modules/order_total/ot_fixed_payment_chg.php): failed to open stream: No such file or directory in /home/hjemmem/www/catalog/admin/modules.php on line 128 Warning: main(/home/hjemmem/www/catalog/includes/languages/norwegian/modules/order_total/ot_fixed_payment_chg.php): failed to open stream: No such file or directory in /home/hjemmem/www/catalog/admin/modules.php on line 128 Warning: main(): Failed opening '/home/hjemmem/www/catalog/includes/languages/norwegian/modules/order_total/ot_fixed_payment_chg.php' for inclusion (include_path='.:') in /home/hjemmem/www/catalog/admin/modules.php on line 128 Now, if I try and move that file to norwegian/modules/order_total, I lose the function all together. If I put it in both the language module and the ordinary one, it cannot redeclare. And if I put it in the ordinary module directory, the warnings come back aswell. What to do..? Quote Link to comment Share on other sites More sharing options...
web-project Posted September 13, 2008 Share Posted September 13, 2008 looking on the details of your errors, it seems to me that the ot_fixed_payment_chg.php file is missing. Quote Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted September 13, 2008 Share Posted September 13, 2008 This is the same problem you had earlier. For every file in /includes/languages/english/...... and any directory in it, there should be one in /includes/languages/norwegian/......... Not just /includes/languages/norwegian/modules/payment/.... Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
Huldremor Posted September 13, 2008 Author Share Posted September 13, 2008 This is the same problem you had earlier. For every file in /includes/languages/english/...... and any directory in it, there should be one in /includes/languages/norwegian/......... Not just /includes/languages/norwegian/modules/payment/.... I think I have one too many, actually... I get the "cannot redeclare" when I try and put it in both directories. It should be in the norwegian and the english directory - but what about the modules under catalog? Or should there even BE one? Have I messed this up completely..? Quote Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted September 13, 2008 Share Posted September 13, 2008 The files in the language directories should only have DEFINE lines in them, no code. So if you have put any file in these directories that have any lines containing <?php delte them from there/take them out and put them back where you got them from. Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
Huldremor Posted September 13, 2008 Author Share Posted September 13, 2008 The files in the language directories should only have DEFINE lines in them, no code. So if you have put any file in these directories that have any lines containing <?php delte them from there/take them out and put them back where you got them from. Aaah, that was the culprit - two codes and only one define. The warnings are gone now - thanks a million! :) But the cod fee still won't show up in check out, though, I get the option but not the fee... Any thoughts? Quote Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted September 13, 2008 Share Posted September 13, 2008 There is no charge for cash on delivery. Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
rcritt Posted September 19, 2008 Share Posted September 19, 2008 There is no charge for cash on delivery. How then can you add a cost to the customer for COD??? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 22, 2008 Share Posted September 22, 2008 language files missed...easy problem Quote Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted September 22, 2008 Share Posted September 22, 2008 How then can you add a cost to the customer for COD??? You could try searching the contributions for one that does this and install it but with your record ........ :-) Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.