Show Posts

Messages - everchanging

Pages: 1 [2] 3 4 ... 6
Support / Re: About Currency Auto Updater Warning
« on: April 23, 2019, 12:32:18 PM »
Hi Basara,

In all honesty I have no idea.

I just see it from time to time (rarely though) pop-up and I was wondering what is going on here?!

A final question: even if such an error occur it does not affect a customer when placing an order or checking out etc, correct?

Support / About Currency Auto Updater Warning
« on: April 22, 2019, 03:56:13 PM »
Hi guys I have a question:

I receive from time to time the following error:

"Currency Auto Updater Warning: Currency rate code GBP not updated"

Something that I did encounter in the past as well.

Long story short I was advised to go to Alpha Vantage and to create my own"API key".

After I received it, I went to the relevant currency.php file and updated the specific section.

So, even after a couple of months, why do I still get that error again, any ideas?

Thanks in advance

News and Announcements / Re: AbanteCart 1.2.14 is now released
« on: March 27, 2019, 03:52:49 PM »
Hi guys,

just as an update.

As I was waiting for Abolado's reply - so as to make sure that I will not mess up things - the next day; everything appears to have been updated?!

I mean all features (from what I could see) have been added and AbanteCart has been updated to the newest 14 version (something that is also shown at the bottom of the page).

On top of that, another serious issue that I was confronted with (namely a js file that would mess up my product relations) has been resolved as well!!

Wow  :)

My guess would be cloudflare but I cannot be sure about it.

And finally, as if it wanted to troll me, I still receive a massage to upgrade to the newest version.

I do not know what to say but I do love the new features that you guys did add.

Thanks  ;)

News and Announcements / Re: AbanteCart 1.2.14 is now released
« on: March 26, 2019, 10:46:20 AM »
Hi abolado,

yes, first I upgraded the Abantecart version on my test site and there were no problems.

Then, I went to the live version.

Basically, the live version has not issues besides some that I did point out (on the admin side).

So, to the topic at hand:
Are you suggesting that I should go to the database

