Hi,
I´ll start this all over with a new post since I found that nothing I put in the directory moodledata is accessible by moodle.
For instance images. User Profile images and so forth...
I run WAMPServer2 on a Vista machine.
The directory structure for moodledata is C:\wamp\moodledata
The directory structure for moodle is C:\wamp\www\moodle
The settings in config.php are:
$CFG->wwwroot = 'http://localhost/moodle';
$CFG->dirroot = 'C:\wamp\www\moodle';
$CFG->dataroot = 'C:\wamp\moodledata';
$CFG->admin = 'admin';
$CFG->directorypermissions = 00777;
The moodledata directory and it´s sub directorys all have the same security setting. All users and groups have Full Control.
Would very much appreciate a helping hand here!
Jonnie
Your post is really vague..
to be able to help you, you must turn debuggin on (choose the last option from the debug messages menu in your_moodle/admin/settings.php?section=debugging) and then refresh your moodle (any page you usually use to display or upload images, files to) then copy errors here and i will help you..
dont panic
Good Luck..
Amr Hourani
to be able to help you, you must turn debuggin on (choose the last option from the debug messages menu in your_moodle/admin/settings.php?section=debugging) and then refresh your moodle (any page you usually use to display or upload images, files to) then copy errors here and i will help you..
dont panic
Good Luck..
Amr Hourani
Hi Amr,
Appreciate any help. I have selected the last debug option:
"DEVELOPER extra Moodle debug messages for developers"
Uploaded a new gif from the html-editor.
The file is in the directory "moodledata/1/".
The html code for the gif is:
src="http://localhost/moodle/file.php/1/test.gif"
But as before I cannot see the file, not in the editor, not on the page..
I have looked in the PHP error log but there are nothing
related to what I have done today. I succesfully installed moodle 17/10.
after some difficulties. The errors reported in the file are pre 17/10.
No errors in the mySQL log either.
One error in the Apache server:
[Fri Oct 24 12:27:27 2008] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/moodle/theme/simplicity/images/body.png, referer: http://localhost/moodle/theme/simplicity/styles.php
Jonnie
Appreciate any help. I have selected the last debug option:
"DEVELOPER extra Moodle debug messages for developers"
Uploaded a new gif from the html-editor.
The file is in the directory "moodledata/1/".
The html code for the gif is:
src="http://localhost/moodle/file.php/1/test.gif"
But as before I cannot see the file, not in the editor, not on the page..
I have looked in the PHP error log but there are nothing
related to what I have done today. I succesfully installed moodle 17/10.
after some difficulties. The errors reported in the file are pre 17/10.
No errors in the mySQL log either.
One error in the Apache server:
[Fri Oct 24 12:27:27 2008] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/moodle/theme/simplicity/images/body.png, referer: http://localhost/moodle/theme/simplicity/styles.php
Jonnie
very strange! no error at all, even if you upload file, it doesnt give you an error?
please double check..
just a question, why dont you install XAMPP? www.apachefriends.org
please double check..
just a question, why dont you install XAMPP? www.apachefriends.org
Well,
I uninstalled everything from WAMP including Moodle of course..
Installed XAMPP and the latest weekly build of 1.9.3 and got myself into the same loop as I had when I first installed WAMP. I get a blank page after the last page with the database settings.
-Yes I have created the database, with proper settings.
So I tried the trick with creating my own config.php file.
http://docs.moodle.org/en/Installing_Moodle_on_Windows_Vista
This helped me install on WAMPServer2
The way it looks on my machine
$CFG->dbtype = 'mysql'; //Database Type
$CFG->dbhost = 'localhost'; //Database Host
$CFG->dbname = 'moodlexampp'; //Database Name
$CFG->dbuser = 'myusername'; //Database User
$CFG->dbpass = 'mypassword'; //Database Password
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_'; //Table Prefix
$CFG->wwwroot = 'http://localhost/moodle';
$CFG->dirroot = 'C:\xampp\htdocs\moodle';
$CFG->dataroot = 'C:\xampp/moodledata';
The security settings in the xampp directory are correct since
the installation has already created the directory "moodledata".
But trying to access moodle in XAMPP with the config.php file this just get´s me to a constantly reloading page which says:
-----
Skip to main content (LINK)
A server error that affects your login session was detected. Please login again or restart your browser.
( Continue ) (This is also a LINK)
---------
THis is the errorlog from the server:
[Mon Oct 27 13:49:59 2008] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/moodle
[Mon Oct 27 13:50:06 2008] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/moodle
What file? The structure in the error file suggests that there is something missing in moodle - what file is that? At least I know that it is not config.php.
It is there all right.
This is pretty frustrating...
Jonnie
I uninstalled everything from WAMP including Moodle of course..
Installed XAMPP and the latest weekly build of 1.9.3 and got myself into the same loop as I had when I first installed WAMP. I get a blank page after the last page with the database settings.
-Yes I have created the database, with proper settings.
So I tried the trick with creating my own config.php file.
http://docs.moodle.org/en/Installing_Moodle_on_Windows_Vista
This helped me install on WAMPServer2
The way it looks on my machine
$CFG->dbtype = 'mysql'; //Database Type
$CFG->dbhost = 'localhost'; //Database Host
$CFG->dbname = 'moodlexampp'; //Database Name
$CFG->dbuser = 'myusername'; //Database User
$CFG->dbpass = 'mypassword'; //Database Password
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_'; //Table Prefix
$CFG->wwwroot = 'http://localhost/moodle';
$CFG->dirroot = 'C:\xampp\htdocs\moodle';
$CFG->dataroot = 'C:\xampp/moodledata';
The security settings in the xampp directory are correct since
the installation has already created the directory "moodledata".
But trying to access moodle in XAMPP with the config.php file this just get´s me to a constantly reloading page which says:
-----
Skip to main content (LINK)
A server error that affects your login session was detected. Please login again or restart your browser.
( Continue ) (This is also a LINK)
---------
THis is the errorlog from the server:
[Mon Oct 27 13:49:59 2008] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/moodle
[Mon Oct 27 13:50:06 2008] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/moodle
What file? The structure in the error file suggests that there is something missing in moodle - what file is that? At least I know that it is not config.php.
It is there all right.
This is pretty frustrating...
Jonnie
With IIS on Windows systems this is usually a permissions problem since the location is outside of the normal website.
First check the Authentication Method used by IIS.
First check the Authentication Method used by IIS.
- Open Internet Information Service
- Expand the Web Sites folder and right click on the web site Moodle is in and select properties.
- Select the tab for Directory Security
- If you are using Anonymous access, make note of the User name displayed. Usually in the format IUSR_Computer Name
- If you are using Authenticated Access you will need to note the domain being used
- Navigate to the folder c:\wamp.
- Right-click on the moodledata folder and select properties
- Click on the Security tab
- Check that either the Anonymous user name is listed and has at least read, write and modify, or that the group(s) from the domain being used for authentication is correctly added and has the correct permissions.