We have a small troubleshooting project with our installed suphp and the mod_layout.
After installing the latest mod_layout the advertisment code is placed correct, but the whole source code of phpfiles is now repeated for one time.
For detailed explanation here is the code that is within one phpfile:
-----------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unbenanntes Dokument</title>
</head>
<body>---ADCODEHEADER---
Das ist eine kleine Testseite
---ADCODEFOOTER---</body>
</html>
-----------------------------------------------------------
so the generated file when calling that files looks like that:
-----------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unbenanntes Dokument</title>
</head>
<body>---ADCODEHEADER---
Das ist eine kleine Testseite
---ADCODEFOOTER---</body>
</html><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unbenanntes Dokument</title>
</head>
<body>---ADCODEHEADER---
Das ist eine kleine Testseite
---ADCODEFOOTER---</body>
</html>
-----------------------------------------------------------
So the whole source code of any file is just doubled.
The server is CentOS5 with CPanel/WHM (latest version) and suphp, suexec.
So what we need is someone to solve the problem with the modlayout to stop repeating the whole source code.
The already configured apache and WHM/Cpanel should not be replaced because there has been enough time invested to do that.
So we just have very limited time because we will have to leave office in about 10 hours, so we would need a solution within the next 6 hours. So please just bid if you are able to solve that problem within that time.
So we will have some more projects in the future and will give them to guys that are able to solve projects like that within time and in a professional way.
Hello.
We are team of professionals with above 6 years experience in IT. We have exp with WHM/CPanel, apache, for details check profile.
Take a look into PM, please.