find the table  `abdw_custom_lists

delete the 'store_id' column and than re-install version 14?

Just to be sure before I proceed doing anything.


News and Announcements / Re: AbanteCart 1.2.14 is now released
« on: March 25, 2019, 11:57:34 PM »
Hi guys,

I updated to the latest version, the message was that the update was successful but when I looked at the bottom of the page I still saw version 13 instead of 14.

When I checked if everything was updated (in install/Upgrade History) everything was upgraded OK.

Afterwards, when I checked the error log I saw the following:

database error: AbanteCart core v.1.2.13 SQL Error: Duplicate column name 'store_id'
Error No: 1060
ALTER TABLE `abdw_custom_lists`
in <b>/.../core/database/amysqli.php</b> on line <b>109</b>

Finally, when I went to the specific database, the column "store id" does exist etc...

What is more, when I open a product the option of:

Stock Locations:

 is available in my cloned store but in the live version it does not appear.

OK, I am puzzled.

Any insights guys I would highly appreciate?

I thank you in advance.  :)

PS: I read the documentation but couldn't find anything in regards to this.
PS 2: when opening the version.php file it displays the correct version.
Code: [Select]

Security / Re: Critical Error Message - Currency rate not updated
« on: March 22, 2019, 03:53:13 PM »
Hi guys, consider this topic closed.

Thank you  :)

Security / Re: Critical Error Message - Currency rate not updated
« on: March 22, 2019, 02:35:52 PM »
Hi Abolado, thanks for the quick reply.

So the only thing that I do change in the following code is:

Code: [Select]
INSERT INTO `{your table_prefix}settings`( `store_id`, `group`, `key`, `value`) VALUES ( 0, 'details',   'alphavantage_api_key',  '-your-own-api-key-');

Code: [Select]
'-your-own-api-key-' -> with the API KEY that I did receive?

Thanks again


I apologize for the bombardment of my questions, but which table do I use for "your table_prefix"? I am looking at a ton of tables right now and I do not want to mess with them?

***Update 2:***

Instead of going to the database, can I not do the following?

To change directly the Api Key with the new that I did receive in the code below?

Code: [Select]
public function updateCurrencies()
        $this->load->model( 'setting/setting' );
        $settings = $this->model_setting_setting->getSetting( 'details', 0 );
        $api_key = isset( $settings['alphavantage_api_key'] ) && $settings['alphavantage_api_key'] ? $settings['alphavantage_api_key'] : '************'; <<<------ This one here -------
        $base_currency_code = $settings['config_currency'];

Security / Re: Critical Error Message - Currency rate not updated
« on: March 22, 2019, 02:18:35 PM »
Hi abalabo and thank you for your reply.

I did go to alphavantage and I did get my API Key.

Just for clarification reasons and to see if I have understood you correctly.

In the following code:
Code: [Select]
INSERT INTO `{your table_prefix}settings`( `store_id`, `group`, `key`, `value`) VALUES ( 0, 'details',   'alphavantage_api_key',  '-your-own-api-key-');

I do the following changes (if I am wrong please correct me):

Code: [Select]
{your table_prefix} -> This I DO change

Code: [Select]
( `store_id`, `group`, `key`, `value`) ->This I do NOT change

Code: [Select]
0, 'details', ->This I do NOT change

Code: [Select]
'alphavantage_api_key', -> I insert the API Key that I did receive

Code: [Select]
'-your-own-api-key-' -> and what do I do here since the API Key that I did receive goes in the previous section?

I thank you in advance

Security / Critical Error Message - Currency rate not updated
« on: March 21, 2019, 03:36:42 PM »
Hi guys,

I received the following Critical error message:

Message status:
Number of repetitions:
Currency Auto Updater Warning: Currency rate code GBP not updated. Trace: #0
…/admin/model/localisation/currency.php on line 230 #1
…/admin/controller/pages/index/home.php on line 173 #2 on line #3
…/core/engine/dispatcher.php on line 293 #4
…/core/engine/dispatcher.php on line 328

How can I resolve this?

General Support / Re: Issues with Product Relations Option
« on: March 04, 2019, 09:05:00 PM »
Hi llegrand,

just did send you a PM.  :-\

General Support / Re: Issues with Product Relations Option
« on: March 04, 2019, 08:50:40 PM »
Hi llegrand,

thank you for your quick reply; I will jump right into it.

Thank you again

General Support / Re: Issues with Product Relations Option
« on: March 04, 2019, 06:45:18 PM »
OK, the problem still exists but when I turned my Settings to System check, the following errors popped up:

2019-03-04 1:41:45 - load error: AbanteCart core v.1.2.13 Error: Cannot create HTML cache for file html_cache.pages.product.product.camila_theme.0.1.USD.1._0_8d6ae5e55c9095d0c0501015041c4b33! Directory to write cache is not writable


#0 .../core/engine/view.php on line 344

Code: [Select]
#0 .../core/engine/view.php on line 344

//Write HTML Cache if we need and can write
if ($this->config && $this->config->get('config_html_cache') && $this->html_cache_key){
if ($this->cache->save_html_cache($this->html_cache_key, $content) === false){
(line 344) $error = new AError('Error: Cannot create HTML cache for file ' . $this->html_cache_key . '! Directory to write cache is not writable', AC_ERR_LOAD);

#1 .../core/engine/view.php on line 267

Code: [Select]
     (line 267) $this->response->setOutput($this->fetch($this->template), $compression);

#2 .../core/engine/controller.php on line 470

Code: [Select]

  $output = trim($this->view->getOutput());
                            if (!empty($output)) {
                                $output = '<span class="block_tmpl_wrapper">'.$output.$debug_output.'</span>';

            } else {
  (line 470)      $this->view->render();

    //Set of functions to access parent controller and exchange information
    public function addToParentByName($parent_controller_name, $variable, $value)

#3 .../storefront/controller/common/page.php on line 103

Code: [Select]

  (line 103)      parent::finalize();

#4 .../core/engine/dispatcher.php on line 341

Code: [Select]
//Request controller to generate output
 (line 341)            $controller->finalize();

2019-03-04 1:41:45 - warning: AbanteCart core v.1.2.13 Invalid argument supplied for foreach() in <b>.../extensions/supplier/storefront/model/checkout/order.php</b> on line <b>844</b>

Code: [Select]
$msg_text .= "<br/><br/>";
 (line 844) foreach ($template->data['totals'] as $total) {
$msg_text .= $total['title'] . ' - ' . $total['text'] . "<br/>";
Is any of the above related to my issue?
Also, how do I solve the follwing issue?   

/home/.../index.php file is writable. It is recommended to set read and execute modes for this file to keep it secured and running properly!

General Support / Re: Issues with Product Relations Option
« on: March 04, 2019, 12:21:52 AM »
Hi Basara,
I will proceed as you suggested and see what is going on; and I will let you guys know about it.

Just give me a couple of days.


General Support / Re: Issues with Product Relations Option
« on: March 02, 2019, 12:30:35 PM »
Hi Lee,

first of let me state that I am not trying to take it out on any developer.

On The contrary... I respect them, I respect their hard work and not everyone can do what the developers can do - not to mention that it is thanks to the developers that we have what we have. Without the developers we would have nothing and would still be living in the stone age.

So yes, I highly respect any developer.

Moreover, I am not trying to dash it out on the developer of the aforementioned extensions; on the contrary his extensions are amazing.

But as you stated, I am frustrated because this is something that has me puzzled.

Also, to be clear about it; I have done no customization in the programming of the AbanteCart code. The only "customization" that has been done is the one through the installed extensions; nothing else nor did I touch the code.

That being said, while looking at the products relations, the various products etc. I am confronted with a puzzling thing, which is:

Let us say that I have 2 types of product categories, product A and product B.

Product category A -> remains unaffected and when I add products (to product relations) it works with no problem.
Product category B -> has been affected and all of these products have the issue that I did mention.

Opening Google inspector/console, according to it the problem is in the js file; specifically towards the end (I have copy-pasted the specific section of the code that was underlined red and appears to have the problem).
You can see the specific section below.

Can you, or anyone find the problem because I cannot locate it.

Code: [Select]
if(,b.url,b.async,b.username,b.password),b.xhrFields)for(f in b.xhrFields)g[f]=b.xhrFields[f];b.mimeType&&g.overrideMimeType&&g.overrideMimeType(b.mimeType),b.crossDomain||d["X-Requested-With"]||(d["X-Requested-With"]="XMLHttpRequest");for(f in d)void 0!==d[f]&&g.setRequestHeader(f,d[f]+"");g.send(b.hasContent&&||null),c=function(a,d){var f,i,j;if(c&&(d||4===g.readyState))if(delete fc[h],c=void 0,g.onreadystatechange=n.noop,d)4!==g.readyState&&g.abort();else{j={},f=g.status,"string"==typeof g.responseText&&(j.text=g.responseText);try{i=g.statusText}catch(k){i=""}f||!b.isLocal||b.crossDomain?1223===f&&(f=204):f=j.text?200:404}j&&e(f,i,j,g.getAllResponseHeaders())},b.async?4===g.readyState?a.setTimeout(c):g.onreadystatechange=fc[h]=c:c()},abort:function(){c&&c(void 0,!0)}}}});function hc(){try{return new a.XMLHttpRequest}catch(b){}}function ic(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",!1)}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=d.head||n("head")[0]||d.documentElement;return{send:function(e,f){b=d.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||f(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var jc=[],kc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=jc.pop()||n.expando+"_"+Eb++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(kc.test(b.url)?"url":"string"==typeof||"").indexOf("application/x-www-form-urlencoded")&&kc.test("data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(kc,"$1"+e):b.jsonp!==!1&&(b.url+=(Fb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?n(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,jc.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||d;var e=x.exec(a),f=!c&&[];return e?[b.createElement(e[1])]:(e=ja([a],b,f),f&&f.length&&n(f).remove(),n.merge([],e.childNodes))};var lc=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&lc)return lc.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=n.trim(a.slice(h,a.length)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};function mc(a){return n.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&("relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&n.inArray("auto",[f,i])>-1,j?(d=l.position(),,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(,c,n.extend({},h))),null!,null!=b.left&&(m.left=b.left-h.left+e),"using"in b?,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,n.contains(b,e)?("undefined"!=typeof e.getBoundingClientRect&&(d=e.getBoundingClientRect()),c=mc(f),{||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===n.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(c=a.offset()),[0],"borderTopWidth",!0),c.left+=n.css(a[0],"borderLeftWidth",!0)),{,"marginTop",!0),left:b.left-c.left-n.css(d,"marginLeft",!0)}}},offsetParent:function(){return{var a=this.offsetParent;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Qa})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);n.fn[a]=function(d){return Y(this,function(a,d,e){var f=mc(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?n(f).scrollLeft():e,c?e:n(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=Ua(l.pixelPosition,function(a,c){return c?(c=Sa(a,b),Oa.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({

While attached is the full js code that has the issue.

General Support / Re: Issues with Product Relations Option
« on: March 02, 2019, 12:14:07 AM »
HI Illegrand and thanks for the reply. I did already update the theme but with no avail.

Here is the thing:
Until I installed the two latest extensions I had no issue (I would go as so far and say until I installed the SEO pack).

I contacted the developer of it and he claims that his extensions would not cause that issue.

And on top of that he pointed me to a page in which I could request his paid( ??? ) assistance in case I need help with AbanteCart.

Question 1: Why is the community here if not to help each other.
Question 2: Why is the documentation available? Obviously to provide additional support (rhetoric question)

And so far I had no issues until a week or so when I installed these extensions.

So here I am: being confronted with the problem, not knowing which or where to find the js file that causes the issue (there are quite a few), where the problem exactly is  - apart from being a js issue - the developer of the extension claiming that his extensions did not cause the problem, I personally don't know how to resolve this etc.

Tell me my friend, in my position, what would you do for a problem that was definitely not created by you; yet, you are dealing with?

Pages: 1 [2] 3 4 ... 6

Powered by SMFPacks Social Login Mod