I created a custom 404 error page.
<h1>Page not found</h1>
But when I reload/restart apache2 it gives me this:
apache2: Syntax error on line 234 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/conf.d/errors/404.html: /etc/apache2/conf.d/errors/404.html:1: <h1>Page> was not closed.
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
Can anyone say what's the problem ?
It seems that in /etc/apache2/conf.d/errors/404.html file you have not closed <h1> tag properly. Try below.
<h1>Page</h1>
Please notice </h1> here.
Related
I am deploying a web server, and after I finish compiling.There are the executing documents;
01client.c client epoll_server.c server
Then I try to run server
./server
There is an error which I cant fix it. I have search ways for solving but still can't fix it.
load error: No such file or directory
Maybe some one can help me,please!
Thanks a lot!!!!
System utilities print the program generating the error at the beginning of the line followed by other useful information such as the name of the missing file, so this is probably an error from a user program. I can duplicate the error as follows:
errno = 2;
perror("load error");
which prints:
load error: No such file or directory
Look for the perror line in the server code. If it isn't clear what file it can't find, print the string from the failed command it is reporting.
After I installed voltsql successfully, the following error occurred while executing voltsql
[whz#izbp16d6c3ttl701mgdkc7z voltdb]$ ./bin/voltsql
> SHOW tables;
Couldn't find log4j configuration file.
how to solve this problem ?
UPDATE: If I disable AVG Free, Execute works fine
This question is related to
Classic ASP : C0000005 Error on execution
My test.asp file contains just:
<%
execute("response.write 2+2")
%>
but yesterday after a windows update KB3140768, all my file that contains an Execute() command returns:
Active Server Pages error 'ASP 0115'
Unexpected error
/test.asp
A trappable error (C0000005) occurred in an external object. The script cannot continue running.
IIS 10.0.1.10586.0 - WIN10 X64
The problem is caused by AVG Free update.
I got a fatal error at auto_load function. See the following error, indicating that the specific directory and file '/mnt/webDir/www/sossage/system/classes/kohna/log.php' file failed opening required. Yes, file doesn't exist. Its's wrong path.
But, I never write the code, also can't find anywhere using 'find' option on my web root.
Fatal error: Kohana_Core::auto_load(): Failed opening required '/mnt/webDir/www/mysite/system/classes/kohna/log.php' (include_path='.:/usr/share/php:/usr/share/pear') in /mnt/webDir/mysite/system/classes/kohana/core.php on line 418, referer:
How can I solve the problem, please let me know the solution or tips.
Thanks.
You've got a typo in your configuration, likely. Note the directory it's attempting to access:
...system/classes/kohna/log.php
"kohna" is not the appropriate spelling. The directory is instead:
...system/classes/kohana/
When we click on Advance search page, page is not come as blank, after enable php error module, we got this below error message:
Fatal error: Call to undefined function jsdate_2_mysql() in /content/HostingPlus/f/r/xyz.com/web/new/plugins/search/events.php on line 48
check your php.ini file - make sure that mysql is enabled.
check out this link: http://www.somacon.com/p109.php