Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

index blank page after detele _install folder #1062

Open
Shearsmith1337 opened this issue Oct 7, 2022 · 3 comments
Open

index blank page after detele _install folder #1062

Shearsmith1337 opened this issue Oct 7, 2022 · 3 comments

Comments

@Shearsmith1337
Copy link

Hello huys, after delete "_install" folder my index is blank/empty, no error, nothing, on localhost wampp work perfectly, why?

@2dned
Copy link

2dned commented Oct 16, 2022

  1. Put into Development Mode via config file /_protected/app/configs/config
  2. You will prob get an error related to Service.class.php
  3. Go to _protected/framework/Server/Service.class.php and find line 164 add /* at beginning and */ at end of coding like below. Save and upload, refresh site.

{
// Check if mod_rewrite is installed and is configured to be used via .htaccess
/* if (!strtolower(getenv('HTTP_MOD_REWRITE')) === 'on') {
$sOutputMsg = 'mod_rewrite Works!';

        if (Uri::getInstance()->fragment(0) === 'test_mod_rewrite') {
            exit($sOutputMsg);
        }

        $sPage = @file_get_contents(PH7_URL_ROOT . 'test_mod_rewrite');
        return $sPage === $sOutputMsg;
    }*/

    return true;
}

@pH-7
Copy link
Member

pH-7 commented Dec 16, 2022

Hi there @Shearsmith1337!

Could you try to enable the development mode to show the PHP errors (exceptions) on the page?

To do so, please edit _protected/app/configs/config.ini, and replace environment = production to environment = development, and then save it.

Then, go back to your web browser and refresh the page.
From there, you will normally see an explanatory PHP error message. Let me know the error(s) you see from there. I will be able to help you once you can share the error message 🙂

Good luck,
Have a great day ☀️

@roland1509
Copy link

@Shearsmith1337 your scripts run perfectly on wampp server because you have your Apache running, Try to install and configure Apache 2.4 on your local machine. you wont experience the problem at that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants