atutor / ATutor

NO LONGER USER LEVEL SUPPORTED. CONTRIBUTING DEVELOPERS INTERESTED IN MAINTAINING ATUTOR, SHOULD REQUEST COLLABORATOR ACCESS. : ATutor is an Open Source Web-based Learning Management System (LMS) used to develop and deliver online courses. Administrators can install or update ATutor in minutes, develop custom themes to give ATutor a new look, and easily extend its functionality with feature modules. Educators can quickly assemble, package, and redistribute standardized Web-based instructional content, easily import prepackaged content, and conduct their courses online. Students learn in an accessible, adaptive, social learning environment.
https://atutor.github.io
183 stars 172 forks source link

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

Open contactdravi opened 4 months ago

contactdravi commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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

gregrgay commented 4 months ago

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