Em Andamento

Virtuemart 3'rd Party Module Fix

My name is Travis Barton, webmaster for TheRenovationStore.com. We have a 3’rd party module we downloaded for our Joomla website for use with Virtuemart. We have had no luck talking to the supposed support team for the module and we’ve isolated it as the problem module causing our new server to timeout. It is a module designed to enable users to add products to a Favorite list saved to the database and also share their favorite lists with other users on the website. This depth of coding and troubleshooting is a little over my head and we would still very much like to have this functionality on the website.

So, we need someone to take a look at this module and optimize it for our server, here is what the server support told us about the server timeouts:

“"No suitable nodes" is an error that occurs as a result of a script exceeding the maximum timeout value. If a client connection does not receive a response from the server after approximately 30 to 60 seconds the load balancer will close the connection and the client will immediately receive the error message. In most cases, the script will continue to execute until it reaches completion, throws an error, or times out on the server, but the client will not see the page load as expected and will instead receive this error.

If you're seeing timeouts intermittently I would recommend auditing your code, because that likely means it could use optimization or needs to be broken down into smaller pieces. For instance, if you were inserting several records into a database, try inserting a few at a time and then sending back a response to the client's browser.

For longer running scripts in PHP you can use the 'exec' function to run scripts in the background and have the script write its status to a database or a file. Then you could use AJAX to display a loading bar and check the script's status. Once it's completed you can then remove the loading bar and proceed to a completion page. This is just an example, but the concept is good for anything. Another option is to run the script as a cron job using PHP or Perl instead of HTTP, which circumvents the load balancer's timeout.

The bottom line when it comes to code causing this error is that data must be sent back to the client's browser to keep the connection alive. So regardless of what sort of processing a page is doing it must return data frequently or the load balancer will assume the connection has been dropped and will forcefully terminate it.

Another common cause is that your site is trying to load files that don't exist (404 errors). This dramatically slows a site down and in rare cases can cause a timeout. More commonly a site that is loading data from an external location can see load issues causing a timeout. For instance, if your site relies on Google Analytics, [url removed, login to view], or PayPal and for some reason these corresponding services go down or begin responding slowly, your site will see a performance hit that in some cases can cause the page not to load or to load intermittently. Keep in mind that all sorts of plugins for content management systems like Wordpress and Joomla use third-party services behind the scenes, such as [url removed, login to view] and Twitter.

It's also a possibility that the script simply uses a heavy amount of resources. If this is a PHP site you may need to try increasing the memory limit--which defaults to 32MB--to something more appropriate for your site, such as 64M or even 128M in extreme cases. There is a knowledge base article on that here:

[url removed, login to view]

If you're not familiar with using an .htaccess file--as the above article requires--you may take a look at these articles:

[url removed, login to view]

[url removed, login to view]

In extremely rare cases you can see this message due to an invalid cookie being stored by your browser, which will cause you to see the error message on pages that initiate a session on your site (such as login or member pages--or sometimes even your homepage). Although rare, it's a good idea to clear your browser cache and try the page again to verify that this is not the case.”

I’ve attached the source files for the modules. We’ve spent a lot of time on this already and need this taken care of ASAP.

Thank You,

Travis Barton

Webmaster

Habilidades: CMS, Comércio eletrônico, Joomla, PHP

Ver mais: wordpress support services, wordpress optimization services, what is in a background check, what is a background check for a job, what is a background check, we will fix it, we trying to function, website not responding fix, website is not responding fix, website errors fix, webmaster for joomla, use case module, twitter content management, the need for auditing, services on line php, services fix, paypal webmaster, party management website, out source coding, net fix com, my fix com, module pages, maximum problem, location services google, loading function in php

Acerca do Empregador:
( 1 comentário ) Edmonton, Canada

ID do Projeto: #592698

Premiar a:

yusely

Please check your PMB.

$100 USD em 3 dias
(22 Avaliações)
5.7

4 freelancers estão ofertando em média $188 para este trabalho

sat12345

Plz check PMB...

$250 USD in 3 dias
(51 Comentários)
3.9
KulendraNet

Please check PMB

$200 USD in 5 dias
(2 Comentários)
2.0
ibdtechnology

I can do this, please check the pmb

$200 USD in 5 dias
(4 Comentários)
2.0