On contacting the service provider, they say it is issue with the application since our VPS PHP Execution time was initially 90s and now it has even increased for 1500s.
"URL timeout: HTTP request timeout"
Can you guide me to overcome this?
Sitemap error screenshot file. - sitemaperror.png (25.89 KiB) Viewed 3260 times
For professional OpenCart, HTML/CSS & PHP/MySQL support feel free to PM me
Click here for my extentions
Did I help you? Donate here to show support
Follow me on Twitter!
Catch me on Facebook!
Watch YouTube OpenCart Tutorials and Extension Demos
Did anyone solve this issue?
I am getting the same gateway timeout problem with a multistore I have just setup which has ~7000 products
The parent store has ~4000 products and does not have this problem.
SEO Pack Pro
All Products From Subcategory in Parent Category
All Products From Subcategories in Parent Category Filters
Remove Return Links
Bug fixes applied:
Fix for Tag Filters not working (see OpenCart 1.5.5 Bug Thread)
I look after a site with about 15000 products. across 4 different stores (running on one opencart instance). I created an extension which creates product and category sitemap xml files but limited to about 200 product/categories per file, so effectively breaking up a single large xml file into lots of smaller ones.
Have a look at: http://www.vermontsales.co.za/sitemaps/ ... salescoza/
Freelance Developer and Opencart Zealot
http://www.opencart.com/index.php?route ... @gmail.com
It's the first thing that comes up in Google after you search "opencart sitemap timeout".
I had the issue with timeout because this particular site (that I'm working on currently) uses Cloudflare and the Cloudflare timeout limit is 100. So even if I increase the default PHP timeout from 30 to 0 (indefinite), it still can't work.
What you must do?
- You must make the sitemap not to be generated every time but to be written to a static file.
At the end of public function index():
Comment these 2 lines:
Code: Select all
$this->response->addHeader('Content-Type: application/xml'); $this->response->setOutput($output);
Code: Select all
* This code example is from OpenCart 184.108.40.206, but should be similar if not the same on all other versions.
Now you will put your default sitemap path "/index.php?route=extension/feed/google_sitemap" to a cron job, for example every hour or 2 times per day, or run it manually if your products are not changed much.
And you will use in Google or other sitemap-requiring places the new static sitemap (yoursite.com/sitemap-something.xml) instead of /sitemap.xml (which is processing every single product every time you open it).
Users browsing this forum: No registered users and 0 guests