Show Posts


Messages - paulbg

Pages: [1] 2
1
General Discussion / Re: error.txt created by view.php
« on: December 31, 2021, 03:15:43 PM »
I appreciate this info, I am working through were the error.txt is created from. Disable isn't in php.ini
Difficult to know which file to put

<?php
// Turn off all error reporting
error_reporting(0);
?>

I have done this but not having any effect:

Removed from:  AbanteCart/core/init.php. 

E_ALL


// Error Reporting
error_reporting(0);          //was.    E_ALL
require_once(DIR_CORE . '/lib/debug.php');
require_once(DIR_CORE . '/lib/exceptions.php');
require_once(DIR_CORE . '/lib/error.php');
require_once(DIR_CORE . '/lib/warning.php');

2
General Discussion / Re: error.txt created by view.php
« on: December 28, 2021, 11:38:33 AM »
I wish I could, thank-you though. I heavily modified the code, page layouts and index when I set this up in 2017. It has worked perfectly for years.
It would totally fall apart if I did and look terrible. AbanteCart theme does not suit this style of site.

The site still works ok and I have long retired from this kind of work, is it possible to disable the error.txt from being written? Or in someway disable the code that causes it. Some template call by the look of it.

Thanks



3
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:



4
Customization help / Re: Fallback hyperlink
« on: March 02, 2018, 09:36:42 AM »
Can't see that Jaja. If you remove the link in the image, of fallback... the image just doesn't appear as a fallback image.

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

6
Customization help / Re: Thumbnail spacing/sizing Home page
« on: February 14, 2018, 09:39:57 AM »
Hi
style.css  Ln: 2761

.thumbnail {
   position: relative;
   padding: 5px 100px 5px 0;

if anyone is interested

7
'Minimum order value' caught me out. If the value of the order is less than the minimum you have set  for shipping, shipping won't appear. The value is in currency.

8
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.

9
Thanks

PayPal location is set to: All Locations.

Yes, I used the same address for both, Guest and Returning Customer. I did have a new customer who tried but couldn't checkout as a customer but can as a guest.

I have just looked at Payment, PayPal option:   Total Order Maximum:  Does this maximum mean the Value of the order in Money or Number of items?
I think that is the problem, it should be set to the max. money value of the order.

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

11
General Support / Re: Directory root problems.
« on: August 20, 2017, 01:19:28 PM »
Thanks for the reply. The directory in settings is unchanged( as is the https: when I set it)
The installation hasn't been moved, from its install directory,  it doesn't need to be surely? All I have done is changed the domain directory's address
from: sitedirectory
to: sitedirectory/AbanteCart
With WordPress .Htacess and index.php need to be copied to the root as well, does AbanteCart need something similar?

It works fine when I point to that directory with other domain names?


12
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.

13
I always think, smartphone. Using telephone numbers and vouchers in the banner, remember smartphones won't show that, they just show the fall-back image. Plenty of choices, have a look at the thumbnail holders. Bootstrap.css and onebyone.css hold some useful things :-) My first journey into AbanteCart (I'm a WordPress guy)   AbanteCart is amazing I have to say. Hmm, the forum won't let me post the web address of my first AbanteCart site? bearsofbath.com

14
How-to questions / Re: 'Out of stock' text replacement.
« on: July 24, 2017, 05:17:05 AM »
Thanks...I just found it as you posted. What about that.

15
How-to questions / Re: 'Out of stock' text replacement.
« on: July 23, 2017, 05:25:59 AM »
I tried that Geoffrey, it changes some instances but not the one on the 'add to cart' area; which is the main one I need to change. Could it be in the database?
When I change the Language to Spanish it becomes Agotado, so it is somewhere?

Pages: [1] 2

Powered by SMFPacks Social Login Mod