Hi Guys,
I am quite new at this, but i have the problem of moodle displaying correctly on my computer, but other computers accessing it on my computer through our internal network, which works but it looks like it doesnt load the CSS correctly, as the images and layout is totaly mixed.
Any suggestions ?
Thanks for the help!
Hi Jon,
Thanks for the prompt reply, i have tried changing that setting and restarting my apache server to no avail.
Here is my config.php:
<?php /// Moodle Configuration File
unset($CFG);
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle';
$CFG->dbuser = 'root';
$CFG->dbpass = '######;
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_';
$CFG->wwwroot = 'http://onsite';
$CFG->dirroot = 'C:\Moodle\server\moodle';
$CFG->dataroot = 'C:\Moodle\server/moodledata';
$CFG->admin = 'admin';
$CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode
and here is an image of the site from another computer:
http://img40.imageshack.us/i/testnbz.jpg/
Thanks for the prompt reply, i have tried changing that setting and restarting my apache server to no avail.
Here is my config.php:
<?php /// Moodle Configuration File
unset($CFG);
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle';
$CFG->dbuser = 'root';
$CFG->dbpass = '######;
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_';
$CFG->wwwroot = 'http://onsite';
$CFG->dirroot = 'C:\Moodle\server\moodle';
$CFG->dataroot = 'C:\Moodle\server/moodledata';
$CFG->admin = 'admin';
$CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode
and here is an image of the site from another computer:
http://img40.imageshack.us/i/testnbz.jpg/
This definitely looks to me like your wwwroot has not changed. Create a php file with the following in and upload it to the root of your moodle install, then load it in your web browser and post he output back here.
----------------------------------
<?php
require_once('config.php');
echo '<p>' . $CFG->wwwroot . '</p>';
?>
----------------------------------
<?php
require_once('config.php');
echo '<p>' . $CFG->wwwroot . '</p>';
?>