Probably the directory you created has no write permissions for the webserver.
Can you give a little bit more info ?
Can you give a little bit more info ?
how do you check if there is write permission for the webserver? what other information must i provide? sorry i am still quite a newbie in linux and using the software..
To provide you the right information i have to ask a couple of more questions (sorry )
In the post above you used mkdir to create a directory.
In the post above you used mkdir to create a directory.
- Do you have shell or ftp access to your server ?
(If you have root shell access please mention) - What distribution of Linux is your (hosting)server running ?
(not so bad if you don't know)
1. i lock in as root to install the moodle.. so i don't know if that is counted..
2. i am using linux 8.0
2. i am using linux 8.0
So you are boss of your own box. That makes things more easy
I assume you did following :
#root@yourbox : mkdir moodledata
then you must set the directory permissions so your webserver (apache) can write (read and excecute) to it
#root@yourbox : chmod 777 moodledata
Thats it !
The install procedure starts over again, hopefully with no errors this time
I assume you did following :
#root@yourbox : mkdir moodledata
then you must set the directory permissions so your webserver (apache) can write (read and excecute) to it
#root@yourbox : chmod 777 moodledata
Thats it !
- Keep in mind that the directory moodledata should be out of the scope of the webserver.
- chmod 777 sets permissions wide open, but since you are root I assume your box is only for testing.
The install procedure starts over again, hopefully with no errors this time
you say chmod 777 sets permissions wide open.. what does that mean? can you explain further how the command works.. i am still a newbie so wants to know more..do you know about mysql stuffs?
quote :
"you say chmod 777 sets permissions wide open.. what does that mean? can you explain further how the command works.."
Yes, please read this
quote :
"i am still a newbie so wants to know more..do you know about mysql stuffs?"
Everyone starts as a newbie. If your mysql question is out of my scope, I'm sure someone else in the forum can pick up your thread.
Good luck !
"you say chmod 777 sets permissions wide open.. what does that mean? can you explain further how the command works.."
Yes, please read this
quote :
"i am still a newbie so wants to know more..do you know about mysql stuffs?"
Everyone starts as a newbie. If your mysql question is out of my scope, I'm sure someone else in the forum can pick up your thread.
Good luck !
now i have encountered another problem.. till one part of the installation, they ask for database name and password, is this database name and password u set for ur mysql? after i keyed in the database name and password i am posted to an empty page.. but i searched for the config.php file.. it does not exist.. how do i restart the installation if it hangs..
First of all you should have made a database for moodle in mysql. To verify do following on a shell prompt:
# mysql -u root -p (the system will ask for your root mysql password)
> SHOW DATABASES; (You ask mysql which databases there are)
Perhaps you get something like this:
+----------------+
| Database |
+----------------+
| moodle
| mysql |
| test |
+----------------+
3 rows in set (0.00 sec)
If the moodle database does not exits, you have to create one
mysql> CREATE DATABASE moodle;
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,INDEX,ALTER ON moodle.*
TO moodleuser@localhost IDENTIFIED BY 'yourpassword';
mysql> quit
# mysqladmin -p reload
----------------------
(the above comes from the moodle documentation)
----------------------
Run the install program again by navigating your browser to your moodle web location.
Everything should check green ( I hope ).
When asked for the moodle database user/password combination you should enter the ones you entered
for moodleuser/yourpassword above
i encountered some admin problems.. i tried to enter the mysql monitor vby typeing mysql. it says
ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)
what should i do? actually all the installation and configuration should be done using the root account is it?
ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)
what should i do? actually all the installation and configuration should be done using the root account is it?
Perhaps your mysqlserver is running without root password ?
First try this:
# mysql -u root (without the -p password option)
If it works, you are in. (best to set a password)
If not, a google seach came up with this :
First try this:
# mysql -u root (without the -p password option)
If it works, you are in. (best to set a password)
If not, a google seach came up with this :
Proceed as follows.
- Stop the db engine
/etc/init.d/mysql stopRestart the daemon
/usr/bin/mysqld_safe --skip-grant-tables &Go to the MySQL interactive command
mysql -h your_hostname mysqlChange the password with GRANT
GRANT ALL PRIVILEGES ON * to root@localhost IDENTIFIED BY 'passwd';
FLUSH PRIVILEGES;
Maybe it should be better to flush privileges from mysqladmin:
mysqladmin -h localhost flush-privileges
That's it. Now try to login as usual.
i reinstall the whole moodle but until the end of the installation.. the whole install.php website turn into a empty page.. nothing was displayed.. so i was wondering wats was wrong..
any solutions?
any solutions?
Can you check the error_log file of apache ?
where is the error log file of apache located?
after the page with the database password and database name, i reached a blank page.. y is it so? i am really desperate for help now.
Started a new sub-thread because it's getting awfully small ...
You are going to test two things :
On a command line type : (without the #)
# rpm -q php-mysql
If the system returns "... not installed", you must install that rpm package. If it is there ...
>Try to run the moodle again ...Hope this helps
You are going to test two things :
- Is php working on your system ?
To test this create a new file called phpinfo.php in the root of your moodle directory. It must contain only the following line :
<?php phpinfo(); ?>
Call the file in your browser by :
http://your.host/moodle/phpinfo.php
If you get readings, php is working, move to 2 - <>Can php talk to mysql ?><>On some Linux systems you have to install an rpm called
On a command line type : (without the #)
# rpm -q php-mysql
If the system returns "... not installed", you must install that rpm package. If it is there ...
>Try to run the moodle again ...Hope this helps
still the same result.. i am getting blank page at the end of installation... any possible solutions..
Is your site online ?
no.. my site is local host..if i want to make it online how to do go about doing it.. u have been using moodle for quite a while i guess. does moodle fulfill the points i state below:
1. able to build a question bank of questions.
2. able to upload files e.g. pictures and text files.
3. able to random choose questions for a quiz.
1. able to build a question bank of questions.
2. able to upload files e.g. pictures and text files.
3. able to random choose questions for a quiz.
1. able to build a question bank of questions.
Yes
2. able to upload files e.g. pictures and text files.
Yes
3. able to random choose questions for a quiz.
Yes
And much more ...
Hope you get Moodle to run. It's really worth all you efforts !
There are many questions from people with getting blank pages.
Do a search in the forums, hope you find a answer to your specific problem
Yes
2. able to upload files e.g. pictures and text files.
Yes
3. able to random choose questions for a quiz.
Yes
And much more ...
Hope you get Moodle to run. It's really worth all you efforts !
There are many questions from people with getting blank pages.
Do a search in the forums, hope you find a answer to your specific problem
you are a mathematics teacher right? i have a few questions.. i have problems uploading picture files.. when i uploaded the file in both site files and files, the moment i go and edit the quiz the image section will have something saying "no image have been uploaded to your course". for calculated questions, the correct answer formula is the formula used to solve the question or the answer. can you let me have a sample view of your moodle website. can i categorise the questions bank in terms of level of education, subject, and difficultY?