Jump to content
Nimmit

AJAX Attribute Manager support

Recommended Posts

Hello,
I run a 2.3.4 BS-Shop with Ajax AttributeManager for 2.2.x (or 2.3.x).
After updating from php 5.6.5 to 7.1.33 the AttributeManager disappeared in the Admin-Backend.
I mean, I cant change attributes oder make new producs with attributes.
There is a problem with cookies or sessions or something. (Deleting cookies and cache was not helpfully)

May I can take the new AJAX Attribute Manager CE by @raiwa for my Shop? Or this will be senseless?

Share this post


Link to post
Share on other sites
Posted (edited)

Yes, AJAX Attribute Manager BS 2.9.5. includes versions  for EDGE and other BS versions

Do not use 3.0.0, other than stated it doesn't include versions for pre Phoenix.

Edited by raiwa

Share this post


Link to post
Share on other sites

Thank You very much for the quick reply!

But one last question:
If I remove the old files and code from the old Ajax AttributeManager
... and replace ist with the new files... whats happens with my DB?
I got a few thousand articles with 10.000+ attributes in the shop.

Share this post


Link to post
Share on other sites
Posted (edited)

Don't worry, It will not change anything in the db in the products options/attributes tables. But as always, backup.

Make sure  to check the attributes managers config settings. Please see update instructions.

Edited by raiwa

Share this post


Link to post
Share on other sites

Hm. OK.
I've removed the old stuff und installed the new stuff.
But now shows my admin/categories.php a blank page. Normaly, I like white. Its so minimalistic and clean. But...

I found in my errorlogs this:

Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function tep_db_query() in /var/www/xxx/httpdocs/catalog/admin/includes/classes/currencies.php:22\nStack trace:\n#0 /var/www/xxx/httpdocs/catalog/admin/categories.php(18): currencies->currencies()\n#1 {main}\n  thrown in /var/www/xxx/httpdocs/catalog/admin/includes/classes/currencies.php on line 22\n'

I look to admin/categories.php:

  //require(DIR_WS_CLASSES . 'currencies.php');
  require('includes/classes/currencies.php');
  $currencies = new currencies();


Then I take a look to currencies.php:

  class currencies {
    var $currencies;

// class constructor
    function currencies() {
      $this->currencies = array();
      $currencies_query = tep_db_query("select code, title, symbol_left, symbol_right, decimal_point, thousands_point, decimal_places, value from " . TABLE_CURRENCIES);

And now. I have absolutely no idea. I am sad.

 

 

Share this post


Link to post
Share on other sites

I would say that’s unrelated to Ajax attributes manager. tep_db_query is a core function which is defined in includes/functions/database.php

Check that you have this file and the function in place.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×