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

Unable to install ATutor in Windows 11, always getting below error irrespective of using last 3 versions #201

Open
contactdravi opened this issue Jul 18, 2024 · 3 comments

Comments

@contactdravi
Copy link

I am using XAMPP which is working fine.
Downloaded the ATutor from https://sourceforge.net/projects/atutor/

when is extract the ATutor.zip into htdocs of Apache
C:\Users\conta\xampp\htdocs\atutor
getting following error
http://localhost:7780/ATutor/install/not_installed.php
first i got this error.
#0 C:\Users\conta\XAMPP\htdocs\atutor\install\not_installed.php(17): require()
#1 {main}
thrown in C:\Users\conta\XAMPP\htdocs\atutor\include\lib\constants.inc.php on line 123
[18-Jul-2024 19:05:01 Europe/Berlin] PHP Fatal error: Uncaught Error: Undefined constant "AT_CONTENT_DIR" in C:\Users\conta\XAMPP\htdocs\atutor\include\lib\constants.inc.php:121
Stack trace:

I fixed it by updating "AT_CONTENT_DIR" with
define('WORKSPACE_FILE_PATH', AT_CONTENT_DIR . 'C:\Users\conta\XAMPP\htdocs');

later i got below error
[18-Jul-2024 19:20:26 Europe/Berlin] PHP Parse error: syntax error, unexpected identifier "NUM_RELATED_TOPICS", expecting ")" in C:\Users\conta\XAMPP\htdocs\atutor\include\lib\constants.inc.php on line 124

This page isn’t workinglocalhost is currently unable to handle this request.
HTTP ERROR 500

There is no document / video which explains why this error is coming what i have to do to fix it.

@gregrgay
Copy link
Collaborator

Should not need to touch constants.inc.php.
See the install instructions, and particularly regarding the include/config.inc.php file and the /content directory

@contactdravi
Copy link
Author

contactdravi commented Jul 18, 2024

it has instruction for Unix how to do it in windows pls. can i have detailed step by step

@gregrgay
Copy link
Collaborator

gregrgay commented Jul 18, 2024

You'll need to adapt the instructions yourself for windows. They're quite similar.

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