Find Jobs
Hire Freelancers

Opencart expert required: Debug why queries are overloading server

$30-250 AUD

Completed
Posted 5 months ago

$30-250 AUD

Paid on delivery
We are having issues with queries running on our database that is overloading the shared hosting. They have informed us we need to stop these queries running in the future. We require you to debug these errors, advise why they are happening, and propose a fix for the solution. The host informed us that the queries run for over 10 minutes, and load the server up to 400%. The queries are below. [22-Nov-2023 04:46:11 UTC] PHP Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT p.product_id, (SELECT AVG(rating) AS total FROM review r1 WHERE r1.product_id = p.product_id AND [login to view URL] = '1' GROUP BY r1.product_id) AS rating, (SELECT price FROM product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '6' AND [login to view URL] = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY [login to view URL] ASC, [login to view URL] ASC LIMIT 1) AS discount, (SELECT price FROM product_special ps WHERE ps.product_id = p.product_id AND ps.customer_group_id = '6' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) ORDER BY [login to view URL] ASC, [login to view URL] ASC LIMIT 1) AS special FROM product p LEFT JOIN product_description pd ON (p.product_id = pd.product_id) LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND [login to view URL] = '1' in /home/xx/public_html/system/library/db/[login to view URL] on line 66 [22-Nov-2023 04:46:11 UTC] PHP Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT COUNT(DISTINCT p.product_id) AS total FROM product p LEFT JOIN product_description pd ON (p.product_id = pd.product_id) LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND [login to view URL] = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p.manufacturer_id = '25' in /home/xxx/public_html/system/library/db/[login to view URL] Stack trace: #0 /home/xxx/public_html/system/library/[login to view URL](45): DB\MySQLi->query('SELECT COUNT(DI...') #1 /home/xxx/public_html/catalog/model/catalog/[login to view URL](517): DB->query('SELECT COUNT(DI...') #2 /home/xxx/storage/modification/system/engine/[login to view URL](248): ModelCatalogProduct->getTotalProducts(Array) #3 /home/xxx/public_html/system/engine/[login to view URL](47): Loader->{closure}(Array, Array) #4 /home/xxx/public_html/catalog/controller/product/[login to view URL](152): Proxy->__call('getTotalProduct...', Array) #5 /home/xxx/stor in /home/xx/public_html/system/library/db/[login to view URL] on line 66 [22-Nov-2023 22:58:37 UTC] PHP Fatal error: Uncaught Exception: Error: <br />Error No: in /home/xx/public_html/system/library/db/[login to view URL] Stack trace: #0 /home/xx/public_html/system/library/[login to view URL](31): DB\MySQLi->__construct('localhost', 'xxxx', '3306') #1 /home/xx/public_html/system/[login to view URL](80): DB->__construct('mysqli', 'localhost', xxxx', '3306') #2 /home/xx/public_html/system/[login to view URL](104): require_once('/home/xx/...') #3 /home/xx/public_html/[login to view URL](19): start('catalog') #4 {main} thrown in /home/xx/public_html/system/library/db/[login to view URL] on line 10
Project ID: 37464118

About the project

