inclusive-design / AChecker

Automated interactive Web content accessibility checker.
https://achecker.ca
GNU General Public License v2.0
70 stars 61 forks source link

Install stalls when installing locally #105

Open maritimerabroad opened 4 years ago

maritimerabroad commented 4 years ago

Hi,

I am installing AChecker locally. When I get to the Accounts & Preferences page, enter the information and hit 'next' all it does is clear the password field and nothing happens. I've let it sit for about 20 minutes. I've even dropped the database and tried again from scratch and nothing.

I'll paste the log of my php server below:

PHP 7.3.11-0ubuntu0.19.10.1 Development Server started at Fri Nov 29 11:03:10 2019
Listening on http://localhost:8003
Document root is /home/cbooth/AChecker
Press Ctrl-C to quit.
[Fri Nov 29 11:03:13 2019] [::1]:44494 [302]: /
[Fri Nov 29 11:03:13 2019] PHP Warning:  Use of undefined constant AC_TEMP_DIR - assumed '
AC_TEMP_DIR' (this will throw an Error in a future version of PHP) in /home/cbooth/AChecker
/include/constants.inc.php on line 154
[Fri Nov 29 11:03:13 2019] [::1]:44496 [200]: /install/not_installed.php
[Fri Nov 29 11:03:13 2019] [::1]:44498 [200]: /install/stylesheet.css
[Fri Nov 29 11:03:13 2019] [::1]:44500 [200]: /images/achecker_logo.png
[Fri Nov 29 11:03:13 2019] [::1]:44502 [404]: /favicon.ico - No such file or directory                                                               
[Fri Nov 29 11:03:13 2019] [::1]:44504 [200]: /install/stylesheet.css
[Fri Nov 29 11:03:15 2019] PHP Warning:  Use of undefined constant AC_TEMP_DIR - assumed 
'AC_TEMP_DIR' (this will throw an Error in a future version of PHP) in /home/cbooth/AChecker
/include/constants.inc.php on line 154
[Fri Nov 29 11:03:15 2019] [::1]:44506 [200]: /install/index.php
[Fri Nov 29 11:03:15 2019] [::1]:44508 [200]: /install/images/feedback.gif
[Fri Nov 29 11:03:15 2019] [::1]:44510 [200]: /install/stylesheet.css
[Fri Nov 29 11:03:15 2019] [::1]:44512 [200]: /images/achecker_logo.png
[Fri Nov 29 11:03:15 2019] [::1]:44514 [200]: /install/stylesheet.css
[Fri Nov 29 11:03:15 2019] [::1]:44516 [404]: /install/images/cellpic1.gif - No such file or directory                                                    
[Fri Nov 29 11:03:17 2019] [::1]:44518 [200]: /install/install.php
[Fri Nov 29 11:03:17 2019] [::1]:44520 [200]: /install/stylesheet.css
[Fri Nov 29 11:03:17 2019] [::1]:44522 [200]: /images/check.gif
[Fri Nov 29 11:03:17 2019] [::1]:44524 [200]: /images/clr.gif
[Fri Nov 29 11:03:17 2019] [::1]:44526 [200]: /images/achecker_logo.png
[Fri Nov 29 11:03:17 2019] [::1]:44528 [200]: /install/stylesheet.css
[Fri Nov 29 11:03:18 2019] [::1]:44530 [200]: /install/install.php
[Fri Nov 29 11:03:18 2019] [::1]:44532 [200]: /install/stylesheet.css
[Fri Nov 29 11:03:18 2019] [::1]:44534 [200]: /images/achecker_logo.png
[Fri Nov 29 11:03:18 2019] [::1]:44538 [200]: /images/clr.gif
[Fri Nov 29 11:03:18 2019] [::1]:44536 [200]: /images/check.gif
[Fri Nov 29 11:03:18 2019] [::1]:44540 [200]: /install/stylesheet.css
[Fri Nov 29 11:03:29 2019] [::1]:44542 [200]: /install/install.php
[Fri Nov 29 11:03:29 2019] [::1]:44544 [200]: /install/stylesheet.css
[Fri Nov 29 11:03:29 2019] [::1]:44546 [200]: /images/achecker_logo.png
[Fri Nov 29 11:03:29 2019] [::1]:44548 [200]: /images/check.gif
[Fri Nov 29 11:03:29 2019] [::1]:44550 [200]: /images/clr.gif
[Fri Nov 29 11:03:29 2019] [::1]:44552 [200]: /install/images/feedback.gif
[Fri Nov 29 11:03:29 2019] [::1]:44554 [200]: /install/stylesheet.css
[Fri Nov 29 11:03:32 2019] [::1]:44556 [200]: /install/install.php
[Fri Nov 29 11:03:32 2019] [::1]:44558 [200]: /jscripts/sha-1factory.js
[Fri Nov 29 11:03:32 2019] [::1]:44560 [200]: /install/stylesheet.css
[Fri Nov 29 11:03:32 2019] [::1]:44562 [200]: /images/achecker_logo.png
[Fri Nov 29 11:03:32 2019] [::1]:44564 [200]: /images/check.gif
[Fri Nov 29 11:03:32 2019] [::1]:44566 [200]: /images/clr.gif
[Fri Nov 29 11:03:32 2019] [::1]:44568 [200]: /install/stylesheet.css
[Fri Nov 29 11:03:32 2019] [::1]:44570 [404]: /install/images/cellpic1.gif - No such file or directory                                                      
cindyli commented 4 years ago

The php log you pasted doesn't show any fatal errors. There are a couple of warnings about Use of undefined constant AC_TEMP_DIR, which is because the installation hasn't got to the step to define this directory. This should not stop the installation.

Can you also check mysql and web server logs?

One known stopper at this step is, if you had installed AChecker before and the site data has been inserted into the database, when choosing the "new install" again this time, a duplicate insertion error would be thrown at this step and the installation would stop. But as you said you've dropped the database and started from the scratch, I cannot think of any other reasons.

Hope other logs could provide some hints.

maritimerabroad commented 4 years ago

Hi cindyli,

Thank you for your reply. I will try this evening on another machine at home, maybe there's something wonky behind the scenes on my work rig.