Appearance is not really nice

Appearance is not really nice

autor Shamil Nunhuck -
Počet odpovědí: 19

Hi, I had to move the server and domain name for my moodle and since doing so, the appearance is seriously messed up and really looks quite displeasing. We are running a class tomorrow and we will be using moodle so we need help right now.

URL: http://bmthsch-ict.co.nr/ole

The font has been chnaged to new Times Roman and no images show up.

Help Please

snunhuck

Průměr hodnocení: -
V odpovědi na Shamil Nunhuck

Re: Appearance is not really nice

autor Steve Hill -

At the moment the Link doesn't seem to work. I get the page Title but page cannot be displayed.

Steve

V odpovědi na Steve Hill

Re: Appearance is not really nice

autor Shamil Nunhuck -
V odpovědi na Shamil Nunhuck

Re: Appearance is not really nice

autor Steve Hill -

that doesnt work either. Can you get to that link? If so, add a screen print to the post.

Steve

V odpovědi na Steve Hill

Re: Appearance is not really nice

autor Shamil Nunhuck -
Here is the pic: in the attachment
Příloha untitled.JPG
V odpovědi na Shamil Nunhuck

Re: Appearance is not really nice

autor Mauno Korpelainen -

When you moved moodle did you change correct paths to config.php and to database. If not, you may use admin/replace.php to find and replace old paths with new ones in database (or edit mysql dump file with notepad ...)

Your domain is "strange" - is it some kind of a local network?

V odpovědi na Mauno Korpelainen

Re: Appearance is not really nice

autor Shamil Nunhuck -

Hi, what do I type in and replace?

My webserver is hosted on my home computer and .co.nr is a redirection service. I have just noticed that there seems to be a problem accessing the webserver.

V odpovědi na Shamil Nunhuck

Re: Appearance is not really nice

autor Mauno Korpelainen -

Check if your dataroot has changed, for example if your previous dataroot was /var/moodledata and new dataroot is /xxxx/yyyy/zzzz replace /var/moodledata with /xxxx/yyyy/zzzz

Or if your www-address was changed some links may still have old www address...and they can be replaced as well

The problem might be that redirection...

V odpovědi na Mauno Korpelainen

Re: Appearance is not really nice

autor Shamil Nunhuck -

I have checked the dataroot and it is still the same. I literally just copied the whole htdocs and mysql folder and stuck it in my webserver. I don't think its the redirection as it is still the same no matter what address I use,(localhost, bmthsch-ict....)

My www-address was http://rm36-ictoffice/ and now its bmthsch-ict.co.nr, so that could be the problem, How do I replace them?

V odpovědi na Shamil Nunhuck

Re: Appearance is not really nice

autor Mauno Korpelainen -

replace rm36-ictoffice with bmthsch-ict.co.nr

using admin/replace.php

and change wwwroot in config.php to http://bmthsch-ict.co.nr

(should that ole be there too?)

V odpovědi na Mauno Korpelainen

Re: Appearance is not really nice

autor Shamil Nunhuck -

I have done the both above to no avail.

/ole is where moodle is installed to. That hasnt changed from the original server.

Here is the config:

<?php /// Moodle Configuration File

unset($CFG);

$CFG->dbtype = 'mysql';

$CFG->dbhost = 'localhost';

$CFG->dbname = 'ole';

$CFG->dbuser = 'ole';

$CFG->dbpass = '******';

$CFG->dbpersist = false;

$CFG->prefix = 'ole_';

$CFG->wwwroot = 'http://bmthsch-ict.co.nr/ole/';

$CFG->dirroot = 'C:\xampp\htdocs\ole';

$CFG->dataroot = 'C:\xampp\moodledata';

$CFG->admin = 'admin';

$CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode

$CFG->unicodedb = true; // Database is utf8

require_once("$CFG->dirroot/lib/setup.php");

// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,

// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.

?>

V odpovědi na Shamil Nunhuck

Re: Appearance is not really nice

autor Mauno Korpelainen -
OK, now your site is available outside. Try to change

$CFG->dirroot = 'C:\xampp\htdocs\ole';

to

$CFG->dirroot = 'C:\xampp\htdocs/ole';

V odpovědi na Mauno Korpelainen

Re: Appearance is not really nice

autor Mauno Korpelainen -

And wwwroot must be

$CFG->wwwroot   = 'http://bmthsch-ict.dyndns.org/ole';

(the first address opens a frame, not the index page)

V odpovědi na Mauno Korpelainen

Re: Appearance is not really nice

autor Mauno Korpelainen -
V odpovědi na Mauno Korpelainen

Re: Appearance is not really nice

autor Shamil Nunhuck -
When I go to the notifications, I recieve this:

Please fix your settings in config.php:

You have:

$CFG->dirroot = "C:\xampp\htdocs/ole";

but it should be:

$CFG->dirroot = "C:\xampp\htdocs\ole";



I was trying to install a clock.
V odpovědi na Mauno Korpelainen

Re: Appearance is not really nice

autor Timothy Takemoto -
I just did this on a fairly large site and while it was pretty scary, and there were hundreds (14 hundred?) of replacements, it went pretty well and the images are back.

I was a little surprised that they went away in the first place because both urls (new and old) reference the files and file.php, but I guess it is some sort of security feature.