Installing and upgrading help

After upgrading course images not display

 
Picture of Nilesh Pathade
After upgrading course images not display
 

Hi All 

I have upgraded 2.9 to 3.3. After upgrading course images is not showing. 

I have copy moodledata folder by using FTP (Binary Format). set full permission to moodledata folder.

I have check all possibility. like

I have given full (777) permission to moodle and MoodleData folder.

I have deleted localcache and cache from MoodleData folder.

I have try with remove course image and then try with new course image.

I have check database mdl_files table "contenthash"  this  is perfect entry.

I have check moodledata folder filedir directory there is file also store.

I have also Purge all caches and clean theme caches as well. 

I have try chnage another theme.

I have check inspect web page there is showing me 303 error in Network tab.

 But still there is no images not display.


 
Average of ratings: -
Picture of Nilesh Pathade
Re: After upgrading course images not display
 

Hi All,

Please help me. 

My moodle Landing page showing the courses list in course box. I have inspect landing page and go to Network there showing me course image  error 303 and Type showing html.

I think this is wrong. Please help me.

My course images not display.

there is attachment image which is showing after inspect landing page. 

To images showing 303 error and content type as text/html



 
Average of ratings: -
Picture of Emma Richardson
Re: After upgrading course images not display
Documentation writersParticularly helpful MoodlersPlugin developers

Please share a screenshot of the page you are seeing...when you upgraded did you make any other changes?  Have you checked ownership on the moodle and moodledata folders?

 
Average of ratings: -
Picture of Nilesh Pathade
Re: After upgrading course images not display
 

Thanks for reply 

I don't have change ownership. Only I have set full permissions 777 to Moodle folder and Moodle data folder. 

I have attached front page screen shots. 


And after inspect that page it's shows me 303 Error and showing Response Header that content type as text/html. 


 
Average of ratings: -
Picture of Emma Richardson
Re: After upgrading course images not display
Documentation writersParticularly helpful MoodlersPlugin developers

So the issue is the lack of images?  Have you changed the url of the site?

 
Average of ratings: -
Picture of Nilesh Pathade
Re: After upgrading course images not display
 

 "lack of images" ???  

I have setup moodle on my localhost. it's showing same error on server and local as well.


I have notices course images display on 

course/index.php

But not on home page : example : www.domain.com

 
Average of ratings: -
You either love it or you hate it
Re: After upgrading course images not display
Particularly helpful Moodlers

Make sure you have the correct permissions. And I do mean correct permissions not just 777. You need to check the ownership as well as the read/write permissions

sudo chown -R www-data /var/moodledata

sudo chmod -R 777 /var/moodledata

sudo chmod -R 0755 /var/www/html/moodle

Give that a go, then try to lock it down after


 
Average of ratings: -
Picture of Nilesh Pathade
Re: After upgrading course images not display
 

how do it lock it down ?

 
Average of ratings: -