Support Forums
ATutor Bug Reports
133 installation pbs and solutions
You must be signed-in to post.
| Author | Subject | |
|---|---|---|
| Page: 1 | ||
| pointer | Subject: 133 installation pbs and solutions | |
| Hi, i installed today the 1.3.3 release (latest stable) . And i saw some pbs in the install process . Here's my adventure ! During the installation process i had this message : page = ATutor/install/install.php / step 2 Feedback Warning: Invalid argument supplied for foreach() in /home/www/html/peugeot/ATutor/install/include/common.inc.php on line 104 Well i thought ! this starts well ! and at step 5: Fatal error: [] operator not supported for strings in /home/www/html/peugeot/ATutor/install/include/step5.php on line 37 so i decided to take a little look at the code and i saw this , you may use or modify as you like. you may add the line " unset($progress);" here in step 5 like this ? print_progress($step); unset($errors); unset($progress); $writeable = array('content/', 'content/import/', 'content/chat/', .. etc you may put this in lines 102 and after in install/include/common.inc.php : <?php if( defined ($feedback ) ) { echo '<ul>'; foreach ($feedback as $p) { echo '<li>'.$p.'</li>'; } echo '</ul>'; } else { echo "All is ok!<br>"; } ?></td> while $feedback is not allways defined in the page:include/phpCache/phpCache.inc.php i have this error message: Fatal error: Call to undefined function: print_errors() in /home/www/html/peugeot/ATutor/include/phpCache/phpCache.inc.php on line 518 in fact i saw the error in vitals.inc.php : you put this at lines 74 and after require(AT_INCLUDE_PATH.'phpCache/phpCache.inc.php'); require(AT_INCLUDE_PATH.'lib/select_lang.inc.php') require(AT_INCLUDE_PATH.'lib_howto/howto_switches.inc.php'); require(AT_INCLUDE_PATH.'classes/ContentManager.class.php'); require(AT_INCLUDE_PATH.'lib/output.inc.php'); while phpCache.inc.php needs a function located in lib/output.inc.php this might be better ? require(AT_INCLUDE_PATH.'lib/output.inc.php'); require(AT_INCLUDE_PATH.'phpCache/phpCache.inc.php'); require(AT_INCLUDE_PATH.'lib/select_lang.inc.php') require(AT_INCLUDE_PATH.'lib_howto/howto_switches.inc.php'); require(AT_INCLUDE_PATH.'classes/ContentManager.class.php'); well that 's all for today coz i'm tired. see you next. JB Posted: 2004-05-17 15:20:01 | ||
greg![]() | Subject: Your system? | |
| I'd assume you are running on a UNIX type system. Your experience is a unique one, so I'd suggest that perhaps system settings are the problem. I assume also that you set the write permissions on the approriate directories. Can you provide details about the system ATutor is running on. Posted: 2004-05-18 08:39:28 | ||
| fathianf | Subject: Same error on Mandrake10.1 | |
| Dear Greg, I have the same error as Pointer, I tried to install atutor 1.4 on madrake 10.1 with mysql 4.0.20, apache 2.0.50 and php 4.3 and in setp 2 I got the following warning: Feedback Warning: Invalid argument supplied for foreach() in /var/www/html/ATutor/install/include/common.inc.php on line 114 and finally in setp 5 I got the following error: Directories Fatal error: [] operator not supported for strings in /var/www/html/ATutor/install/include/step5.php on line 37 would you please help me to fix this problem as I need to run atutor 1.4 first and then upgrade to 1.5 so that i can use my atutor 1.4 database which is up and running (on mandrake 9.1, mysql 4.0.11 and apache 2.0.44) for atutor 1.5 on different server because for first time I tried to upgrade to 1.5 I failed and I am afraid to upgrade again on up and running server. Thanks in advance for your help. Things to describe: operating system - version of ATutor - versions of php - version of mysq l - webserver & version - copies of error messages - changes to default settings - web browser being used - and anything else relevant -
Posted: 2005-08-17 01:46:38 | ||
| Page: 1 | ||
You must be signed-in to post.



