No input file specified Error

ahmed.issmail

New Member
Hello in mydomain.com/backend/index.php/guest/index I have this message: “No input file specified”

After the instalation.

What can I do? and the article page seems dosnt work !!
 
Ok, so the issue is here, your server says that the document root is
[DOCUMENT_ROOT] => /var/chroot/home/content/75/11465975/html which is wrong since you have installed mailwizz in a folder called mails in the html folder, so the correct value should be
[DOCUMENT_ROOT] => /var/chroot/home/content/75/11465975/html/mails


You have two ways to go about this:
1. You contact your host for advice
2. You open the file apps/init.php and at line 17 you have:
PHP:
// set the developer ip addresses, separated by a comma
defined('MW_DEVELOPERS_IPS') or define('MW_DEVELOPERS_IPS', '');
Before that line you will have to add some code, like shown bellow:
PHP:
if (isset($_SERVER['REAL_DOCUMENT_ROOT'])) {
    $_SERVER['DOCUMENT_ROOT'] = $_SERVER['REAL_DOCUMENT_ROOT'];
}
// set the developer ip addresses, separated by a comma
defined('MW_DEVELOPERS_IPS') or define('MW_DEVELOPERS_IPS', '');
Then save the file and reload your backend.

However, i really advice you to have a talk with your host about this
because the way it looks right now it's not correct.
 
Last edited:
I tried the second way still the same
i will send to the host to see what to do
thanks a lot for your fast response
really appreciated
 
hello
remember me
i still have the same problem and i contacts the host manger ( GoDaddy ) and the told me the error in the redirect in the code
please advice what to do
 
@ahmed.issmail - hi man, the response is the same, this isn't related to mailwizz but to the way godaddy does their virtual hosts for domains. you only have the options i told you about above. If godaddy says it's a problem from the code, then they don't know what they talk about.
Funny thing is that there are a number of customers hosting mailwizz at godaddy and they don't have this issue at all.
 
Back
Top