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

/install/index.php stuck at "Processing..." #542

Open
XDmToter opened this issue Oct 4, 2024 · 5 comments
Open

/install/index.php stuck at "Processing..." #542

XDmToter opened this issue Oct 4, 2024 · 5 comments

Comments

@XDmToter
Copy link

XDmToter commented Oct 4, 2024

I downloaded the latest release (3.7) of AVideo-Encoder and I am attempting to install.

All checks on /install/index.php pass. I completed the form with all necessary entries.

When I click the "Install now" button, I get a popup with "Processing...", but it never goes away. It's been stuck here for Hours.

I see the following in the PHP Log:

PHP Fatal error: Uncaught Error: Failed opening required '/encoder.example.com/public_html/view/../videos/configuration.php' (include_path='.:/opt/remi/php82/root/usr/share/pear:/opt/remi/php82/root/usr/share/php:/usr/share/pear:/usr/share/php') in /encoder.example.com/public_html/view/index.php:18

I don't know if this is relevant, but it's the only Fatal error in the PHP logs.

The install script creates the "videos" directory, but it's empty. No "configuration.php" file is ever written. I also noticed that the database still doesn't have any tables.

@DanielnetoDotCom
Copy link
Member

make sure you are using a database user and password with rights to create table

check your apache error log

@XDmToter
Copy link
Author

XDmToter commented Oct 4, 2024

Yes. DB credentials are correct. Nothing in the Apache error logs. Just a single GET request in the access log when I load /install/index.php. Interestingly, there is no POST shown in the access log when I click "Install now" and the "Processing..." message appears.

@DanielnetoDotCom
Copy link
Member

check your JS console then, must be something in the logs, otherwise I cannot help

@XDmToter
Copy link
Author

XDmToter commented Oct 4, 2024

Thank you for the tip. There was a CORS error when the Encoder setup script attempted to log in to the main site. I had to remove the following from .htaccess on the main site:

<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin: *
</IfModule>

@DanielnetoDotCom
Copy link
Member

I guess it is some configuration in your server, I do not have this issue on my side.

In future updates you may need to overwrite this file again

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

2 participants