X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   General questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=66)
-   -   Attributes are erased (https://forum.x-cart.com/showthread.php?t=74225)

Mariusz 07-20-2016 07:27 AM

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?

cflsystems 07-20-2016 07:34 AM

Re: Attributes are erased
 
Look at the log files for any errors

Mariusz 07-20-2016 07:39 AM

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()

cflsystems 07-20-2016 08:31 AM

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

Mariusz 07-20-2016 09:03 AM

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

Mariusz 07-20-2016 09:04 AM

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?

qualiteam 07-21-2016 10:20 PM

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.

Mariusz 07-22-2016 05:14 AM

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?

qualiteam 07-22-2016 05:35 AM

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.

Mariusz 07-22-2016 06:59 AM

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.

razortw 07-25-2016 03:33 AM

Re: Attributes are erased
 
Quote:

Originally Posted by Mariusz
We did and received no helpful response.

This isn't necessarily a bug.
Could you please share the CSV file you imported so that we can check if it is properly composed.


All times are GMT -8. The time now is 11:27 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.