Upgrade to version 1.5 - no activities visible

Upgrade to version 1.5 - no activities visible

Julian Whitehead -
回帖数:22

Forgive me if I have missed the answer to this somewhere else.

I upgraded to Version 1.5 this morning (hurray or not). It went through the upgrade process fine (although I had to stick a new version of hotpot in), and copy the questionnaire module over - BUT:

I can now not view any activities, screenshot below.

Image of defunct screen

Sorry about the low quality, all the sections shold have links in them and they have all disappeared!

I have basically gone from a fully working version of 1.4 to a completely screwed up version. I can't even get into the old 1.4 as of course the database has been updated and apparently it can't read it now!

ARRGGGGGGHHHH

Please help!

Cheers

Jools

回复Julian Whitehead

Re: Upgrade to version 1.5 - no activities visible

John Papaioannou -
My first guess would be to make sure you 've hit Ctrl+F5 a few times just in case this is IE not upgrading its cached stylesheets. There's no reason for the icons only to appear but with not corresponding text.

Any chance that's the trouble?
回复John Papaioannou

Re: Upgrade to version 1.5 - no activities visible

Julian Whitehead -

No sadly, it doesn't make any difference.

The icons don't have the usual link on them that they should.

I can enter a glossary via a highlighted bit of text, but when I try via the activities block, it tells me that there are no activities. This is true for all activities.

Its amazingly frustrating as I can back up complete courses, and see all the resources and activities and open from the zip, but they just aren't visible on the site.

If I restore the course, everything becomes visible (and it works)! Though is has a small paddy as it can't chmod in the moodledata directory

ARGGGGH

Jools

sad

回复Julian Whitehead

Re: Upgrade to version 1.5 - no activities visible

Howard Miller -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
What happens if you add a new activity or edit an old one? What platform/configuration are you using?
回复Julian Whitehead

Re: Upgrade to version 1.5 - no activities visible

John Papaioannou -
OK, maybe you can try something else.

Install a fresh copy of 1.5, and configure it to use the same database that your existing installation uses. In effect this will create a second "entry point" for the same database. Does the problem still exist in the second install?
回复John Papaioannou

Re: Upgrade to version 1.5 - no activities visible

Julian Whitehead -
Will try this, it seems when I restore an old course (from 1.4), I get everything back unless there is a questionnaire module. There are also no pictures.
sad
回复Julian Whitehead

Re: Upgrade to version 1.5 - no activities visible

Julian Whitehead -
No joy, still doing it!
My host runs cpanel X v2.5.0 and php version 4.3.11, MySql is 4.0.22-standard, cpanel build is 10.2.0-RELEASE 82.
Config.php is as follows:

<?php /// Moodle Configuration File

unset($CFG);

$CFG->dbtype = 'mysql';

$CFG->dbhost = 'localhost';

$CFG->dbname = 'edwebws_moodle';

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

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

$CFG->dbpersist = false;

$CFG->prefix = 'sci_';

$CFG->wwwroot = 'http://www.edweb.ws/151';

$CFG->dirroot = '/home/edwebws/public_html/151';

$CFG->dataroot = '/home/edwebws/public_html/moodledata';

$CFG->admin = 'admin';

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

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.

?>

It gave me a warning about php memory on install, and when I restore a course using the adding data to it option, it everything reappears, so I end up with 2 versions of all the activities (sorry thats not very clear).
This is really starting to irritate me now especially as I have been advocating moodle over uniservity (which I am still doing).
Any ideas anyone?
sad
回复Julian Whitehead

Re: Upgrade to version 1.5 - no activities visible

Howard Miller -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
Interestingly the items in your Front Page Main Menu look fine! Are they ok for you?

THEN...

Try a different browser (firefox).

Are you using a 1.5 theme. (If you have a custom theme built for 1.4 it will require recreating)? Try a standard 1.5 theme if so.

Turn off caching completely (Admin=>Filters).

回复Howard Miller

Re: Upgrade to version 1.5 - no activities visible

James Phillips -
It may also be worth setting your permissions to 02777 instead of 00777 in config php. I had a similar problem and posted it in the bug tracker and I know that this fixed the problem for somebody who had a similar problem but unfortunately I haven't had time to check it myself yet (if you do a fresh install, make sure you go to the config.php file and manually change this before you go to the admin page, otherwise it may not work). 
回复Julian Whitehead

Re: Upgrade to version 1.5 - no activities visible

Martin Dougiamas -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像

