Support Forums
ATutor Support
Admin user
You must be signed-in to post.
| Author | Subject | |
|---|---|---|
| Page: 1 | ||
| wilfridoforo | Subject: Admin user | |
| Hi! I'm trying ATutor and a like to put it on a website that I am hosting, I have a problem cause the company who host my website and databases is using the "admin" user, the question is: Is it posible that the superadmin would be a user like "atadmin" intead of "admin", how can i do that? Regards. Wil Posted: 2003-08-29 16:49:48 | ||
greg![]() | Subject: Change in users/admin.php | |
| We are going to change the name of the superadmin user in the next release. For now you can change the name of the superadmin user by editing line 20 in users/admin.php. change if (($_POST['form_login'] == 'admin') ..... to if (($_POST['form_login'] == 'atadmin') greg Posted: 2003-08-30 10:37:57 | ||
| wilfridoforo | Subject: Error msg | |
| Hi! I changed the line 20 just like you said, and I changed also the member "admin" for "atadmin" in the database, and i got the next error msg, <img src="http://localhost/atutor/images/error_x.gif" align="top" alt=" Fatal error: Call to undefined function: cache() in c:\program files\apache group\apache\htdocs\atutor\include\vitals.inc.php on line 430 What should i do?? Posted: 2003-09-01 11:38:07 | ||
greg![]() | Subject: This error is unrelated | |
Changing the usernames should not affect caching. I suspect something else has changed. If the problem persists you can comment out the cache line in config.inc.php, or or reinstalling ATutor.
Posted: 2003-09-02 09:06:43 | ||
| wilfridoforo | Subject: About the changes | |
| Hi! I found that if I change the line define('DB_HOST', 'localhost'); to define('DB_HOST', 'www.mysite.com'); or define('DB_HOST', '120.23.34.23'); is when the system shows that message, by the way If I use the choice localhost the problem dissapear. The question is: Is it possible to change the host to an URL or IP Address?? Posted: 2003-09-02 10:41:10 | ||
greg![]() | Subject: define a protocol | |
Yes you can use a domain/ip addresses with the http protocol defined (http ://www.mysite.com). You should only need to do this if you are accessing a remote Mysql db, otherwise use localhost.
Posted: 2003-09-02 12:15:53 | ||
| wilfridoforo | Subject: Error email | |
| Hi! The problem dissapear finally, I just put the user and password in the config.inc.php, you could see the ATutor at siaprendi.com/tutor/ it seems to function fine, but now, when i try to register as a user, ATutor displays "Email address was invalid" in all the entries in the email field. What's the problem? Regards. Wil Posted: 2003-09-02 13:39:24 | ||
| afmoene | Subject: Call to undefined function: cache() | |
| Fatal error: Call to undefined function: cache() in /var/www/html/ATutor/include/vitals.inc.php on line 430 I got the above error message from the start when I tried to login (Mandrake 9.1, php 4.3.1, ATutor 1.2.2). I've tried all of the following, to no avail: * define('CACHE_DIR', ''); in config.inc.php rather than completely uncommented * change admin user to atadmin in users/admin.php (in database as well) * downgrade to ATutor 1.2 Any clues? I will be glad to give you more details if needed. Thanks in advance, Arnold Posted: 2003-09-06 20:57:44 | ||
greg![]() | Subject: Create /tmp | |
| If a /tmp directory does not already exist, create one. If you own the system you could locate it in the root directory, or if you are on a hosted system, locate it under the atutor/content directory. Make sure the directory is writable. If mandrake has its own /tmp like directory (I'm not familiar with mardrake's directory structure), then set the CACHE_DIR value to it. If that does not work try commenting out the cache line in config.inc.php. Posted: 2003-09-07 13:52:14 | ||
| Page: 1 | ||
You must be signed-in to post.


