Show Posts

Messages - Geoffrey

Pages: 1 ... 8 9 [10] 11
General Support / Re: 9101 App Warning
« on: June 19, 2017, 01:21:31 PM »
OK, thank you!

General Support / Re: 9101 App Warning
« on: June 19, 2017, 03:16:59 AM »
Hi, id-1 is my template extension. 

I cloned the default template into an extension called id-1, and I am customizing the css and tpl files of id-1. 

According to the documentation and feedback here, this is the proper method for customizing AbanteCart so that my changes are not overwritten during future updates. 

It seems natural that my work in id-1 would 'override" the core template.  That is the goal. 

But it seems less natural that i would receive a repeated stream of "override errors" in an error log as a result of using the proper process for customizing AC.

Thoughts or suggestions?


Customization help / Re: order_summary.tpl
« on: June 18, 2017, 03:41:16 PM »
Thanks for the suggestion. 

I got to looking at the guest_step tpl files that have code for a "Guest Checkout" title (which I commented out).
I compared the guest title code to the top lines of order_summary.tpl.  It was pretty easy to emulate the guest code in order_tpl, and also a little educational. 

I don't know php, but I'm starting to see some of the relationships & methods.

This is how I placed a small title above the sidewidt Order Summary, by editing order_tpl:

Delete line 3:
<h2 class="heading2">
        <span><?php echo $heading_title; ?></span>

Replace with:
<h4 class="heading4">
   <span class="maintext"><?php echo $heading_title; ?></span>


General Support / 9101 App Warning
« on: June 17, 2017, 01:35:12 AM »
9101::App Warning
Extension id_1 overrides core template with pages/index/home.tpl in C:\xampp\htdocs\mywebsite\core\engine\view.php on line 309

I'm getting a lot of these errors in my error log.  They come in batches of 15 or 20 errors, each referencing a different tpl file, but all naming the same view.php line 309.

The batches occur about every 20 minutes or so during times when i'm working on the site. 

I'm customizing a default clone extension. 

Is this normal, or BAD? 

Should I ignore, panic, or sleep? 


Backup failure message:

Task Failed

Step 1: success
Task_id: 10 : step_id: 20. 122 tables dumped.

Step 2 - failed. (Connection error occurred. (
Notice: Undefined index: exception_msg in C:\xampp\htdocs\mywebsite\static_pages\index.php on line 71
There has been a critical error processing your request
Please check AbanteCart and webserver error logs for more details. You can check error log in the control panel if it is functional. Otherwise, refer to error log located on your web server

Step 3: success
Task_id: 10 : step_id: 22. ( backup content files )

Abantecart error from log (repeated):

2017-06-17 6:10:36 - warning: AbanteCart core v.1.2.10 Error while sending QUERY packet. PID=8024 in <b>C:\xampp\htdocs\inspired-designco\core\database\amysqli.php</b> on line <b>74</b>
2017-06-17 6:10:36 - database error: AbanteCart core v.1.2.10 SQL Error: MySQL server has gone away
Error No: 2006
SQL: UPDATE idco_task_steps
SET status = '5'
WHERE step_id = 21 in <b>C:\xampp\htdocs\inspired-designco\core\database\amysqli.php</b> on line <b>109</b>

Apache errors from log (repeated):

[Fri Jun 16 21:10:36.309581 2017] [:error] [pid 8024:tid 1944] [client] PHP Notice:  Undefined index: exception_msg in C:\\xampp\\htdocs\\mywebsite\\static_pages\\index.php on line 71, referer: ofnumbersandletterstoken

mysql errors from log - no errors from backup timespan. 

Soo, this is all Basque to me.  Can anyone suggest steps to resolve? 


OK, i found a way to redirect the cart_top checkout icon link to guest_step_1:

Go to id_1/template/blocks/cart_top.tpl, change line 29 instance of

href="<?php echo $checkout; ?>"   



It's pretty blunt, but it works, and I basically understand why it works. 
I don't really understand exactly why the bladerunner approach worked, so I may go back and try my url-direct approach on the 2 checkout buttons on the cart page.   

I would still like to hear if these two hacks are a really bad idea from a functional or security standpoint. 
I know they're ugly and un-eloquent, but I don't speak php so it's the best i can do without guidance. 



I see what you mean. 

If you wish to delete the undesired products, there is a solution.

Go to Products. 

In the search area at the top, do a search using only one parameter: Select Category.  Leave everything else blank.  In the Select Category drop-down, choose the target Category and click the Go button. 
(you may need to re-enable the disabled target Category before you do this?)

This will yield a list of only the products from the target category. 

At the bottom of the displayed list, choose All to display all products in one long list. 

Tick the top-most checkbox to put a check in the box of every product. 

At the bottom right of the displayed list, click the Choose Action drop-down, choose "Delete selected". 

That should delete all of them. 

If you don't want to delete them, do some research and learn what the capabilities of the "Save selected" option are.  Maybe you can save them all as "off"?  I don't know, never tried it. 

Last idea: ask the AC dev's to add 2 more options to that Choose Action drop-down menu: Turn On, & Turn Off. 

Good luck!

Customization help / Re: order_summary.tpl
« on: June 15, 2017, 03:37:23 PM »
OK.  Sorry. 

The guest_step_1 and guest_step_2 pages both have an order summary on the right side of the page. 

The order_summary.tpl file has what appears to be a call for a title for these elements, on line 3:
<h2 class="heading2"><span><?php echo $heading_title; ?></span></h2>

But the title does not appear above those elements on either page. 

I think a title would look good there. 

Can you suggest a method for getting the title to display?


I have the same goal as bladerunner did 2 years ago.  Basically removing all aspects of "account" and "registration" from the AC site. 

I used his described method to redirect the 2 Checkout buttons on the cart page to guest_step_1. 

It works. 

I also removed the "Guest Checkout" title from guest_step_1 and guest_step_2, so those pages now look like standard checkout pages. 
Method: in /template/pages/checkout/guest_step_1.tpl and also in /template/pages/checkout/guest_step_2.tpl
comment out line 2:    <span class="maintext"><?php echo $heading_title; ?></span> 

My problem: I have not been able to figure out how to redirect the Checkout Icon link in cart_top to guest_step_1. 

I have 2 questions:

1.) Is the bladerunner approach described below a "suitable & stable" approach, or is there a better way?

2.)  How to redirect cart_top checkout icon link to guest_step_1? 

