"Unknown error in application"

Problems with the Linux version of XAMPP, questions, comments, and anything related.

"Unknown error in application"

Postby coldje » 04. December 2020 03:13

I had installed XAMPP 7.4.11.0 on Ubuntu server 20.04.1 LTS and it was working great. The localhost was working on Apache, Moodle was working, Wordpress was working. I shut the server down and brought it back up two days later. Now localhost does not work. I checked and ports 80 and 443 were not accepting requests, ufw down. When I attempt to launch the XAMPP Control Panel I get:
"Unknown error in application." I then uninstalled XAMPP 7.4.11.0 and installed XAMPP 8.0.0.0. Now I get the same error. Rebooting doesn't help.
User avatar
coldje
 
Posts: 17
Joined: 01. November 2020 16:14
Location: Charlotte, NC
XAMPP version: 7.4.11-0
Operating System: Ubuntu server 20.04 LTS

Re: "Unknown error in application"

Postby Nobbie » 04. December 2020 13:30

coldje wrote:Now localhost does not work.


What is meant by that?

coldje wrote:I checked and ports 80 and 443 were not accepting requests


How did you check that?

Did you check if the ports are in use? See https://www.cyberciti.biz/faq/unix-linu ... e-command/
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: "Unknown error in application"

Postby coldje » 04. December 2020 16:38

What I mean by localhost does not work is if I open Firefox on the MATE desktop and type https://localhost/moodle, Moodle would come up. or localhost anything, I would get a response from the server in the browser. Even if I type https://127.0.0.1, I get nothing. This tells me that either the port is blocked or apache2 is not running.

Ran sudo lsof -i -P -n | grep LISTEN and neither port 80 or port 443 are listed. Port 22 is listed and I can SSH to the server.

What was working before, now does not work after getting the XAMPP Control Panel error: "Unknown error in application"

I read this thread from 2016: https://community.bitnami.com/t/xampp-manager-unknown-error-in-application-on-linux/40360/8 where the a new XAMPP Manager was provided that fixed the problem.
This also happened with Ubuntu and XAMPP.
User avatar
coldje
 
Posts: 17
Joined: 01. November 2020 16:14
Location: Charlotte, NC
XAMPP version: 7.4.11-0
Operating System: Ubuntu server 20.04 LTS

Re: "Unknown error in application"

Postby Nobbie » 04. December 2020 18:13

coldje wrote:This tells me that either the port is blocked or apache2 is not running.


You are definately wrong about that. You would get a message like "Server not found" or "Server not responding" or "Server timeout" or similar. Getting "nothing" usually means, there is process listening, but it does not answer properly. For instance if you have Skype installed and running, it would behave exactly like that.

Another option is that you get an response, but it does not show up in your browser. Probably PHP Code, which has not been running thru a PHP interpreter. Right click on the browser and choose "Show Source...." (or similar), maybe there is PHP code.

If you cannot find out the reason, i would simply install everything from scratch (including Ubuntu).
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: "Unknown error in application"

Postby coldje » 05. December 2020 03:44

I think you're right about reinstalling. I've been wanting to try CentOS. I think there may be a link between this error and Ubuntu server from the brief investigation I've done online, but I'm only about 60% confidant about that at this point. Anyway, I haven't read about any easy fixes regarding this error.
User avatar
coldje
 
Posts: 17
Joined: 01. November 2020 16:14
Location: Charlotte, NC
XAMPP version: 7.4.11-0
Operating System: Ubuntu server 20.04 LTS


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 38 guests