I have prestashop 1.6.0.9 running. All was well when suddenly after i wanted to test the order of a product, the last page validation, after confirming the order is blank. I used the modules bank wire and cash on delivery and with every module is returning the white page. I tried uninstalling this modules, delete them and then re-install but this didn't help. I wouldn't want to reinstall prestashop again and I wonder if there is a solution for this problem...
You need to turn debug mode on (true) in
config/defines.inc.php
and change line
define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true);
This will show any errors instead of blank white pages. Post here Your error and we will try to help.
Related
Impacted versions: odoo12
Steps to reproduce: Created a Manufacturing Order. Completed the Work order. Clicking Mark as Done. The error is coming.
Current behavior: Struggling with the error. I duplicated the Manufacturing order and processed it. It closed smoothly without any issue/error.
Expected behavior: Manufacturing order should move to done state as soon as Mark As done is clicked.
Video/Screenshot link (optional): https://ibb.co/Lp5PntS
Follow the below steps to fix the bug for odoo stock issue.
In order to implement it you need to follow below steps:
Debug mode
Technical/server actions
Create
Action name: e.g. fix unreserved qty
model: ir.actions.server
Action to do: “execute python code”
copy/paste the fix underneath the pre-existing code
“save”
“create contextual action”
Refresh page
Action/fix “fix unreserved qty”
Wait for it to load
“remove contextual action”
Action/delete
It happens because the reserved quantity in your inventory does not reflect the one on your pickings. It’s probably due to a small configuration change while some pickings where open.
An easy way to remove it is to create a server action that executes this code
https://gist.github.com/jaa-odoo/8eb0a7250e1cecb2e412563ae6346052
Solution Code.
It should repair all the inconsistencies in your data.
Fix Decimal for stock unreversed issue.
https://gist.github.com/jaa-odoo/a6315513bf7b2d8525a60c6f36c0f897
code
Although in my theme the coupon block had showed ok, now it isn't showing nothing. So the costumers can't use the voucher coupons. I add an screenshot to see what i mean. The green block i mean. Image here
Try executing the following line of code on your store.
Configuration::updateGlobalValue('PS_CART_RULE_FEATURE_ACTIVE', '1');
You need to add it to some PHP file (PrestaShop's file) and open a page that runs that PHP file, once it will be executed you should be able to see and use the voucher field on the Checkout page.
Though this is an old topic, I found this with the same problem. In our case this happened when installing / updating PayPal module. The solution is to unhook PayPal module from Header hook. I know it's not a "coding solution", bugt I hope it may help someone...
The solution is not mine, I found it here: https://www.prestaforum.com/threads/un-bug-muy-comentado-en-la-1-6-0-x-cupon-descuento-vs-paypal.357/.
I am brand new to odoo, just installed version 9 and made a module 'aidentest' using
.>>python odoo.py scaffold aidentest addons
That created the aidentest module in the addons folder. Uncommented everything in the autogenerated files
but when I went to check out my 'Hello World' page at
http://localhost:8069/aidentest/aidentest
I got a 404 not found
So I went to apps to try and load my module, but I could not find it.
Does anyone know what I need to do on Odoo 9 to load up and start coding my custom module?
Briefly: You have to activate developer mode by going to Top right menu>about>activate developer mode
I had basically given up, and was mindlessly clicking about when I hit the 'About' link on the generic-whiteguy dropdown. I had to actually stop thinking before I was able to locate the completely senseless place where they put the thing I need.
The About modal window popped up, and in it was an activate the developer mode button
Some things changed immediately, but I still couldn't find my custom module.
Then I walked away, came back and when I returned I had some auto-generated emails (new things had loaded - slowly). Did this mean that maybe my module had also become accessible? I checked, and sure enough, there it was.
ZERO DOCUMENTATION about this
Please check the config file.Then send the last error it has.
When I click Modules in Admin Panel Back Office, it is taking arround 2mins to view the modules page. I want to know how to find where is the problem.
I have seen the below link for performance issue, but even after emptying the guest table it is taking same time(2mins).
https://www.prestashop.com/forums/topic/266421-500000-rows-on-ps-guest-sounds-too-big/
Kindly suggest to find the root cause of the problem.
Go to file defines.inc.php and value change:
define('_PS_MODE_DEV_', false);
for:
define('_PS_MODE_DEV_', true);
with this active developer mode and you see error in php and server...
define('_PS_DEBUG_PROFILING_', false);
This will show you all hooks and controller executions time with a lot of details, you could probably find where you have a bottleneck with only that.
Not really sure why this is, but when I disable a product in the admin, it is still showing in the bestseller module. It has been removed everywhere else. There is no product page, there is no listing in any category, and you can not search for it anymore.
Unfortunately the bestseller module isn't on board with the rest of the system. The image, title, and button are still all "active" for the disabled product. Clicking does bring you to a 404 page, but it is strange (And crazy annoying) that a disabled product is still used.
I can't figure the thing out, any ideas on this?
*And why is a bestseller disabled: Supplier stopped supplying them. working with v1.5.5.1 if it matters.
The most likely culprit is going to be a cache file that needs deleting. Open /system/cache/ and find a file starting product.bestseller and delete it. This should fix it. If this doesn't fix it, then it's going to be a modification causing this (vQmod most probably)