-
AuthorPosts
-
April 8, 2016 at 1:19 pm #911274
Hi,
I’ll try to keep this post short.
So, I’m writing because I have to big issues with the new template. I installed the JA Teline V theme back in December on my almost 11 years old website, but I have two issues that don’t go away.
1) MYSQL errors. I mean 2-3 a day. And I have to say I didn’t have these errors using the previous theme – simpler, true. I use the same server, I have the same load, same conditions as until December, but with the new theme I get the unable to connect to MYSQL errors way too often.
As far as I see from looking through the processes on the server, each time someone accesses my site, opens an article, or each time I upload a photo or do anything on the website, the database gets a new entry – aka MYSQL process. I don’t have many visitors per day – max 1000, usually 400-600, so it’s not from that, but I didn’t had this huge load of MYSQP processes with the old theme.How can I optimize it?
As a side note, I stopped the counter of each article – so I don’t have a number of hits, but I thought this could help with the processes. It doesn’t.
2) LOAD.
The site takes forever to load. And, I repeat, I have the same content… just a different design. And this load leads to unhappy visitors and issues with Google…Again, how can I optimize this?
I really like the theme, but I also really hate these two issues…
The domain is http://www.prwave.ro
Thanks for the help,
LoredanaNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 11, 2016 at 4:36 am #912133Hi,
I checked the URL of your site and it’s very slow at my end. I debugged it further but I could not see the MySQL problem.
From the view-source code, I see the duplicated Facebook script as my screenshot
(function(d){ var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = '//connect.facebook.net/en_US/all.js#xfbml=1'; d.getElementsByTagName('head')[0].appendChild(js); }(document));
Besides that, you need to check the configuration from template manager on your site and make sure it sets like my screenshot
Regards
-
April 12, 2016 at 3:46 pm #916753
Hi,
I have the MySQL error now 🙁 _
April 12, 2016 at 3:49 pm #916754Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 13, 2016 at 3:42 am #917329In this case, you need to check it from configuration.php file with these parameters for example:
public $host = 'localhost'; public $user = 'root'; public $password = 'root'; public $db = 'teline_v'; public $dbprefix = 'nt1qe_';
and make sure it can connect as well with the database of your hosting
April 19, 2016 at 4:38 pm #920039Hi,
I think I didn’t make myself very clear. The site is up and running – so the parameters you suggested are as they should.
The problem is, that in what the MySQL is concerned, the acceptable load is around 0.4-0.6 – while after an hour – TOPS – the MySQL load increases to 1,7-2,7 – at which moment it block my server completely…
So, again, what can I do to optimise this – like I said, it look like ANY and all actions, no matter how small – a simple visit on the homepage – leads to numerous MySQL processes that eventually crush my server.
Again, this is the same server (actually with more memory and bigger hard drives) as in December – until I had the previous theme and no such problem.
it’s inadmissible to have to restart the MySQL or httpd processes every hour or so – as I said, I am sure that there are things that can be optimized.
Also, the load issue of the website is not from the Facebook code that appears twice…
If you want to see the admin part, I can always provide an user and a password. But it’s all according to your settings – we didn’t modify anything – and yet there are constant issues.
i don’t want to give up this theme, I really like it… but how can I stop having these MySQL issues – so many processes….
Thank you,
LoredanaNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 6 replies, has 2 voices, and was last updated by Ninja Lead 8 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum