OTRS-I am running it on Windows System on localhost as a test system - otrs

I am running OTRS on Windows on localhost as a test system.Whenever I create a ticket from customer webfront I am getting this error.
Error: Need ArticleTypeID!
Comment:
Traceback:
ERROR: OTRS-CGI-10 Perl: 5.12.3 OS: MSWin32 Time: Sun Jan 20 13:13:30 2013
Message: Need ArticleTypeID!
RemoteAddress: 127.0.0.1
RequestURI: /otrs/customer.pl

I think you somehow changed this value: Ticket::Frontend::CustomerTicketMessage###ArticleType to something that does not exist in the database.
Navigate to Admin > SysConfig > Ticket > Frontend::Customer::Ticket::ViewNew and reset the value using the circular arrow.

Related

Centoswebpanel roundcube 500 internal server error

I have a digital ocean droplet in that I have installed Centos 7.5, and on that, I have installed CWP, with that there is some problem. the problem is that I have created the emails in that CWP when I try to login the Roundcube using that email then it redirects me to the blank page. and when I debug the round cube then I got one error in the network that when I enter the email id and password and click on the login then I saw the 500 internal server error in the post request of Roundcube.
I have also tried by deleting the emails from CWP and also checked by creating new emails but the errors remain, and also I have deleted the droplet and created the new droplet and tried doing so but the error still exists.
I have installed CWP el7-latest.
Error Logs
[11-Feb-2019 07:13:36 UTC] PHP Fatal error: Uncaught Error: Class 'Net_IDNA2' not found in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/bootstrap.php:405
Stack trace:
#0 /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_utils.php(891): idn_to_ascii('localhost')
#1 /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_utils.php(869): rcube_utils::idn_convert('localhost', true)
#2 /usr/local/cwpsrv/var/services/roundcube/program/include/rcmail.php(600): rcube_utils::idn_to_ascii('localhost')
#3 /usr/local/cwpsrv/var/services/roundcube/index.php(109): rcmail->login('support#buywpte...', '', 'localhost', true)
#4 {main}
thrown in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/bootstrap.php on line 405
If anyone knows please help.
Anyone looking for the fix in 2021 here is what I used http://forum.centos-webpanel.com/index.php?topic=11376.0.
curl -s -L https://www.mysterydata.com/upload/tmp/cwp_rc_fix.sh | bash
Run this SSH Command to update roundcube on your CWP
sh /scripts/mail_roundcube_update

Django project 'site cant be reached'

I've created a Django project and a virtual environment where I installed python on my Ubuntu server. When I try to run the development server by typing
$ ./manage.py runserver 0.0.0.0:8000
I get the usual
Performing system checks...
System check identified no issues (0 silenced).
April 01, 2017 - 11:36:55
Django version 1.10.6, using settings 'myproject.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
However, when I go to the site [my ip address]:8000 I get a 'This site can’t be reached' message, anyone know any causes for this? thanks
It was a security group problem in the server, I didn't have custom TCP rule 8000 enabled

http://127.0.0.1:8000/ isn't working on Chrome but working fine on Internet Explorer

I've recently installed django on Windows Server 2012 R2.
When I run python manage.py runserver it tell mes to use http://127.0.0.1:8000/ . Its working on Internet explorer but in Firefox and Chrome I get the following error.
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: http://127.0.0.1:8000/
Connection to 127.0.0.1 failed.
The system returned: (111) Connection refused
The remote host or network may be down. Please try the request again.
Your cache administrator is administrator.
Bypass proxy wasn't enabled. It worked after enabling.

Deploying Django with Mezzanine on FastCGI

I'm in the middle of trying to deploy a Django project on Subsys.no, Who uses FastCGI. I have never deployed a project before and have been trying for 3 days straight.
I have made a virtualenv on the server and installed all the packages I need.
I have uploaded (FTP) the project I have onto the server (in the correct place)
I have tired using Fabrics "fab all" command on the server and locally. The server gave this response:
--
all
---
-------
install
-------
$ cat /etc/default/locale ->
Fatal error: Low level socket error connecting to host subsys.no on port 22: Connection refused (tried 1 time)
Underlying exception:
Connection refused
Aborting.
The local gave the same answer but with one twist:
Fatal error: Timed out trying to connect to subsys.no (tried 1 time)
Underlying exception:
timed out
I'm not sure if the error lie here or here on the site. It gives out alot that I dont understand.
All help is greatly appreciated and thanks in advance!

500 server error in django

My project works fine on my PC, then I updated it on the server. I have 500 error (Server Error). In logs (apache2 error.log) there no errors, if I choose debug true, everything is ok. I think that problem contains with django, but I cant find any logs, to fix bugs.
Server:
Linux 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Django 1.5. How to fix that?
Thanks.
If it is running fine on debug, you may have missed to set up your allowed host:
ALLOWED_HOSTS = ["domain.com"]
Also make sure that you have a valid email address in ADMINS, so you can get tracebacks via email in production.