WebsiteBaker Support (2.8.x) > Bakery Shop
WB 2.8.3 SP5 Bakery and WB Portable
sky writer:
First question, can you run Bakery on WB Portable? I have bakery v1.72 functioning on a 2.8.3 SP4 live website and all is working well. I downloaded a copy of the web files and database to my local machine and everything seems to work, except when I add an item to the cart it refreshes to the Products page and displays "The shopping cart is empty", "Continue Shopping". I have shorturl module running on the site, and I thought it might be something to do with bakery not being able to find the correct page. But I can't find the cause. Nothing is listed in the error logs.
I tried installing bakery 1.76 on a local test site that doesn't use shorturls. But this particular site is set to not use the "/pages" directory, so this might be a whole other issue. I couldn't get bakery to work properly here either. Even trying to change general settings like changing the country, would refresh and just reset to the previous country. I then deleted the bakery page and tried to uninstalled the bakery module, but it didn't complete and give me a success notice. When I refreshed the page I got an error page. I checked and my entire local website directory and files have been deleted. Well everything except this empty folder:
G:\WB-Portable-2.8.3-SP5\root\mywebsite\modules\ckeditor\ckeditor\plugins\div
This is just bizarre to me. I'm not worried as I have a backup, but I can't understand what just happened.
I might just need some sleep. But most importantly, I need to know if I can even test Bakery in a local WB Portable environment on 2.8.3 SP4 or SP5. I can't find any info on the forum.
Thanks!
jacobi22:
basicly its possible, to work with all wb-modules on portable too, but bakery needs a working mail function. On my system, i can send only via smtp, not via php-mail. maybe its work, but i dont have the time for this. to work with bakery, i have to change the mail function from the original to $wb->mail, but then, i cannot send invoices in a good looking quality.
But all this has nothing to do with the basket btw shopping cart
if i have time in the afternoon, i copy a test project to portable and test it again
jacobi22:
So, test it on Portable with actual portable and bakery 1.76 - work's without problems
Do you set your portable-sql to strict-mode?
sky writer:
--- Quote from: jacobi22 on January 19, 2016, 02:38:14 PM ---Do you set your portable-sql to strict-mode?
--- End quote ---
I have not changed anything in WB Portable. Everything is default.
I checked \ WB-Portable-2.8.3-SP5 \ settings \ my.ini
sql_mode="STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE"
I'm going to try a fresh install today and see if I get different results.
jacobi22:
--- Quote ---I checked \ WB-Portable-2.8.3-SP5 \ settings \ my.ini
sql_mode="STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE"
I'm going to try a fresh install today and see if I get different results.
--- End quote ---
not really needed.....
its good and recommened to work in portable with the strict mode, if your server also work in strict mode - so you found problems faster in the old modules.
if you dont need the strict mode in portable, set only a # in the front of this line here
sql_mode="STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE"
and restart portable
i know, that bakery 1.76 is not working in mysql-strict mode, so i fix a version for myself
Navigation
[0] Message Index
[#] Next page
Go to full version