ThemeBurn Support › Forums › OpenCart Themes › Pavilion OpenCart Theme › Error messages on frontend after applying Pavilion theme – invalid argument/ undefined variable currency etc
This topic has been marked as not resolved.
A small update: I checked with a few products from different categories and they were ok untill I refreshed the page. Hope this helps. |
|
January 19, 2015 at 5:03 pm #36819
|
|
Unfortunately the whole product page went missing, I cannot afford to keep the site like this for a long period. About the same time the problem appears I get long orror messages in OC Log. Ex: 2015-01-19 15:16:49 – PHP Notice: Error: MySQL server has gone awayError No: 2006SELECT p.*, pd.name, pd.description, pd.meta_description, m.name AS manufacturer,(SELECT pi.image |
|
January 19, 2015 at 7:27 pm #36841
|
|
Hi, the Can you share what your hosting parameters are ? Shared hosting or VPS ? If it’s VPS, how much Best, |
|
January 20, 2015 at 9:21 am #36851
|
|
Hi, It is a local company and it is shared hosting. Acording to the details in cPanel report my limit is: 100 processes, 300 Mb Physical Memory and 300 Mb Virtual Memory. In the reporting page I got the message: With the new setup I recon you will recomend to upgrade my hosting as the site needs more resources. Even without the issues there is a significant slowdown since I applied the new theme. Still, not all issues are related to this and I still do not understand, if something happens when limit is reached why do I have to log in to Pavilion cpanel and save rather then things return to normal by themselves when load is balanced? If the problem is the hosting company, I will talk to them for an upgrade. In the meantime pleasetake a look at the other issues described above. To make things simpler I will re-post the still unfixed ones here: 3. Facebook settings are pretty straight FW in Pavilion CP > Theme Settings > Social. 5. Yes it is still valid although not that that important(style difference between modules in tabs/accordion). 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 a few 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… 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. d> In the meantime I found several minor bugs with mobile access, unfortunately it presents itself diferent from one phone to another depending on the resolution. Basicly some of the page content is not properly “responsive” text overpaps the text box/button, product details are not resized properly and are displayed either outside of the margins or overlapping other stuff. Basicly minor stuff but it makes the site on the mobile phone look unfinished. I would like to know how I can fix these. 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. P.S. I am looking for an opencart “specialist” locally as support over mail is not efficient and fast but noone seems to invest in opencart and are moving on to prestashop and other platforms. Thank you |
|
January 20, 2015 at 12:03 pm #36876
|
|
Before looking into other points, I suggest that you install vqmod and then upload the tb_optimizations.xml mod (located in the additional folder of the theme package), which greatly improves OpenCart 1 performance. This could defer the need from hosting upgrade. BR, |
|
January 20, 2015 at 1:12 pm #36879
|
|
Thank you for your prompt answer! Ok, will do what you suggested. Also contacted the the hosting company and they provided further details: Currently I have this package: Max 25% CPU, 15 processes and 300MB RAM – shoud it be enough? For the next 48 hours they set up the next package in line to see if it improves the situation: Max 30% CPU, 20 processes and 400MB RAM Are there any risks of installing vqmod? Could it potentially cause further problems to the site? I couldn’t find a web designer/opencart specialst and don’t want to risk doing further damage. Thank you |
|
January 20, 2015 at 1:30 pm #36880
|
|
Hello, I installed the vqmod and uploaded the optimization script, also the hosting company set up a better plan with 400 Mb Ram for 48 hours. Checked the log on the server and in this timefame I was not even close to the limit. This will not bother me as long as the site remains fuctional. I will check back in 24-48 hours with results. If necessarry, I will not hesitate to change my current plan for a better one, the hosting company has plans up to 600 Mb Ram and static IP. Thank you |
|
January 20, 2015 at 6:41 pm #36895
|
|
Hello again, With all the improvements (optimization mod and better plan from hosting) the issues still persist. There are a lot of small “gliches” which probably will be sorted out with upgrades and I can live with them but untill then I need my site to be working again. Please advise, should I try an even better plan or how should I approach this. I invested too much time and lost too many nights to go back to the default theme. I am aware that I am one of many you have to help sort out issues but for me this is all I got. Thank you. |
|
January 24, 2015 at 1:46 am #37099
|
|
Hi, what we suggested is enabling tb_optimizations.xml vqmod (located in the additional folder of the theme package). Also be sure to set the ‘Category Product Count:’ option in the opencart settings to ‘No’. The “MySQL server has gone away” is a low level error – it’s not something that we can just fix. IT happens at ‘database’ level and OpenCart/Pavilion operato on ‘sciprt’ level. On shared hosting it happens mostly due to hammering the database with too many queries. The database has some limits per shared hosting user and it denies transactions if this limit is reached. We don’t know how your hosting infrastructure is built so we can’t just advice to upgrade the plan – it could have the same database limits, even with more RAM. BR, |
|
January 28, 2015 at 3:36 pm #37327
|
|
Hello, As I mentioned above I installed the vqmod immediately after you suggested but did not help a lot. The category product count is off, still the count appears on the left side menu, it only disables it on the top display. My hosting company has an 8sec limit for scripts and that was enough until now. They cannot offer me more. Not sure how you see this situation but from my perspective I installed properly your theme to a near stock and working OC installation, and after the installation I started to have a lot of issues. My error log is full with error messages I never encountered before (not just server gone away but “undefined variable”, “invalid argument” etc, some complicated and some pointing to the pavilion theme, or some tb_* stuff) Facebook like button is not working although it is set up properly. On mobile it looks…well take a look from and android device, although it looks different from one mobile to another, it is not displayed properly on none, neither iOs not android stock browser, with images overlayed, site logo under buttons, content not centered and other minor issues. In my opinion these are issues with applying the theme, issues that are not from my fault and should be fixed by you. I was hoping that fixing these issues would also help you prevent them happening with others. When you offer a product on the international market for a large number of customers it is normal that it will not work perfectly for all and there will be some customer who will require more help then others to make it work, you cannot set it up for every possible situation but you cannot expect that every customer installs it to a new OC install. If the site works with default theme, it should work with pavilion. I am sure that you approach and opinion on this is different, I presented you my perspective as the customer. I need an honest answer from you if you are willing to help me with the above or not. I wrote at least in 3 post a detailed description of the issues and I am tired of writing posts which are clearly not read carefully and receiving in a few days a short and “dry” answer, mostly blaming someone else or lack of info for them. I am positive that you are a competent team and with a few minutes of dedicated attention you could fix most of them. I saw what a programmer who never worked with OC could do in a few minutes! You guys must be way better. Hope you understand and accept my point of view, Zsolt P.S Please send me the requirements for OC 1.5.5.1 to work properly with your theme(I have under 1000 products and 5000-10000 unique visitor/month, images are optimized, gzip and usual optimizations are enabled). It seems to need more resources or a different setup then the default theme and I need these to find a proper host. I will accept any suggestion for this matter. |
|
January 28, 2015 at 10:04 pm #37361
|
|
Hi, 1) Are you sure the APP ID, you’ve set is correct? We’ve removed it and the Facebook buttons appeared. 2) We’ve fixed the overlapping logo problem 3) We’ve fixed the product buttons overlap problem in Android 4) The icon list in the home page is not aligned correctly due to the configuration you have made in the admin panel. You can: 5) If you spot any other visual problems, please give a bit more detailed description with screenshot if you can. BR, |
|
January 29, 2015 at 12:50 pm #37380
|
|
About the site’s performance. We have applied some fixes to tb_optimizations.xml, because it had some minor issues with OC 1.5.5.1. We have measured then the performance of your site and came to the following conclusions: We also noticed several things with the default theme – random script errors, the slider does not sometimes load (see attached image), notices about corrupt or truncated images… This happened with the Pavilion theme disabled, so it couldn’t cause effect. We didn’t go further in investigating errors that are not caused by the theme. 8sec limit for scripts is enough. We talked about mysql connections/queries limit, which is different. A single script request could generate 300 mysql queries within one second, which would still result in ‘mysql has gone away’ error if it hits the database resources limit. We disabled the ‘gzip compression’ from the opencart admin panel as it does not make big difference in terms of frontend speed. You better enable ‘mod_deflate’ on your server, which will compress not only your html but also your resources (scripts, styles), which will make difference. We are very sorry if this sounds like blaming someone else, but these are the objective results of our analysis, which goes far beyond the free support we offer. About the error logs – they are really some errors that appear in the log because of Pavilion, but they are harmless and will be fixed with the next minor update, coming till the end of the week. Hope this doesn’t fall into ‘dry answers’ category. BR, |
|
January 29, 2015 at 3:33 pm #37401
|
|
Hello, You have done a great job fixing the issues that were driving me mad. I really appreciate it. I am sorry if I was over the line in my last comment, the site crashed again, the product page was missing and I was pissed off being in the middle between hosting company and developer. Facebook app id is correct as the widget in the footer points to the correct page. I believe it is irrelevent now as the like button appeared. Thank you for fixing it, whatever the issue was. I cannot afford VPS for the moment but I am looking for a better hosting company, that is why I asked for your oppinion regarding the optimal setup. I have some recommendations for servers set up specially for OC, even if shared, with way better package then my current one it sounds promising. I will enable mod_deflate. Regarding performance, thank you for the suggestions. Please believe me that with default theme I never had such issues. Still, you may be right and some changes I made since pavilion install could interfere. I am loking forward for the next update. I am happy with the site and the improvements brought by the theme and if the product page will not go missing again(this morning I simply cleared the cache in Pavilion CP and ewerything returned to normal), I should be set. Thank you for the detailed answer Zsolt |
|
January 29, 2015 at 4:41 pm #37418
|
- You must be logged in to reply to this topic.