Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Deprecated error: Ajax Attribute Manager v2.8.2 beta


tonymatt

Recommended Posts

I feel the install went well. I do not have any extra's that are in the instructions.

 

In admin, editing my product, there is much code that popped up ending in the following:

 

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\osc231\catalog\admin\attributeManager\includes\attributeManagerGeneralFunctions.inc.php on line 55

 

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\osc231\catalog\admin\attributeManager\includes\attributeManagerGeneralFunctions.inc.php on line 58

 

Functions.php:

 

$attributeManager =& new attributeManagerAtomic(amGetSessionVariable(AM_SESSION_VAR_NAME));

}

else

$attributeManager =& new attributeManagerInstant($_GET['products_id']);

 

***

 

In the front end, at the products Product Info page is:

 

Warning: mysql_fetch_array() expects parameter 1 to be resource, null given in C:\wamp\www\osc231\catalog\includes\functions\database.php on line 99

 

Database.php:

 

return mysql_fetch_array($db_query, MYSQL_ASSOC);

 

****

 

I am searching to try and find a start on what to do. If anyone has a clue I would appreciate it. Thanks.

Link to comment
Share on other sites

Hi tony,

You need remove the &, after this, the php code need look like this:

Functions.php:

 

$attributeManager = new attributeManagerAtomic(amGetSessionVariable(AM_SESSION_VAR_NAME));

}

else

$attributeManager = new attributeManagerInstant($_GET['products_id']);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...