Show Posts


Messages - raj@ad4u.co.uk

Pages: 1 [2]
16
Support / Export timeout - 500 Internal Server Error
« on: June 01, 2018, 05:06:49 PM »
About 15,000 products on an A2HOSTING TURBO site -

Unlimited Websites
Unlimited Databases
Unlimited Storage
Unlimited Transfer
cPanel Control Panel
Free SSL & SSD
Turbo (Up To 20X Faster)
A2 Site Accelerator


Started getting the timeout errors, but the system still created the downloadable file.

Today we added about 3,000 more items. Now we get the timeout error but there is no downloadable file  :(


ERROR MESSAGE: Request Timeout
This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase 'Connection Timeout'.

Is there a way to avoid this error?

Any other way to download all the product details (including SEO url)?


Just noticed the error log -
2018-06-01 22:35:14 - error: AbanteCart core v.1.2.12 Maximum execution time of 300 seconds exceeded in <b>/home/laptops2/public_html/core/lib/data.php</b> on line <b>272</b>

I have set max_execution_time to 60000 in php.ini (confirmed by phpinfo). Does Abantecart set the max_execution_time    to 300 somewhere in the code?

17
Perfect. That is exactly what I was hoping for.

18
What is the largest number of products Abantecart can handle?

Any example shops we can view.


Raj

19
Templates / Re: What's up with the Free VNC Framework?
« on: May 31, 2018, 03:14:36 PM »
It's a new definition of the word FREE  :D

20
API Development / API to get alias SEO url for product
« on: May 26, 2018, 06:51:59 PM »
Hi,

How can I get the full product details by product_id, including the SEO url?

I do get some details, but need the SEO URL to generate a good google merchant feed and sitemap.

Best regards,

Raj



21
Hi,

We use models for customers but need to see SKU when picking goods. We don't want show the SKU to customers.

So for ADMIN views of orders it should show SKU numbers instead of model numbers. Printed orders are fine as they are.

Best regards,


Raj





22
AbanteCart v2.0 / Convert CRLF in description to <br>
« on: May 01, 2018, 04:57:46 PM »
Items manually added where the user types a CRLF in the description can turn the export products file into a nightmare for importing in other software, like a php script to create a google merchant feed.

$products = file_get_contents('C:\$_LaptopSpareParts_Shop\products.txt');
$n=preg_match_all('/(\"[^\"]+?\")/',$products,$match);  //this searches for all "..crlf..."
$k=20;

foreach($match[1] as $m){
    if(strpos($m,"\r\n"))   
        $products = str_replace($m,str_replace("\r\n","<br>",$m),$products);
}


Hope this helps.


Raj

23
Hi,

The "Output Compression Level" is not validated on input and can cause the system  to crash with a blank screen if an incorrect value is entered. Then there is no way to load the shop or admin.

To resolve the issue you need to edit "/core/lib/response.php"

LINE
132   $this->addHeader('Content-Encoding: ' . $encoding);
133       $level = 9;  <-- ADD THIS TEMPORARY LINE TO GET THE SYSTEM WORKING
134   return gzencode($data, (int)$level);
134   }

Once you get back to admin enter a correct value for "Output Compression Level" and remove the above added line.

Hope this helps.

Raj.

Pages: 1 [2]

Powered by SMFPacks Social Login Mod