Error messages on frontend after applying Pavilion theme – invalid argument/ undefined variable currency etc

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeError messages on frontend after applying Pavilion theme – invalid argument/ undefined variable currency etc

This topic has been marked as not resolved.

Hello,

Just purchased the Pavilion theme to upgrade our opencart standard theme but I have some issues before I can start personalization:

It is a relatively clean install which was working in the past 1.5 years properly, it has a Romanian language pack and RON currency but these were not an issue some free themes I tested before.

All I did was to apply theme, and import a default style.

Opencart is 1.5.5.1 without vQmod or special modules installed. I believe I followed the instructions properly but there is always the chance of human error.

Below are the error messages/issues which appear on the frontend:

1. “Warning: Invalid argument supplied for foreach() in /home/pufushop/public_html/tb_themes/pavilion/catalog/plugin/MenuPlugin.php on line 83″

2. “Notice: Undefined variable: currency in/home/pufushop/public_html/catalog/view/theme/pavilion/template/common/header.tplon line 102″

3.  ”Notice: Undefined variable: language in/home/pufushop/public_html/catalog/view/theme/pavilion/template/common/header.tplon line 96″
4. This link is always displayed on the frontend:    ”http://www.pufushop.ro/index.php?route=checkout/cart”
The theme is not applyed right now as the site is live and I cannot afford to keep it like this.
I check the forums and could not find the solution…unfortunately.
Site is http://www.pufushop.ro, I can provide logon details if necessarry.
Thank you, Vancsa Zsolt
 

  • This reply was modified 3397 days ago by  vancsazsolt.
  • This reply was modified 3397 days ago by  vancsazsolt.
  • This reply was modified 3397 days ago by  vancsazsolt.
  • This reply was modified 3397 days ago by  vancsazsolt.
  • This reply was modified 3397 days ago by  vancsazsolt.
  • This reply was modified 3397 days ago by  vancsazsolt.
  • This reply was modified 3397 days ago by  vancsazsolt.
December 31, 2014 at 2:21 pm #36166

Hi,

We will need the website admin and ftp access, so we can check.

You can use hidepost to share private information with the support staff.

Best,
ThemeBurn team

December 31, 2014 at 2:52 pm #36174

Hi,
Thank you for your quick reply. We have been working on the site since and fixed a lot of issues, most caused probably by changes in the original OC install.
It is a great little theme and we like it more and more as we get to know it!
Right now the site is in maintenence mode untill we fix the issues. We would like to have a decently functional site so we can go online again and make style changes on the go.

We have the below issues/question and hope you can help us with them:

- Cart is not displayed in header, instead a link is displayed: http://www.pufushop.ro/index.php?route=checkout/cart

With default theme this works.

- Facebook like is not displayed in product page or in the footer (it is active in control panel ). Twitter button comes and goes(this is an FYI, we do not need twitter just facebook). Interestingly, Google+ is displayed properly on the product page.
We would like the facebook like/share button to be displayed on both product page and main page. Is this possible?

- on product page the aspect ratio (between product and shopping cart/details) is not being modified when we apply changes.

- on product page can we set white background instead of page background(like in case of categories/subcategories) ?

- on the main page at specials(“oferte speciale”) and new products, when they flip, the flipped image goes outside the border and covers whatever is below. Is this somthing that can be modified from control interface?

Details for access:

We will do a much thorougher documentation and will try to fix issues ourselves in the future but right now it is more complicated then we expected, the site is not functional and there is no going back (default theme cannot be reapplied as some of the settings changed while we worked on the pavilion theme)

