WebsiteBaker Support (2.8.x) > Bakery Shop

Full with bugs

(1/3) > >>

ChochkoBG:
Hello guys, this module is nice, but i just installed it on new version of Website Baker.

The first problem was with the install.php file, i have to edit the constant "free_shipping - 999999999" to "100".

After fixing the problem with "No creation of the Database tables", the module start working. I see the BackEnd menu, I can add items and everything.

But when i click Add to card i receive a lot of Errors.

This is when I click on the Item in the shop:


--- Code: ---"Notice: Undefined variable: link_length in \modules\bakery\view_item.php on line 138

Notice: Undefined variable: link_length in \modules\bakery\view_item.php on line 139

Notice: Undefined variable: use_table in \modules\bakery\view_item.php on line 235"
--- End code ---

This is when I add the item for the card:


--- Code: ---"Notice: Undefined variable: cart_thumb_max_size in \modules\bakery\view_cart.php on line 77

Notice: Undefined variable: cart_thumb_max_size in \modules\bakery\view_cart.php on line 78"
--- End code ---

This is when i click Submit Order:


--- Code: ---"Notice: Undefined index: TXT_COUNTRY_NAME in \modules\bakery\view_form.php on line 209"
--- End code ---

This is when i click Select Payment Method:


--- Code: ---"Notice: Undefined variable: add_chars in \modules\bakery\save_form.php on line 67

Notice: Undefined variable: add_chars in \modules\bakery\save_form.php on line 74

Notice: Undefined variable: add_chars in \modules\bakery\save_form.php on line 81

Notice: Undefined variable: add_chars in \modules\bakery\save_form.php on line 98

Notice: Undefined variable: add_chars in \modules\bakery\save_form.php on line 105"
--- End code ---

And this is the View Summary, for example I'm using Pay on Delivery:


--- Code: ---"Notice: Undefined index: TXT_COUNTRY_CODE in \modules\bakery\view_summary.php on line 220

Warning: array_keys() expects parameter 1 to be array, null given in \modules\bakery\view_summary.php on line 220

Notice: Undefined index: TXT_COUNTRY_NAME in \modules\bakery\view_summary.php on line 221"
--- End code ---

jacobi22:
it looks like the config-file is not loaded, please try this -> http://www.WebsiteBaker.org/forum/index.php/topic,27150.msg187299.html#msg187299

ChochkoBG:
First, thank you for the reply :)

I made the configurations that you told me, and half of the problems gone.

Now when i choose item from my shop and when i click Submit Order i receive the following error:


--- Code: ---"Notice: Undefined index: TXT_COUNTRY_NAME in \modules\bakery\view_form.php on line 209"
--- End code ---

After filling the form with the details, when i click Select Payment Method i see the page normal, but when i choose "I will pay cash on delivery" i receive the following errors:


--- Code: ---"Notice: Undefined index: TXT_COUNTRY_CODE in \modules\bakery\view_summary.php on line 220

Warning: array_keys() expects parameter 1 to be array, null given in \modules\bakery\view_summary.php on line 220

Notice: Undefined index: TXT_COUNTRY_NAME in \modules\bakery\view_summary.php on line 221"
--- End code ---

After submitting the Item, the Successful Page is OK, but i don't receive any E-mail.

Thank you! :)

jacobi22:
TXT_COUNTRY_NAME is a Placeholder for a country, maybe there is no setting for the shop language (error in view_form//line 209), the errors in the view_summary.php are the result of the error in view_form

at first, take a look into the bakery folder and ther to languages/countrys and languages/state. is there a languages file in your selected shop-language? open this file - there is a list with all countrys with these chema


--- Code: ---$MOD_BAKERY['TXT_COUNTRY_CODE'][1] = 'AL'; $MOD_BAKERY['TXT_COUNTRY_NAME'][1] = 'Albania';
$MOD_BAKERY['TXT_COUNTRY_CODE'][] = 'DZ'; $MOD_BAKERY['TXT_COUNTRY_NAME'][] = 'Algeria';
--- End code ---
(only the first line has the [1], all other lines have only a [])

go to the bakery main setting to the point "shop state" or "shop country", select another country, save it, go back to this point and check, thats your selected country is saved by the system. If yes,  select now you favorite (or home)  state/country again and save it

now try it again to buy a item

ChochkoBG:
Thank you very much again!

Now everything is solved and it's working.

But i still have the problem with the E-mail. When i complete the order i don't receive confirmation E-mail.
My Bakery Shop is using the same E-mail Address like the Web-site.
I changed the E-mail address into the Bakery Shop, but without success.

I'm using SMTP Settings.

Thanks!!!

Navigation

[0] Message Index

[#] Next page

Go to full version