If I add more than one tag to a product, I’ll get a white page that says, “Error_occurred”…
Any suggestions on how to fix this?
Hello nathand,
Thank you for your message.
I am sorry to hear that you have experienced this problem. In order to understand the exact reason for this problem I suggest that you should do the following:
- Open the config.php file located in the root directory of your CS-Cart installation.
- Add the following line of code:
define('DEVELOPMENT', true);
below this one:
if ( !defined('AREA') ) { die('Access denied'); }
and save the file.
3) Add tags to a product one more time.
After this you should see a detailed description of the error occurred. Please make a screenshot of it or copy its text and paste it here so that I could check the error and provide you with the appropriate solution.
Thank you.
—
Pavel Zyukin
CS-Cart Support team
[quote name='CS-Cart Support team' timestamp='1358756243' post='153236']
Hello nathand,
Thank you for your message.
I am sorry to hear that you have experienced this problem. In order to understand the exact reason for this problem I suggest that you should do the following:
- Open the config.php file located in the root directory of your CS-Cart installation.
- Add the following line of code:
define('DEVELOPMENT', true);
below this one:
if ( !defined('AREA') ) { die('Access denied'); }
and save the file.
3) Add tags to a product one more time.
After this you should see a detailed description of the error occurred. Please make a screenshot of it or copy its text and paste it here so that I could check the error and provide you with the appropriate solution.
Thank you.
—
Pavel Zyukin
CS-Cart Support team
[/quote]
[color=#000000]
[font=Courier][size=3]Database error:[/size][/font] Duplicate entry '0' for key 'PRIMARY' b[/b]
[font=Courier][size=3]Invalid query:[/size][/font] INSERT INTO cscart_tags (tag
, status
, timestamp
) VALUES ('Bionic', 'P', '1358782611')[/color][color=#000000]
[font=Courier][size=3]Backtrace:[/size][/font][/color] File: /home/######/public_html/core/fn.database.php Line: 267 Function: db_error File: /home/######/public_html/addons/tags/func.php Line: 268 Function: db_query File: /home/######/public_html/addons/tags/controllers/customer/tags.php Line: 21 Function: fn_update_tags File: /home/######/public_html/core/fn.control.php Line: 640 Function: include File: /home/######/public_html/core/fn.control.php Line: 459 Function: fn_run_controller File: /home/######/public_html/index.php Line: 22 Function: fn_dispatch
Hello nathand,
Thank you for the provided information.
Unfortunately, I cannot tell what exactly causes this issue. The problem requires the examination on your server. Please contact us via Customer Help Desk and provide temporary access to your server by clicking on the Add record link on the Access information page of your Help Desk account so that we could examine the issue.
Thank you.
—
Pavel Zyukin
CS-Cart Support team