Quantcast
Channel: Installing and upgrading help
Viewing all 46829 articles
Browse latest View live

Infinite redirect to "Incorrect access detected"

$
0
0
by Cok Kalabalik.  

Dear co-moodlers,


After having moved to another server my moodle instance (2.9) does not work anymore. When I call school.domain.tld, I get the error message „Incorrect access detected, this server may be accessed only through school.domain.tld address, sorry.“ Both, the automatic and the manual redirect immediately take me back to the same page with the same error message. The URL shown in the address bar really is school.domain.tld.


Before moving to the new server the moodle instance was reached under its own IP address and the same URL. Now I want it to share it's IP with domain.tld and another subdomain called lists.domain.tld. Therefore I configured my apache2 (2.4.7) unter a single IP to hold a virtualhost for each of the two subdomains and the main domain. I am able to ping all three virtualhosts; the ping is always returned from domain.tld, but I guess that's how it's supposed to be. I configured the moodle as a virtualhost with documentroot /var/www/html/moodle and servername school.domain.tld. In config.php I put $CFG->wwwroot='http://school.domain.tld';


Anyone who can explain the infinite redirect and suggest a remedy or a suitable debugging strategy? Merci beaucoup for your answers!


Cordially,

CK



Moodle with DSO PHP handler configuration problem

$
0
0
by John Jackson.  

Greetings,

My hosting company's default PHP handler is suPHP, but they said that it doesn't support opCode caching, so in order to get opCode caching I needed to move to a different PHP handler. After reviewing the options, we switched to the DSO PHP handler. But it hasn't worked right since that switch.

First I should say the system worked OK with suPHP, but performance wasn't very snappy, compared to other systems I have worked on which had opCode caching enabled.

Now, with DSO, I can hit the Moodle index page and everything displays fine. I can browse things like the calendar and listings of courses without any problem. As soon as I try to login, with any level of user account, I simply get a blank screen. When I look at the source code of that blank page, I see that only the first 6 lines of the page load. It stops right after the call to the style sheet. 

Does anybody know any tricks for DSO configuration?

Should I abandon DSO for FastCGI in order to get opCode caching?

Other suggestions?

thanks in advance....

John


Re: Blank screen after successful installation

$
0
0
by kishore kommireddy.  

Hi Usman,


I did all the above things and my system configurations are  windows-7 operating system with 64bit , and Using XAMPP server 3.2.1.



Re: Blank screen after successful installation

$
0
0
by kishore kommireddy.  

Emma thanks for quick around .But I tried all the things wt you explained previously. But till I am having the same issue. Could you give the another solution.

Re: MySQL Barracuda

$
0
0
by Graham Stone.  

Hi Michael,


Thanks for the link, yes thats exactly the same issue.  I've changed the settings so as far as I can tell all new tables will now use this new format.


Cheers,

Re: Upgrade Advice

$
0
0
by Albert Ramsbottom.  

Sorry post below somehow ended up in the blushwrong post



Re: Blank screen after successful installation

$
0
0
by Emma Richardson.  

Can you tell us exactly what you did, step by step, when you upgraded?  Also, what version of php are you running?  Can you look at the config.php file in your moodle folder and make sure that the details are correct?

Re: Blank screen after successful installation

$
0
0
by kishore kommireddy.  

Hi Emma,

I fallowed these steps for upgrading.

-> First I copied new version of moodle folder into ht docs( renamed ).

-> Copied config.php file in to new moodle in (htdocs)folder with new DB details.

-> Browser cache cleared .

-> And my php version was 5.6.8.

-> And all DB credentials are verified all are same in my DB (php myadmin) as well as config.php file(in new moodle folder).


Re: Blank screen after successful installation

$
0
0
by Emma Richardson.  

So did you create a new database for this installation?  Or is the database the same as your original installation?  Did you change the database details in config.php or leave them the same as they were for your original installation?  That part has me confused...

Re: Upgradation from Moodle 2.0.1 to latest moodle 2.9 using wamp server 2.2

$
0
0
by Bret Miller.  

Hi Neha,

You can't upgrade from Moodle 2.0.1 to Moodle 2.9 directly. So your first step is to upgrade to Moodle 2.2.11. You can find those instructions here: https://docs.moodle.org/22/en/Upgrading

You can find the download for Moodle 2.2.11 on this page: https://download.moodle.org/releases/legacy/

Important things to note:

  • Check the server requirements. As you move forward, Moodle requires newer versions of PHP and MySQL so you will need to upgrade your WAMP environment in addition to Moodle.
  • Check your plugins. Anything you've added beyond core Moodle will also likely need an upgrade. Make sure those plugins are available in the version you want to upgrade to.
  • Back up everything. If your Moodle upgrade fails or something doesn't work properly after the upgrade, the only way to downgrade is to restore your backup.
  • Read the upgrade document for each version of Moodle you're skipping. Just because you're skipping that version doesn't mean the changes in it don't apply. Depending on how you use Moodle, there may be additional upgrade steps required in an intermediate version that you will still need to apply even if you skip that version.

Of course those are all part of the instructions. Note that it is simpler to incrementally upgrade rather than dealing with 9 upgrades at once, even if you do it in 2 steps.

I'd highly recommend that you create a copy of your Moodle website (see "Moodle Migration") and test the upgrades first.

Re: Blank screen after successful installation

$
0
0
by Usman Asar.  

Now this term, "new database" is really creating confusion. But then 2.7 upgrade wouldn't have worked either.

Kishore, where are you upto now? I mean, have you managed to upgrade to 2.7 or still waiting to directly jump to 2.9?

Re: Moodle with DSO PHP handler configuration problem

