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

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

$
0
0
by Usman Asar.  

Khvicha,

First thing, I do really admire your way of typing a post, very detailed!

Now coming to your issue, specially when using WAMP (Windows + Apache) (This combo you may never find on Production environment) when filling in admin details after installation, either screens gets blank or nothing seem to happen after you click submit button.

This usually happens when cache's get corrupted during install (again, I have only experienced this on a Windows + Apache combo), all you have to do is, go into your moodledata folder, and delete the "cache" and "localcache" folder, refresh browser and hopefully this issue will be resolved. Dont worry about deleting the folders as when you click refresh, they will automatically be re-created.


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

$
0
0
by Khvicha Chikhladze.  

Usmar, thank You  for you reply, but I have already tried to delete "cache" and "localcache" folders:


1. delete folders and then refresh page where error was shown http://localhost/moodle/admin/index.php?sessionstarted=1&sessionverify=1&lang=en

2. delete folders and then click on "continue" button on the same page

3. delete folders and then refresh  Administrator Account's page http://localhost/moodle/user/editadvanced.php?id=2

4. fill Administrator Account Form, delete folders and then click on "Update profile" button


but still same error.

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

$
0
0
by Usman Asar.  

That is weird issue, must be something to do with php configuration file, but anyway, I am assuming, you have installed the XAMPP package, and on top of that installed Moodle files?

As in your case, I would have used windows installer package instead, as it comes with all underlying requirements intact, and they dont even run as service.
If you havent already, uninstall Apache/Php/MySQL (but save your php.ini) and try running Windows Installer package, and once you are up and ready, see how php.ini file is configured in installer package. 

Also, just as I was finishing this post, another thing popped up into my mind, have you declared PHP in environmental variables? Though I am assuming you would have already, but just in case.

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

$
0
0
by Khvicha Chikhladze.  

Usman,

No, I'm not using XAMPP or WAMP, I have installed Apache/PHP/MySQL separately.


Yes, I know Windows installer package and don't have any problems with it on other PC, it works, i just wanted to prepare everything (on my WIN 7) to install MOODLE later on the real server (with Windows Server OS) where Apache/PHP/MySQL will be installed separately.


OK, as you said I will check 'php.ini' from Windows Installation Package and compare it with my 'php.ini'.


Yes, PHP is declared in environment variables.


Thank You anyway, will inform you as soon as i will have more info, Thank You Usman.

Re: Installation of Moodle in windows

$
0
0
by m. Vikar.  

Dear Usman 


i had started Moodle by using Chrome (localhost) it worked ok moodle started working , now one day later same method i am using .

1.runing moodle start.exe

