Error Uploading Dictionary: Error 500
-
- Posts: 606
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Error Uploading Dictionary: Error 500
Dear Team;
I initially developed an application using CSPro 7.7.3, and I am now attempting to deploy the same application in CSPro version 8.0.1. However, during deployment, I encountered the following error: "Error uploading Dictionary: Error 500."
My current environment details are as follows:
XAMPP Version: 8.0.30
Control Panel Version: 3.3.0
CSWeb Version: 8.0.1
Please advise on how to resolve this issue at your earliest convenience.
Thank you.
a.
I initially developed an application using CSPro 7.7.3, and I am now attempting to deploy the same application in CSPro version 8.0.1. However, during deployment, I encountered the following error: "Error uploading Dictionary: Error 500."
My current environment details are as follows:
XAMPP Version: 8.0.30
Control Panel Version: 3.3.0
CSWeb Version: 8.0.1
Please advise on how to resolve this issue at your earliest convenience.
Thank you.
a.
-
- Posts: 215
- Joined: November 21st, 2022, 4:41 pm
Re: Error Uploading Dictionary: Error 500
Hello,
Error 500 is the code for a general internal server error. Could you attach your logs? This includes CSPro's sync.log file, your server's api.log file (from csweb/var/logs directory using CSWeb), and your server's php error log if you have one.
Thank you,
Justin
Error 500 is the code for a general internal server error. Could you attach your logs? This includes CSPro's sync.log file, your server's api.log file (from csweb/var/logs directory using CSWeb), and your server's php error log if you have one.
Thank you,
Justin
-
- Posts: 606
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: Error Uploading Dictionary: Error 500
Dear Justinlakier;
Please find attached required files.
thanks.
a.
Please find attached required files.
thanks.
a.
- Attachments
-
- api-2024-06-28.log
- (4.19 KiB) Downloaded 243 times
-
- sync.log
- (1.78 MiB) Downloaded 229 times
-
- Posts: 606
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: Error Uploading Dictionary: Error 500
The same error occurs on Wamp64. This issue arises during the application deployment."
i am using
WampServer 3.2.6
phpmyadmin 5.1.2
php 8.1.0
Apache/2.4.51
CSWeb 8.0
thanks.
a.
i am using
WampServer 3.2.6
phpmyadmin 5.1.2
php 8.1.0
Apache/2.4.51
CSWeb 8.0
thanks.
a.
- Attachments
-
- api-2024-06-29.log
- (430 Bytes) Downloaded 204 times
-
- Posts: 606
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: Error Uploading Dictionary: Error 500
Dear Team,
Any update?
Any update?
Re: Error Uploading Dictionary: Error 500
Can you give us the steps that led you to this state? As a workaround, you can run in phpMyAdmin this statement to drop the existing trigger.
This code drops the existing triggers and allows the application to create the new dictionary tables in the database.
Code: Select all
DROP TRIGGER IF EXISTS hpsdb.tr_HPS_HH_DICT;
DROP TRIGGER IF EXISTS hpsdb.tr_WOMAN_QUES_DICT;
-
- Posts: 606
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: Error Uploading Dictionary: Error 500
Dear Savy;
I hope you are doing well.
The step are as follows:
https://drive.google.com/file/d/1Y2BLSa ... sp=sharing
The same error occured on the in XAMPP server with the same steps. However, it is now working fine. I have no idea what happend.
Best regards.
a.
I hope you are doing well.
The step are as follows:
- Initially, there is no information available about any dictionary in the triggers.
- First, create a database named hpsdb1.
- Copy the csweb folder, rename it to hpsweb, and run the setup.
- After successful configuration, the triggers still do not contain any information about a dictionary.
- Deploy the application, and you will encounter an error.
- Run the SQL command as mentioned. The dictionary has been removed.
- Deploy the application again, and the same error occurs.
- Wampserver 3.2.6 - 64bit
- PhpMyAdmin 5.1.2
- Apache 2.4.51
- PHP 8.1.0
- CSWeb 8.0.1
https://drive.google.com/file/d/1Y2BLSa ... sp=sharing
The same error occured on the in XAMPP server with the same steps. However, it is now working fine. I have no idea what happend.
Best regards.
a.
Re: Error Uploading Dictionary: Error 500
This is strange. We will fix the trigger creation issue anyway.
-
- Posts: 606
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: Error Uploading Dictionary: Error 500
Thank you.
a.
a.
Re: Error Uploading Dictionary: Error 500
We found the issue to be related to XAMPP configuration when large dictionaries are used. It does not happen with WAMP because it uses different settings. To resolve this issue on XAMPP, launch XAMPP control panel and increase max_allowed_packet value in MySQL config to larger than default 1M to max_allowed_packet=100M.