$
0
0
by Matteo Scaramuccia.  

Hi John,
the "blank screen" (WSOD) is mostly due to an error from PHP or from the Web server.

Please, activate the Moodle debugging at the DEVELOPER level, https://docs.moodle.org/29/en/Debugging, to see what is the error behind that white screen, if Moodle has issues, or look at the log files of the web server to see if the request stops prematurely due to issues in the way PHP has been configured.

Besides, provide the exact version of:

  • Moodle;
  • PHP;
  • the opcode cacher;
  • the web server.

HTH,
Matteo

Re: Blank screen after successful installation

$
0
0
by kishore kommireddy.  

Usman,when I  am trying to re install 2.7 I got the DDL Sql Execution Error.Why I got these different errors in my system before I am doing this I removed all databases and freshly I created new DB with new data.Then also I got these errors.May I know why I got this error right now.

Re: Only able to access Site Admin pages locally

$
0
0
by Charles Lim.  

Does not seem to have anything blocking it. 

Also not all the function in Site Admin is not working. Some do work, e.g. Site Admin->Courses-> Course and Category Management.

Below are some debug Request from FireFox....

Also i install using xampp and Bitnami with the same problem.


Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encodinggzip, deflate
Accept-Languageen-US,en;q=0.5
Connectionkeep-alive
CookieMoodleSession=aieksvsqchcksp5a0s0jll4791; MOODLEID1_=%2501%25B5%257B%25B2%2B
Host###.###.###.##
Refererhttp://###.###.###.##/moodle/course/edit.php?category=1&returnto=category
User-AgentMozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0

pretty print
GET /moodle/admin/index.php HTTP/1.1

Host: 
###.###.###.##
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://###.###.###.##/moodle/course/edit.php?category=1&returnto=category Cookie: MoodleSession=aieksvsqchcksp5a0s0jll4791; MOODLEID1_=%2501%25B5%257B%25B2%2B Connection: keep-alive


Re: Blank screen after successful installation

$
0
0
by Emma Richardson.  

At this point, I suggest restoring from a backup (hopefully you have one...).  Go back to where everything was working - restore a backup of the old database - do not create a new database and import the data - just restore the old database that was working and then restore the old moodle and moodledata folders.  Get to where you are working and then try again. 


Can not initialise PHP session, please verify that your browser accepts cookies.

$
0
0
by Khvicha Chikhladze.  

I'm trying to install MOODLE v2.9+


During installation, after filling Administrator's Profile and clicking on 'Update Profile' button i'm getting this message: Can not initialise PHP session, please verify that your browser accepts cookies.


  • Cookies are enabled in my browser
  • All tests were passed by MOODLE during installation
  • Sessions folder is writable, in my 'php.ini' file (c:\windows\php.ini) session.save_path is "D:\Temp\PHP_Sessions\" but MOODLE writing session files under "D:\moodledata\sessions", anyway both folders are writable
  • All my own php scripts writing session files under "D:\Temp\PHP_Sessions\


OS: WIN 7 Ulitimate 64bit

WEB Server: APACHE 2.4.4 (Win64)

PHP: v5.5.0

DB: MySQL 5.6.12, account used in MOODLE is root

Web Browser: Chrome, Firefox

MOODLE WWW Folder: D:\Apache24\htdocs\moodle

MOODLE Data Folder: D:\moodledata

MOODLE Database: moodle, 250 tables without prefix

Hardware: CPU Intel i7-3632QM, RAM 8GB DDR3, SSD 250GB, HDD 750GB


Any suggestions how to solve this problem?

Re: Blank screen after successful installation

$
0
0
by Usman Asar.  

Kishore, that looks like some issue with your database. Like Emma said, restore your database from your first copy (unmodified).

If for some reason that is not available, and your moodle site wasn't big enough to be able to restart from scratch, then do that ideally, and use latest version moodle.

in case if you have developed courses that are long enough to be recreated, then take backups of courses and restore courses once your new moodle is ready.

Re: Upgradation from Moodle 2.0.1 to latest moodle 2.9 using wamp server 2.2

$
0
0
by Luis de Vasconcelos.  

The Moodle question engine was rewritten in 2.1 so if you have a lot of quiz attempts you need to prepare for the upgrade of the question data for those quiz attempts.

The Assignment module was completely rewritten in Moodle 2.3, so if you have a lot of assignment submissions you need to prepare for the upgrade of those  assignment submissions.

The Moodle Theme engine had a major upgrade in 2.5, so you'll need to upgrade your theme or find a new 2.5 compatible Bootstrap-based theme.

So, depending on how much student data and courses you have, your upgrade could be very big. If so, it's probably best to tackle it in several steps.

Read the Release Notes for each version carefully to work out just how big your upgrade will be and what you must do to complete it successfully - https://docs.moodle.org/dev/Category:Release_notes


Installation of Moodle in windows

$
0
0
by m. Vikar.  

Team, 

 i had Downloaded MoodleWindowsInstaller-latest-29 177 MB after extracting it into d drive i started run moodle and it started running , after i had changed name to folder in which it was extracted and tried to run but it fails , moodle run.exe stop responding , 


kindly help 


note : I am installing Moodle for the first time, i have some technical understanding to computer programming 

Re: Installation of Moodle in windows

$
0
0
by Usman Asar.  

You don't need to have programming skills to run moodle - First thing

Second, are you getting any specific message for you to come to conclusion that it fails? or that the computer is simply displaying "Moodle Fails"

Just for your info, run.exe doesnt do anything visually, it simply runs the applications required to run moodle (Apache, PHP and MySQL), you have to open your browser to actually run moodle, typing in localhost will start installation process, have you done so?

Viewing all 46829 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>