2.using chrome ( localhost, http://127.0.0.1/


following errors are coming kindly help me 

Re: Installation of Moodle in windows

$
0
0
by Emma Richardson.  

Try deleting the cache folders in your MoodleDATA folder.

Re: Installation of Moodle in windows

$
0
0
by Usman Asar.  

Ok not to worry, in addition to what Emma mentioned deleting the "cache" folder - if that didnt work, as well delete the "localcache" folder too ---- this happens when cache's get corrupted, and deleting them and refreshing  the browser will re-create the two folders as well solving the issue.

additionally, Moodle runs based on its configuration file (config.php)

so whatever address you give into config files, Moodle will only be able to open using that, so if you open your config.php file, you'll see something like

$CFG->wwwroot   = 'localhost';
mentioned there.

in order to open the moodle using anything other than localhost, you have to change that address, so typing in http://127.0.0.1 will open moodle without any issues. but be aware, you wont be able to open moodle afterwards by typing http://localhost / localhost etc

In similar way, if you want to access moodle on local network, you'll be assigning that config.php file with address like http://192.168.1.20 (assuming this is IP of computer hosting moodle). this way typing that address on any computer will open that site, but again remember, now both localhost and 127.0.0.1 wont work (even on the computer where moodle is hosted), even on that computer you'll be typing http://192.168.1.20 to access moodle.

Data directory - data location is not secure

$
0
0
by Witold Wisniewski.  

Hi,

I am trying to install the newest version of moodle in my hosting server. Because this is hosted place, all what I can is to locate the data users directory in my moodle folder. I have read documentation and I know that if I choose this option I need create special .htaccess and locate it in my data users directory.

I have done it (I have copied content of the file from the documentation). Unfortunately I still get the instalator's response: "Dataroot location is not secure".


Could anyone help me?


Thank you in advance

Witold


Re: Warnings after upgrade to 2.9 from 2.8.2

$
0
0
by Barb Hall.  

Thanks Trevor.  I don't seem to have a directory moodle/theme/myoldertheme to put version.php into.  I tried creating a folder named myoldertheme but it just made things worse.  Clearing cache didn't help either.

Here's the error:

Debug info: 
Error code: detectedmisplacedplugin
Stack trace:
  • line 454 of /lib/upgradelib.php: plugin_misplaced_exception thrown
  • line 1630 of /lib/upgradelib.php: call to upgrade_plugins()
  • line 433 of /admin/index.php: call to upgrade_noncore()
Checking on Moodle Tracker I found this:

Let me guess, you arrived here after trying to install a new theme? If so then check that the version.php of the theme in question, and make sure that it is completed correctly, especially this line...

$plugin->component = 'theme_yourthemename'; // Full name of the plugin (used for diagnostics)

...where 'yourthemename' is the correct spelling of the theme you are trying to install.

Thing is I'm not trying to install a new theme, this was just an upgrade.

Do you have any ideas?

Server limit to upload files

$
0
0
by enrique fanjul.  

I have installed Moodle 2.6.1 using Quick Install.

I have a problem.

In site policies, in "Maximum uploaded file size", the maximun option I see is "site upload limit": 64M.

It doesn't appear the option of "server limit" that appears in other Moodle installations.

So I cannot restore courses with a size above 64M.

Has any of you had this problem?

How can I make so that teh option "server limit" appears?

Thank you for any assistance to solve this problem.

Enrique

Re: Server limit to upload files

$
0
0
by Emma Richardson.  

The server limit is a php setting.  Whatever you set in php.ini file will be reflected as the site limit.  Look for max_upload_size and max_post_size settings in your php settings.

Re: Moodle 2.6.1 Site Blank Page

$
0
0
by annahtreek ihtoj.  

Thank you Emma! I contacted hostgator and the problem is resolved smile

combo.php 404 error (file or directory not found)

$
0
0
by Gerald Coffman.  

Moodle 2.9, mysql, iis.  we see the following 404 Error (file or directory not found)

/moodle/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1434248651/mcore-min.js

Moodle PHP MySQLi Error

$
0
0
by Geoff Diggles.  

I have currently built a test moodle on Windows Server 2012 which replicates our school Moodle. This is to allow me to run test upgrades and troubleshoot errors. The version is on 2.6.4 and I am trying to upgrade to 2.9. I have set the required files such as PHP.ini and config.ini. However, whilst running the upgrade I get the error shown in the attachment in respect of MySQLi. I have the DBType set to MySQLi in config.php and the extensions enabled in PHP.ini. I wondered if anyone can point me in the right direction, the attachment shows the config I am using.


Thanks


Geoff

Re: Server limit to upload files

$
0
0
by enrique fanjul.  

The problem was solved by the server administrators.

I don't know very well what they did, but solved it.

Thank you anyway for your assistance.

Regards.

Enrique


Re: Moodle with DSO PHP handler configuration problem

$
0
0
by Matteo Scaramuccia.  

Hi John,
it sounds like you miss to copy some files at least formslib.php or you have permission issues on some of them.

Please, try search for that file in that path and if it is missing re-upload it, better, re-upload all the files of the Moodle version you've deployed into your server.

My guess is that yours is a permission issue based on the moving from suPHP to DSO even if the user under which the two configurations work should be the same, probably your hosting account.

HTH,
Matteo

Re: combo.php 404 error (file or directory not found)

$
0
0
by Matteo Scaramuccia.  

Hi Gerald,
that seems a broken Moodle URL: it misses the HTTP GET file param or the correct PATH_INFO data.

How did you deploy PHP in your Windows server?
Please, follow the Moodle guidelines about IIS and slash arguments: drop the URL rewriting method and go for the real PATH_INFO support: https://docs.moodle.org/29/en/Internet_Information_Services.

HTH,
Matteo

MySQL problems when installing/upgrading to Moodle 2.9

$
0
0
by Elaine Wilson.  

I am trying to upgrade from 2.3 to 2.9 and had problems with the database format. My hosting company have not been able to help so I decided to create a new database and start from scratch. The problem I have is that Moodle is not happy with the version of MySQL that my hosting company has provided. Please see below.


Database MySQL (5.5.5-10.0.14-MariaDB)                 version 5.5.31 is required and you are running 5.5.5.10.0.14           Check

 




I also have the problem below.

 slasharguments               if test fails, it indicates a potential problem               Check


It is recommended that the use of slash arguments is enabled. In future it will be required. For more details, see documentation Using slash arguments.

Has anyone else come across this? Any suggestions please?


Upgrade Single Row Compression Fills Drive

$
0
0
by Travis Silva.  

I am doing a moodle upgrade from 2.6.4 to 2.9 Build: 20150604.The database is MariaDB 5.6.22-71.0 . The OS is SLES 12.0
 
The problem seem to be happening when the database is converting the single row compression to barracuda. When the conversion happens the ibd file grows till the drive fills up. The database is only 700 MB and it fills a 100 GB drive.
 
The table is mdl_question_attempts.

Re: MySQL problems when installing/upgrading to Moodle 2.9

$
0
0
by Emma Richardson.  

If your web host does not have a later compatible version of PHP, then you will need to go to 2.8 instead of 2.9 until they change that. 

The Slash arguments message should not stop the install - you can check the setting in your admin settings under Server/HTTP.


Viewing all 46829 articles
Browse latest View live


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