Show Posts


Topics - paulbg

Pages: [1]
1
General Discussion / error.txt created by view.php
« on: December 27, 2021, 03:18:19 PM »
Hi, any advice most welcome please.
This code error is out of my league of understanding so any help is greatly appreciated

The error.txt  code has recently begun, with no known changes to the site. It has been running perfectly for several years:

2021-12-27 19:01:32 - warning:  AbanteCart core v.1.2.10 count(): Parameter must be an array or an object that implements Countable in <b>/home/bearsofb/public_html/bearsofbath.co.uk/AbanteCart/core/engine/view.php</b> on line <b>569</b>

view.php:

   /**
    * return path to the template resource
    * @param string $path
    * @param string $filename
    * @param string $mode
    * @return mixed
    */
   private function _get_template_path($path, $filename, $mode){
      //look into extensions first
      $res_arr = $this->_extensions_resource_map($filename);
      //get first exact template extension resource or default template resource otherwise.
569      if (count($res_arr['original'])){
570         return $res_arr['original'][0];
571      } else if (count($res_arr['default'])){
572         return $res_arr['default'][0];
      }

      $template_path_arr = $this->_test_template_paths($path, $filename, $mode);
      return $template_path_arr['path'];
   }


The error.txt file is growing each day by 2.5GB and I have to keep deleting it to stop my quota overflowing:



2
Customization help / Fallback hyperlink
« on: March 01, 2018, 05:55:03 AM »
The fallback image when used on a mobile phone, links to the banners template, which returns 'page not found'. Is there a way to remove any link from the fallback image?

3
Customization help / Thumbnail spacing/sizing Home page
« on: February 12, 2018, 08:34:58 AM »
Searched around, can't find this issue explained anywhere.

The Home page template spaces each product into a holder and resizes accordingly. Four items per category (default)

I would like to alter that spacing so I can get items closer together. My site has a black background so they look a bit too far apart. What does anyone suggest?
thanks.

4
Am I missing something?  My only payment in PayPal standard. Only Shipping option, Royal Mail (with varying rates and options)
When Guests checkout, Delivery Information gives Shipping Options and when one is selected the PayPal payment option opens. When PayPal is selected the checkout and payment goes through.

When registered approved Customers get to  Delivery Information and when shipping option is selected, no PayPal option opens or any other payment option. Continuing just gives the error: Error: Payment method required!

Thanks.

5
General Support / Directory root problems.
« on: August 19, 2017, 08:46:59 AM »
Hi, I installed AbanteCart in a directory: mydomain/AbanteCart (standard install) From there I built up the cart while my current HTML site resided in the root: mydomain.  Now the cart is ready I have updated the domain name root directory to: public_html/domainnamedirectory/AbanteCart.
However it doesn't load properly, it loads index.php and some images but not any of the stylesheets. (The old root directory doesn't contain any files now by the way.) Any suggestions? Thanks.

6
How-to questions / 'Out of stock' text replacement.
« on: July 22, 2017, 11:40:46 AM »
I need to change the 'Out of Stock' label on product blocks to read 'Adopted' I know,
innerHTML:"Out Of Stock"
innerText:"OUT OF STOCK"
are called by .thumbnail.nostock  but I can't find which template file adds this text. 
Any help I would be grateful.

7
I've been through almost every file. What file adds the HTML to the .maintext blocks please? I need to change them to more suitable ones :-)

Pages: [1]

Powered by SMFPacks Social Login Mod