Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Attributes are erased

 
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 07-20-2016, 07:27 AM
 
Mariusz Mariusz is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 55
 

Default Attributes are erased



After we did an import, all of the attributes are erased and the attribute page appears to be broken on every product. Any solution apart from restoring from backup?
__________________
X-Cart
Version 4.5.4
Version 5.1.11
Version 5.2.15 x3
Reply With Quote
  #2  
Old 07-20-2016, 07:34 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,035
 

Default Re: Attributes are erased

Look at the log files for any errors
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 07-20-2016, 07:39 AM
 
Mariusz Mariusz is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 55
 

Default Re: Attributes are erased

Quote:
Originally Posted by cflsystems
Look at the log files for any errors

[20-Jul-2016 11:22:47 America/New_York] PHP Fatal error: Call to a member function getId() on null in /var/www/vhosts/theshoeshop.ca/theshoeshop/var/run/classes/XLite/Module/Qualiteam/OptionDepend/View/Product/AttributeValue/AAttributeValue.php on line 93
[20-Jul-2016 11:22:47] Error (code: 1): Call to a member function getId() on null
Server API: cgi-fcgi;
Request method: GET;
URI: /admin.php?target=product&product_id=236&page=attri butes;
Backtrace:
#0 Includes\ErrorHandler::logInfo() called at [/var/www/vhosts/theshoeshop.ca/theshoeshop/Includes/ErrorHandler.php:348]
#1 Includes\ErrorHandler::handleError() called at [/var/www/vhosts/theshoeshop.ca/theshoeshop/Includes/ErrorHandler.php:333]
#2 Includes\ErrorHandler::shutdown()
__________________
X-Cart
Version 4.5.4
Version 5.1.11
Version 5.2.15 x3
Reply With Quote
  #4  
Old 07-20-2016, 08:31 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,035
 

Default Re: Attributes are erased

You should report this to the bugtracker

It is also possible you are using older version of XC5 and this is fixed in newer one so you may want to upgrade it
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 07-20-2016, 09:03 AM
 
Mariusz Mariusz is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 55
 

Default Re: Attributes are erased

Quote:
Originally Posted by cflsystems
You should report this to the bugtracker

It is also possible you are using older version of XC5 and this is fixed in newer one so you may want to upgrade it

We are using the latest version of x-cart
__________________
X-Cart
Version 4.5.4
Version 5.1.11
Version 5.2.15 x3
Reply With Quote
  #6  
Old 07-20-2016, 09:04 AM
 
Mariusz Mariusz is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 55
 

Default Re: Attributes are erased

Hi there

We are currently on the newest version, 5.2.15

One of our staff uploaded an incorrect csv file, one of the attribute names was doubles ex - colour(field:global) material(field:global)

I'm not a PHP master, but it looks like xcart was expecting a non null value?
__________________
X-Cart
Version 4.5.4
Version 5.1.11
Version 5.2.15 x3
Reply With Quote
  #7  
Old 07-21-2016, 10:20 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Attributes are erased

Quote:
Qualiteam/OptionDepend

I believe it is a custom module, and from the short name I guess the module makes the list of available options depend on selected ones.

How long ago was the modification made? Perhaps you still can contact the author and ask about the error message.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #8  
Old 07-22-2016, 05:14 AM
 
Mariusz Mariusz is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 55
 

Default Re: Attributes are erased

Quote:
Originally Posted by qualiteam
I believe it is a custom module, and from the short name I guess the module makes the list of available options depend on selected ones.

How long ago was the modification made? Perhaps you still can contact the author and ask about the error message.

Hence, contact you?
__________________
X-Cart
Version 4.5.4
Version 5.1.11
Version 5.2.15 x3
Reply With Quote
  #9  
Old 07-22-2016, 05:35 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Attributes are erased

I mean please submit a ticket at https://secure.x-cart.com/ and contact the developer who made the custom module.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #10  
Old 07-22-2016, 06:59 AM
 
Mariusz Mariusz is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 55
 

Default Re: Attributes are erased

Quote:
Originally Posted by qualiteam
I mean please submit a ticket at https://secure.x-cart.com/ and contact the developer who made the custom module.

We did and received no helpful response.
__________________
X-Cart
Version 4.5.4
Version 5.1.11
Version 5.2.15 x3
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:39 PM.

   

 
X-Cart forums © 2001-2020