WebsiteBaker Community Forum (upd)

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: rumen on June 03, 2014, 10:51:28 AM

Title: Fatal error
Post by: rumen on June 03, 2014, 10:51:28 AM
Hello everyone!

I got:

Fatal error: Call to a member function numRows() on a non-object in /opt/lampp/htdocs/baker_cms/wb/modules/bakery/modify.php on line 52

after install. I made some search here in the forum and I saw that some tables missing and I added in the DB:

ALTER TABLE `wb_mod_bakery_general_ settings` with tables:
1   shop_name            varchar(255)   utf8_general_ci      
2   display_settings   varchar(255)   utf8_general_ci   ;


but still no success to run it. Please help!

Regards,
Title: Re: Fatal error
Post by: dbs on June 03, 2014, 11:08:27 AM
Hello, try this: digits
http://www.WebsiteBaker.org/forum/index.php/topic,26484.msg182112.html#msg182112
Title: Re: Fatal error
Post by: rumen on June 03, 2014, 12:10:13 PM
well that was fixed, now on the screen after 2 products included and page settings + prices added I think properly I have on the screen:

Notice: Undefined variable: setting_continue_url in /opt/lampp/htdocs/baker_cms/wb/modules/bakery/view_overview.php on line 121

Notice: Undefined variable: setting_continue_url in /opt/lampp/htdocs/baker_cms/wb/modules/bakery/view_overview.php on line 273
Title: Re: Fatal error
Post by: Gast on June 03, 2014, 01:11:24 PM
this notice is a result from the abortet install progress
if you have a empty shop (no products, no customer-datas) , delete your bakery page / bakery section, then go to Addon -> -> Modules -> -> advanced and there to install (you have to fix the install.php like the link from dbs first), select bakery and re-install the shop again, then add your bakery section again.
maybe its enough, if you delete the "old" bakery section and add it again in the page setting

this missing index is a summary from the WB_URL and the field "link" in the table "pages" 
Title: Re: Fatal error
Post by: rumen on June 03, 2014, 03:09:58 PM
That's it! It works like a charm now, thank you very much for the help friend.
Title: Re: Fatal error
Post by: Gast on June 03, 2014, 04:45:07 PM
thx for your feedback
what are you doing now - complete reinstall or manuell edit or a simple new-page-add?
maybe its better to change my post, so that the best solution is on the first place