V11 beta3 install error
PHP [2] Undefined variable $conn
Hi there. I am wanting to see the new version, but get this error during install. TIA for your help.
Composr installer: step 5 of 10
An error has occurred
PHP [2] Undefined variable $conn
Here is the stack trace:
Below is a stack trace revealing the state Composr was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Composr website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologize for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
| File | '/home/wizardave/elderberry.info/install.php(27372) : eval()\'d code' |
|---|---|
| Line | '564' |
| Function | 'get_html_trace' |
| Args |
| File | '/home/wizardave/elderberry.info/install.php(27372) : eval()\'d code' |
|---|---|
| Line | '692' |
| Function | 'fatal_exit' |
| Args |
'PHP [2] Undefined variable $conn' |
| File | '/home/wizardave/elderberry.info/install.php' |
|---|---|
| Line | '26,168' |
| Function | 'cms_error_handler' |
| Args |
2 'Undefined variable $conn' '/home/wizardave/elderberry.info/install.php' 26168 |
| File | '/home/wizardave/elderberry.info/install.php' |
|---|---|
| Line | '25,823' |
| Function | 'step_5_ftp' |
| Args |
| File | '/home/wizardave/elderberry.info/install.php' |
|---|---|
| Line | '24,662' |
| Function | 'step_5' |
| Args |
Sorry about that; thank you for bringing it to my attention.
Please try 11 beta4 which I just released, and let me know if that fixes the issue:
Thanks for your quick response.
Now I get this error.
Composr installer: step 5 of 10
An error has occurred
Cannot create a /home/wizardave/v11b4.elderberry.info/.dh-diag file. File permissions for the /home/wizardave/v11b4.elderberry.info directory likely have not been set correctly.
Are you able to check the directory permissions (is it writable and owned by the same user as your webserver)? Are you using Windows or Linux? Do you have suEXEC or similar? Quick installer or manual installer? I'm assuming you are using the FTP method of install given the first error.
I'm using Quick Installer.
I set the folder to 777 and reran install.php. ( I forget what it was originally…)
I get the same error.
When I get time I will try manual install here and will also try to install on my desktop Linux machine.
Thanks for your help.
I have no idea where the dh-diag is coming from; there is nothing in the code I can find which references a file by that name.
If there's any way to get a stack trace for me, that would also help.
Unfortunately, I did some additional digging into the problem. I came up empty-handed. Chris Graham also took a look into it and could not immediately figure it out either. The file dh-diag is not a part of Composr and is not included in the build. So we believe you have a weird issue with your FTP server on the VPS causing it to try creating stray files when Composr is extracting the build (or perhaps locally, a file by that name ended up in your build, and Composr is trying to upload it via FTP; though this is highly unlikely).
This does not surprise me at all. Cheap web hosts (and sometimes even the more expensive ones) often make configuration decisions which cause unexpected behaviour.
I would advise contacting your web host about it and see if they have any answers.
At this point, this problem goes beyond my ability to offer free support because it deals with a file which is not part of Composr in a system which has been marked as not officially maintained by the core development team. You can contract me for my services if you like me to go further. However, right now I believe your web host may have better answers than I would.
Please keep me updated.
