Show Posts


Topics - raj@ad4u.co.uk

Pages: [1]
1
General Support / Inconsistent CSV export
« on: August 25, 2019, 04:35:27 AM »
Hi,

I have about 60,000 items and the shop is working fine.

I need to export the products and Url_aliases which I use to create feeds for google sitemap and merchant store.

Something changed recently or I've reached a number of items where this issue has come up. I have to export the
products files as items 0-39999 and items 40000-99999 otherwise the process does not complete and there is no output to the browser or in the admin/system/data on the server.

The issue:
For the first file 0-39999 the image url is at field 60 in the CSV
For the second file 40000-99999 the image url is at field 56

Ideally I like to be able to export and download everything in one file if that is possible.




2
Search results url changed to https://autodiscover. ..

I don't know if this is a server issue or an abanteCart issue.

Everything has been working for nearly a year now. Recently, a customer complained that the search function goes to a 404 page.

I examined the url and it said "https://autodiscover." then the domain and all the search parameters.

If I remove the "autodiscover." from the url then everything works fine. Don't understand where this "autodiscover." is being added to the url.

Please advise.

3
Support / GDPR - adding cookie warning on main page
« on: December 10, 2018, 10:54:51 AM »
Hi,

Where can I add the following code so that the warning appears and stay on all the pages:

echo '<div style="text-align:center; font-size:90%">
This site uses cookies. <a href="https://www.google.com">Click <button class="blink" style="border:red 1px solid; font-size:90%;">
Exit
</button> to leave the site.
</a>
</div>';

Including the code at the top of "search.php" does work, but it does not appear on index.php.

I just want the user to read the warning and leave if they have an issue with cookies.

Raj

4
How-to questions / Search via urls
« on: August 12, 2018, 09:20:59 AM »
Does Abatecart have parameters which can be to visit a page via a search

On google it works like:
xxxx:\\www.google.co.uk/search?q=HP+EliteBook+850+G1+Notebook+PC

This can be used to provide SEO urls for google merchant center.

5
AbanteCart v2.0 / Search has to be an "AND" search
« on: August 09, 2018, 05:42:38 PM »
Adding keywords has to narrow down the search results:

1. Apple - all apple products
2. Apple Ipad - just Apple Ipad products

The current "OR" search makes no sense.

How can a customer see only "Apple Ipad" products?

I had to customise the PHP code to make it a "AND" search - works fine.

Raj


PS. nearly 40,000 items online an Abantecart is working like a dream - just love it.

6
Tips and Tricks / Search - keep keywords in search box
« on: July 31, 2018, 10:04:08 AM »
Hi,

Is there any way to retain the search - like google does. It helps the customer narrow down to the required
product by adding more details:

1. Dell
2. Dell studio
3. Dell studio model 1557

At the moment all the words have to be retyped to add extra words.

Also there should be an option to make the search an "AND" for all words.




7
the shop is at laptopspareparts+co+uk (please add the dots)

Added about 30,000 products - worked like a dream, but then stated getting memory errors:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 73728 bytes) in /home/laptops2/public_html/core/engine/view.php on line 639

That is with 2G max_memory allocated in php.ini (confirmed by phpinfo)

It just got worse and now nothing works.
 





8
Support / Memory errors - what is eating my RAM?
« on: June 10, 2018, 02:51:50 PM »
****** - My live online shop has stopped working - need help with this.

On the first line of index.php I had added:

echo  memory_get_usage() . " " . memory_get_usage(true);
exit();

I get: 349424 2097152 - which means only 349K available of 2097K.

phpinfo() confirms:
memory_limit   2G   2G

Where is my memory going?

CART ERROR LOG:
2018-06-10 19:06:44 - App Warning: AbanteCart core v.1.2.12 Error: Cannot load image /home/laptops2/public_html/resources/image/1a/6e/c.jpg. Unable to create internal image from file /home/laptops2/public_html/resources/image/1a/6e/c.jpg. Try to decrease original image size 1600x1600px or reduce file size or increase memory limit for PHP.
in /home/laptops2/public_html/core/lib/image.php on line 71

2018-06-10 19:06:44 - App Warning: AbanteCart core v.1.2.12 Resize image error. File: /home/laptops2/public_html/resources/image/1a/6e/c.jpg in /home/laptops2/public_html/core/engine/resources.php on line 345

2018-06-10 19:06:44 - App Warning: AbanteCart core v.1.2.12 Error: Cannot load image /home/laptops2/public_html/resources/image/1a/6e/c.jpg. Unable to create internal image from file /home/laptops2/public_html/resources/image/1a/6e/c.jpg. Try to decrease original image size 1600x1600px or reduce file size or increase memory limit for PHP. in /home/laptops2/public_html/core/lib/image.php on line 71

2018-06-10 19:06:44 - App Warning: AbanteCart core v.1.2.12 Resize image error. File: /home/laptops2/public_html/resources/image/1a/6e/c.jpg in /home/laptops2/public_html/core/engine/resources.php on line 345

9
Generating a SEO url when products are inserted would take a few microseconds - why do we need to use an external extension which takes hours to process the all the products?

When we opt to use SEO urls in settings all the new items inserted should automatically have SEO urls. This will generate consistent urls which always work, unlike the ones produced by the "SEO URLS" extensions which are quite unreliable.

Is there any way to force the system to generate a seo url at the time of inserting an item?

Raj

10
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?

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

Any example shops we can view.


Raj

12
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



13
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





14
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

15
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]

Powered by SMFPacks Social Login Mod