18 proposals
Remote project
Active 5 mos ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I need cpanel access and ftp access. I guess you may need some MYSQL database fix and also PHP code fix. discuss with me more so i finish NOW. let me know please.
$125 AUD in 2 days
4.9 (380 reviews)
7.9
7.9
18 freelancers are bidding on average $137 AUD for this job
User Avatar
" Debug queries are overloading server " sir i read your project brief and I will do your project Please review my similar portfolio https://www.freelancer.com/u/nabeelawais83 My Experience in this field for last 10 years and i m very consistent in my work i work almost 20 hours a day i am highly professional and master in Web designing and developing websites/ Apps field and i will do a great job on your project if you give me the chance and will make you 100% satisfy from my work . Please come to chat for discuss in details. I'm ready to start your project now. Nabeel
$90 AUD in 1 day
5.0 (389 reviews)
7.9
7.9
User Avatar
Hi, I can fix the issue effectively and efficiently. I'm an experienced web developer with the necessary skills for getting this job done. I am available to start immediately. I will provide a great result for you. Looking forward to hearing from you. Thanks
$100 AUD in 1 day
4.9 (149 reviews)
7.4
7.4
User Avatar
✅✅✅✅✅Hello. I am a Senior Full stack Developer with over 20 years of experience. I've checked your project description carefully and yes, I found that my skillsets fits perfectly with your requirement. I can start work right away, so please feel free to contact me any time. Thanks.
$200 AUD in 7 days
4.9 (52 reviews)
6.6
6.6
User Avatar
Hello there! My name is Santosh and I'm a professional freelancer with 10+ years of experience in the field. I specialize in web design, development, digital marketing and API integrations. I understand the critical nature of the database overload and MySQL server errors you're experiencing, and I'm here to propose a comprehensive solution. After analyzing the provided queries, it's evident that certain database queries are causing prolonged execution times, leading to server overload. ✅ To resolve this, I will: -Query Optimization: Review and optimize the queries to reduce execution times significantly. -Indexing: Implement appropriate indexing strategies to enhance query performance. -Error Handling: Introduce robust error-handling mechanisms to prevent fatal errors like "MySQL server has gone away." I will conduct a thorough review of your database structure, identifying bottlenecks and areas for improvement. Upon implementation of these optimizations, I'll monitor the system closely to ensure stable performance. ✅ Additionally, I'd like to discuss: -Hosting Environment: Reviewing your current hosting environment to ensure it meets the database demands. -Database Maintenance: Establishing a routine database maintenance plan to prevent future issues. I'm ready to initiate this process promptly to alleviate the immediate server strain and create a more resilient database structure. Please let me know a convenient time for a detailed discussion. Best Regards, $antosh
$250 AUD in 3 days
4.4 (78 reviews)
6.9
6.9
User Avatar
Hello there! My name is Pllavi and I'm a professional web and mobile app developer. I have worked in this field for more than 10 years and am always eager to take on new and challenging projects. I understand that you are looking for an expert to help with debugging why queries are overloading your server, and I believe I am the best fit for this job. I have experience in a variety of technologies including ReactJs, Nextjs, Strapi, NodeJs, Vue js, Angularjs, MongoDB, ExpressJs, PHP, Laravel, JSON API .Net, Visual Studio CMS .Net Mysql .net WordPress Joomla Phpmyadmin HTML5 CSS3 JavaScript Bootstrap WHM Photoshop Corel draw Drupal etc. I also provide services such as e-commerce websites responsive templates landing page wordpress website real-estate websites corporate websites graphics design logo design PSD to HTML SEO Service Mobile Apps Node js php vue js c# .net Ionic Android IOS app nextJs If you would like to discuss further how my skillset would be best suited for this project please feel free to reach out to me directly. Thank you
$140 AUD in 7 days
4.6 (111 reviews)
6.8
6.8
User Avatar
Hello there! My name is Furqan and I'm an experienced freelancer with a wide range of skills and technologies. I have worked on projects that involve OpenCart, PHP, Swift 2 and more. I understand that you are looking for an expert to help debug why queries are overloading your server, and advise why they are happening so that they can be stopped in the future. With my experience in PHP, OpenCart and other related technologies, I am confident that I can provide the best solution for this project. I would be more than happy to help you with this project. Please let me know if you have any questions or would like me to provide any additional information regarding the project - I'm always available for hire! Thank you for your consideration!
$140 AUD in 7 days
5.0 (16 reviews)
6.1
6.1
User Avatar
Hi, i m very interested for this kind of job and i am expert developer and i can fix this query issues in MYSQL, just knock me via chat, Thanks Rashedul
$200 AUD in 1 day
5.0 (53 reviews)
5.7
5.7
User Avatar
Hey Armand D., Salman here and I would like to contribute my expertise towards debugging the queries that are overloading your server. I am highly experienced in PHP and Open Cart, which makes me a relevant candidate for this project. I am genuinely interested in helping you resolve this issue through my expertise. I understand that you are facing issues with queries running on your database, causing an overload on the shared hosting. The queries are running for over 10 minutes and loading the server up to 400%. This is a significant problem that needs immediate attention. To address this issue, I will thoroughly analyze the provided queries and identify the root cause of the problem. Once I have identified the cause, I will propose a suitable fix to prevent these queries from running in the future. My expertise in PHP and Open Cart will enable me to efficiently debug the errors and provide an effective solution. Before we proceed, I would like to share some relevant links from my portfolio that showcase my previous work. However, if you have any specific requirements or would like to see something different from my portfolio, feel free to let me know! I have a couple of questions to gain a better understanding of your requirements: 1. Are you experiencing any specific issues or errors related to these queries, apart from the server overload? 2. Have you made any recent changes to your database or hosting environment that could have caused this issue? 3. Do you have any specific time constraints or deadlines for resolving this problem? I assure you that I will deliver the job with 100% satisfaction. If you have any questions or would like to discuss further, please feel free to reach out to me via chat or call. Looking forward to hearing from you. Best, Salman
$210 AUD in 7 days
5.0 (2 reviews)
3.1
3.1
User Avatar
Hello, I'm Lazar and I am an experienced PHP developer. With 8 years of experience in web design and development, I am confident that I can deliver a website that meets your needs and exceeds your expectations. I understand that you are looking for an expert to debug why queries are overloading server on your shared hosting. They have informed us they need to stop these queries running in the future. They also require you to stop these queries running for over 10 minutes and load the server up to 400% during this time period. I would be thrilled to help you with your project! With my extensive knowledge in web/App development and full-stack development experience, I am confident that I can provide the best solution for your needs. Please let me know if there is anything else I can do to help make this project happen!
$140 AUD in 7 days
5.0 (2 reviews)
2.1
2.1
User Avatar
❤️Hello After carefully reviewing your requirements, I am confident that I am a great fit for this job. I have more than 5 years of experience in software development and my main goal is to understand the client's requirements and deliver good results in a short period of time. I can start working right now. Please feel at ease to engage in further discussion via chat. best Regards, Heckgress
$50 AUD in 7 days
5.0 (2 reviews)
2.0
2.0
User Avatar
I understand that you are looking for an expert to help debug why queries are overloading your server and propose a solution. I can help! With my extensive experience in software development and relevant skills such as Open Cart, PHP, I am confident that I can provide the necessary expertise to resolve these issues quickly and effectively. I have worked on many projects similar to this one in the past and have successfully delivered high quality results within a short timeframe. Additionally, my commitment to customer satisfaction means that I will do everything I can to ensure that your queries are run for only necessary amounts of time to load the server without causing any issues. If you would like me to discuss further how I can help you with this project please feel free to reach out to me directly!
$140 AUD in 7 days
5.0 (1 review)
1.2
1.2
User Avatar
Hello, I have carefully read the requirement for the project titled "Opencart expert required: Debug why queries are overloading server." It seems that you are facing issues with queries running on your database, which are overloading the shared hosting. The queries are causing the server to reach up to 400% load and run for over 10 minutes. To address this issue, I propose the following solution: 1. Analyze the queries: I will thoroughly examine the provided queries and identify any potential bottlenecks or inefficiencies. 2. Optimize the queries: I will optimize the queries to improve their performance and reduce the load on the server. This may involve rewriting the queries, adding appropriate indexes, or restructuring the database schema if necessary. 3. Implement caching mechanisms: I will implement caching mechanisms, such as query result caching or full-page caching, to reduce the frequency of executing these queries and improve overall performance. 4. Monitor and fine-tune: After implementing the fixes, I will closely monitor the server performance and query execution to ensure that the issue has been resolved. If required, I will further fine-tune the queries or caching mechanisms to achieve optimal performance. I would appreciate the opportunity to discuss the project in more detail through chat. Please let me know a convenient time for us to connect and further discuss your requirements. Best regards, Abrar
$30 AUD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi! I am a seasoned software engineer specializing in ReactNative, iOS, Andriod as well as Game development. I have extensive knowledge in PHP and Microsoft technologies such as SQL Server and Windows. I understand your project requirement of stopping the queries from overloading the server and understanding why they are happening. With my experience in PHP and deep knowledge of how queries function in Opencart, I am confident that I can help address this issue. I believe that my skillset makes me the best fit for this job and am excited to help you solve this problem! Please feel free to reach out if you have any further questions or would like further clarification on my services/professionality.
$200 AUD in 2 days
0.0 (0 reviews)
2.2
2.2

About the client

Flag of AUSTRALIA
West Footscray, Australia
5.0
15
Payment method verified
Member since Oct 10, 2019

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.