I'll keep working on this, but any tips would be appreciated. 


Make sure:
1. you have at least one Delivery method enabled (installed and status is ON)

This was the cause of the problem. 

When I first installed the store, I selected the USPS shipping extension. 

Later, when I turned on the default_free_shipping extension, it apparently turned off the USPS extension. 

Then when I turned off the d_f_s extension, the USPS extension stayed off.  So there was no "Delivery method enabled", as you said above. 

Problem solved. 


General Support / Re: Maintenance Mode bug?
« on: June 14, 2017, 09:01:55 PM »
Maybe it was a cache thing. 

I keep the css inspector running, and in Chrome, cache is never used when the inspector is running.  So i rarely bother to go clear cache, either on Admin or on the browser. 
My css edits & tpl changes appear regularly without clearing cache. 

However, I just played with more icons, with Maintenance Mode off, and even though the inspector was running, I still had to clear the Admin cache before the icon change result showed up on the page.  Maybe icons are more stubborn? 

General Support / Re: Maintenance Mode bug?
« on: June 14, 2017, 08:48:19 PM »
I just noticed something else:

While in maintenance mode, I edited cart_top.tpl to increase the size of the cart and checkout icons.
Example: changed
<i class="fa fa-shopping-cart fa-fw">
<i class="fa fa-shopping-cart fa-2x">.

I was bummed to see that this change did not work. 
Then I walked away from PC etc as described in sequence above. 

Later, after starting over in fresh browser, I see that the 2x size change DID work.  But it only appeared after disabling Maint Mode. 

So, I'm guessing that css and tpl edits do not manifest while in MM? 

Maybe that's by design. 

If so, seems fine, but maybe the Maintenance Mode help bubble could allude to that fact. 

Or maybe there is a simple fix that would allow customizations to appear on refreshed site pages while MM is being used, because it kind of seems like that's what MM is for, maybe?

I'm no expert, but have you tried turning off the product in question? 

Each product has an on/off Status button in the list of products at Admin>Catalog>Products.

If I'm understanding Basara's comment correctly, the status of a product (on or off) is independent of any Category status. 

hope this helps...

General Support / Maintenance Mode bug?
« on: June 14, 2017, 08:32:11 PM »
Hello, I turned on Maintenance Mode this afternoon.  It worked.  I could access every page on the site.  Each page had a MM reminder flag at the top. 

I walked away for 2 hours, came back, refreshed a page, and got the "Maintenance message instead of page content. 

So I logged back on to Admin, and clicked the Storefront button to reload the site.  Still got the Maint message. 

So i closed the browser, opened a new browser, paused adblock, loaded and logged on to Admin, clicked Storefront, still got the Maintenance message. 

So i turned off Maint Mode, then clicked storefront again, this time it worked. 

Apparently, if you walk away for long enough for the Admin to log you out due to inactivity, then everything seems to get stuck in MM, regardless of login status on fresh browser.  buggy? 

I've been setting up a site, and I had everything working pretty well all the way through the last checkout page.

Today, when i started AC admin, I was reading the various settings menus that come up every time you start AC admin.  On the last page, I clicked an extension called default_free_shipping extension.   I have no idea why i did that.  I thought it was part of the site.   

It looks like it's a not-very-useful tool that places a free shipping box with an icon on the 2nd checkout page.  I don't need that.  So I turned it off. 

Now I get two errors on my 2nd checkout page. 

It says Success: You have successfully saved your settings!   It says this in a green box ON MY CHECKOUT PAGE!?!.
Right under that, it says Error: No Shipping options are available. Please contact us for assistance!  in a red box. 

This page was working before I started that extension.  Now the page doesn't work. 

When I set up all my products, I enabled Free Shipping in the Product Summary setup page for each product.  Based on this setting, the cart was working fine. 

Then I turned that extension on, then turned it back off, and now the cart has errors. 

I have several questions:
1 - How do I fix this? 

2 - what is this extension?  It has a name that makes it seem like part of the AbanteCart system, but i guess it is not part of the system?  Do i need it for the site to work correctly?  What is it? 

3 - Is AbanteCart able to function completely without adding any extensions?  Or does it need some extensions in order to work properly?  If so, which ones? 

4 - Why does the "new site" settings pop-up continue to come up every time I start AbanteCart admin?  Is there a way to disable it? 

Pages: 1 ... 8 9 [10] 11

Powered by SMFPacks Social Login Mod