Thank you in advance and sorry for the long list :(

January 2, 2015 at 12:44 pm #36208

Small update, I have commented out the cart section in /home/pufushop/public_html/catalog/view/theme/pavilion/template/common/header.tpl
untill you can fix it, to be able to work on the site.

January 3, 2015 at 6:45 am #36216

Hi.

We had to go live, some issues were fixed so disregard the original comments. We still have the below issues/questions (I am obviously not an expert…):

- Cart widget does not work (only displays link: http://www.pufushop.ro/index.php?route=checkout/cart) so it was commented out untill you hopefully fix it. With default theme it worked.

- Could not remove the padding from the sticky header, it looks rather annoying like this and make navigation confusing. Is there an option for this or it has to be removed from code? Either way please help me out with it.

- Facebook like is not displayed in product page or in the footer (it is active in control panel ). Twitter button comes and goes(this is an FYI, we do not need twitter just facebook). Interestingly, Google+ is displayed properly on the product page.
We would like the facebook like/share button to be displayed on both product page and main page. Is this possible?

- the error log is full with the below message(can’t be good):
PHP Notice: Array to string conversion in /home/pufushop/public_html/tb_themes/pavilion/catalog/ThemeCatalogExtension.php on line 186

- in page builder we used the tabs/accordeon. The layout of the specials and latest is not the same as the bestseller. We couldnot set the latter one as thefirst 2 no matter what(seems thereis a padding applied and canot remove it).

- the latest and best sellers does not seem to work as the first one displays some products that are by far not new and the best seller displays products from which we did not sell even 1 is some case. Maybe I don’t understand it’s behaviour but we will have to use the featured and manually add products ifthese is no fix for this.

I am aware that it is a long list, the site is functional and we are happy with it. Style improvements will follow in the near future. It is a big improvement compared to the default theme and that is the most important bit.

We appreciate any help with the above list that will improve the store. Login details are in the post above.

Thank you in advance, Zsolt.

January 5, 2015 at 4:53 am #36285
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
January 8, 2015 at 3:35 pm #36419

About the missing cart – you have modified catalog/controller/common/header.php in a such way to be compatible with the default theme only:

if($this->config->get('config_template') == 'default'){

Actually any theme that is different from the default one would have the same issue. Remove this condition and the cart should appear.

BR,
ThemeBurn team

January 8, 2015 at 3:59 pm #36422

Hi,

Thank you for your help!

1. You were right with the cart, deleted the condition and it is ok now, although I am pretty sure I did not put it there, I do not have such advanced knowledge :) Does not matter anymore how it got there.

2. The sticky header fix did not work, I added after the existing stuff(cleared cache after) it looks like this now:

/**** DARK SKIN CUSTOM CSS ****/

.tb_product .tb_label_special,
.tb_product .tb_label_new
{
text-shadow: none;
}
.tb_sticky_container {
padding: 0 !important;
}

3. Facebook settings are pretty straight FW in Pavilion CP > Theme Settings > Social.
Facebook is enabled, app id is correct and the widget is working properly on the bottom ofthe page, only the Like / Share button is not displayed neither on home page nor on product page. I do not see any other settings how these could be activated and I would like both like and share buttons to work.

4. – ok, got it

5. Yes it is still valid although not that that important. If you check on the home page in the tabs/accordion there are 3 tabs, in the 1st one (“Oferte speciale”) the products are displayed with the text wery close to the margins, the second (“Noutati”) and 3rd(“Cele mai vandute”) displays the text with padding. I would like to know why and if I can change it so all 3 look the same (like the 1st one). This seems like a bug, things seems to be inherited differently in case of the Specials.

6. So you are saying that the Specials and Best sellers are from the default OC modules and they are probably not working. I did not compare them and do not have the courage to go back to the default theme. (last time i reverted back to default there were some unintended changes with picture size and some minor settings and I will not risk it with the live store). P.S. I have a dev. server but it is a work in progress so it does not work properly su I have to work on the live store…hence my desperation when things do not work properly

7. Customers pointed out 2 issues I was not aware:

a> when accessing the site in the format pufushop.ro (without www in front, as probably most do) the icons (shopping cart, whishlist, compare) are not displayed. In case of chrome there is a thin black square, in explorer nothing…
I fixed this with a redirect from cpanel to www but it does not fix the root cause.
Is the redirect a proper solution or it can have some concequences I am not aware?

b> when accessing the site from anandroid phone and in portrait position, the text from the add to cart button (“adauga in cos”) is not resized properly and it overlaps the compare and whislist buttons. From iOs it work properly.

c> with mobile access (android mobile phone) the icon list on the home page is displayed in a vertical line and on the left side rateher then horizontal and middle.

Some of these issues are important to be fixed, others I pointed out as others might be facing the same issues without being aware. Hope it helps with developing the next update.

Appreciate your effort, keep up the good work!

Thank you,

Vancsa Zsolt

January 8, 2015 at 8:10 pm #36452

Also sorted out the sticky continer issue, needed a slightly different code.

January 11, 2015 at 12:13 am #36530

Before checking the above, we just found a serious bug on the site since the theme was implemented.
At random times (could not find what triggers this, maybe the error log has the answer) the product description is not displayed on the product page.
This means that once triggered, although the site works properly, items are displayed properly, you can navigate fom category to subcategory and click on the product but the description/price/pictures…all are missing.

The situation persisits untill I open Pavilion CP and Save Settings. I do not have to modify anything, just save settings at any page in CP. When this is done, all returns to normal untill next time.
Unfortunately due to this bug the site is unusable untill I notice the bug, log in and hit save again, so clients are not able to view product details and order them.

Thank you,
Vancsa Zsolt

January 13, 2015 at 11:31 am #36583

Hi,

Can you please write here after you find a blank page? You will need not to save anything, so we can find out what is wrong.

BR,
ThemeBurn team

January 16, 2015 at 6:04 pm #36733

Hi,

Will do but please keep in mind that I posted above on the 8-th and received current answer after 8 days. I cannot keep the site not functional more then a few hours.
I noticed that it is not an individual issue, also posted on another thread with someone having the exact same problem.

Thank you.

January 16, 2015 at 6:37 pm #36742

@vancsazsolt – we clicked trough your site and some sql errors (MySql has gone away is one of them) appeared on random occasion, which are not connected with Pavilion. Do you mean blank pages with zero content or error pages ?

BR,
ThemeBurn team

January 16, 2015 at 6:49 pm #36745

When you open a product, category, breadcrumbs and even product title is displayed but picture, description, price and other product related stuff is completely missing. There is no error message.
I also noticed the Sql related message, not sure if I had this before of not but I am positive that I never had this particular issue before.

January 16, 2015 at 7:53 pm #36751

Hi,
The problem pesented itself partially, only the main image of the products is not dispalyed on the product page this time . All other details seem to be visible.
You can see that the picture magnification button is also present but does not do anything.
Normaly with this setup on the product page there should be a bigger “main” picture and several smaller ones. Right now only the smaller ones are dispalyed.

The problem, even if partial, is the same as the original one, when no product details are present whatsoever. I believe it has the same cause and if you can find what causes this, you can fix the problem with the product page.

I will keep the site like this till the end of the day so you can take a look.

Thank you

January 19, 2015 at 4:18 pm #36814
Viewing 15 posts - 1 through 15 (of 28 total)
  • You must be logged in to reply to this topic.