First thing I would try (though normally you don't need to) is to move one of those activities (or indent it) ... this will refresh the course cache.

回复Martin Dougiamas

Re: Upgrade to version 1.5 - no activities visible

Julian Whitehead -
If I try to move it, it just tells me that it can't find the instance of the file, and it doesn't seem to matter what the file is.

Will try changing the permissions, as I am getting errors when I restore particularly powerpoints and gif files.

Cheers
Jools
回复Julian Whitehead

Re: Upgrade to version 1.5 - no activities visible

Mike Churchward -
Core developers的头像 Plugin developers的头像 Testers的头像
Did you try adding a new activity? This would force a cache refresh as well (I think).

mike
回复Julian Whitehead

Re: Upgrade to version 1.5 - no activities visible

Howard Miller -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
"couldn't find an instance of the file"

Most activities do not involve files! What exactly is the error message and what are you trying to do to what sort of activity at the time?
回复Howard Miller

Re: Upgrade to version 1.5 - no activities visible

Julian Whitehead -
Okay maybe its better if I start again....

I upgraded to ver 1.5 this morning. All went well until it tried to do 2 things as part of the upgrade process:

1. Update the Hotpot mod - it just refused to work. The installation stopped at this point. I updated the Hotpot mod - installation continued from where it left off. Fine so far.

2. It then had a paddy at the questionnaire module - probably because it does not exist as part of the standard moodle package (I'm guessing here). I dutifully copied it across. Everything seemed to go fine. I got all the correct messages etc.

3. I then went into the installation proper - everything seemed to be okay until I tried to enter a course, all the activities had just disappeared. The icon is still there, (with no hotspot), but the text hyperlink had disappeared. (see piccie above).

4. I then panicked (spelling)? and tried to go back to the old 1.4 which of course now does not work as the database has been changed.

5. The next plan was to try and backup the courses - this works fine, I had a look in the zip file, and all the data appeared to be there, so I restored it. The restore works fine as long as I select the delete old data option (if I select add alongside, it doubles up the data - so I get two versions of the same activity)BUT .... if there is a questionnaire in the course, then it refuses to restore, it gets to the questionnaire restore then has a major panic, gives the unable to complete restore message and dives out.

Ironically I have a 1.6 version working (with a separate database) and this is accepting all the old stuff easily, but still won't accept the questionnaire module. I am guessing here, but 1.6 probably at this stage isn't that different from 1.5. I guess what I should have done is used a clean database for the 1.5 upgrade and then added the backups to it.

I am slowly getting things back to normal (on the 1.6), but it takes time.

My other problem is that it keeps timing out on me.

Happy days.

Cheers

Jools

big grin - only because I'll cry otherwise.
回复Julian Whitehead

Re: Upgrade to version 1.5 - no activities visible

Mike Churchward -
Core developers的头像 Plugin developers的头像 Testers的头像
Hmmm.

I have seen the activities disappear before, but they usually come back by adding a new activity.

As far as the questionnaire is concerned, I am running it on 1.5 sites without a problem. Did you get the latest version?

mike
回复Mike Churchward

Re: Upgrade to version 1.5 - no activities visible

Art Lader -

This happened at Aiken HS several versions ago. When we looked in the database, everything was still there. And Martin was able to take a look and see what had happened.

The resources are still in the database, aren't they?

Hang in there!

-- Art

回复Julian Whitehead

Re: Upgrade to version 1.5 - no activities visible

Howard Miller -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
The only thing I have left is that if you are prepared (and it is possible) to give me access to your system I will have a look - you would only be keeping me from practising scales on my bass guitar 微笑

(it would save some bother if you installed phpmyadmin first though)
回复Howard Miller

Re: Upgrade to version 1.5 - no activities visible

Art Lader -

Man, Howard, that is certainly going the extra mile for a Moodler in need!

God, I love this community.

-- Art

回复Art Lader

Re: Upgrade to version 1.5 - no activities visible

Howard Miller -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
Nah - I just want to search his computer for his bank account details 邪恶



only joking!!
回复Howard Miller

Re: Upgrade to version 1.5 - no activities visible

Jeffery Watkins -
Rofl!!!!


Jeff
回复Jeffery Watkins

Re: Upgrade to version 1.5 - no activities visible

Julian Whitehead -
You guys are so funny (haha).

All the resources are still there, I've backed them up now. I've started the transfer to a clean version - new database etc.

I think I might cut my losses and as I have only lost 2 questionnaires (admitedly not done by me), I think I'll leave it, though if the kind chap who would like to investgate my insides would like to, please email me. I have phpMyAdmin.

email in profile.
Cheers
Jools
回复Julian Whitehead

Re: Upgrade to version 1.5 - no activities visible

Art Lader -

who would like to investgate my insides

Now that's just yucky!

-- Art