I think you can do it in the gradebook.
Joseph Rézeau
Beiträge von Joseph Rézeau
Again, Guillermo, many thanks for your continued support.
I have done all the tests you suggest with my Apache server and all is OK.
I have tested my RAM, it's OK.
I have also had a look at the various posts on the Internet re Access violation. No solution found.
Re-started my local moodle install this morning to conduct more tests and the page stopped displaying even before outputting any block! Here are my findings:
08:33 28/10/2014
log into my localhost moodle27
page only displays "You are not logged in (Log in) in the top right corner. Rest of page is blank.
Apache access.log reads:
127.0.0.1 - - [28/Oct/2014:08:31:42 +0100] "GET / HTTP/1.1" 200 94521 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0"
127.0.0.1 - - [28/Oct/2014:08:31:51 +0100] "GET /moodle27/ HTTP/1.1" 200 21877 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0"
Apache error.log:
[Tue Oct 28 08:31:26.183593 2014] [core:warn] [pid 972:tid 164] AH00098: pid file M:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Oct 28 08:31:27.301757 2014] [mpm_winnt:notice] [pid 972:tid 164] AH00455: Apache/2.4.10 (Win32) PHP/5.5.15 configured -- resuming normal operations
[Tue Oct 28 08:31:27.301757 2014] [mpm_winnt:notice] [pid 972:tid 164] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Tue Oct 28 08:31:27.301757 2014] [core:notice] [pid 972:tid 164] AH00094: Command line: 'm:\\server\\apache\\bin\\httpd.exe -d M:/server/apache'
[Tue Oct 28 08:31:27.306640 2014] [mpm_winnt:notice] [pid 972:tid 164] AH00418: Parent: Created child process 6480
[Tue Oct 28 08:31:27.877929 2014] [mpm_winnt:notice] [pid 6480:tid 288] AH00354: Child: Starting 150 worker threads.
php_error_log : nothing
mysql_error.log:
2014-10-28 08:31:31 6860 [Note] Plugin 'FEDERATED' is disabled.
2014-10-28 08:31:31 1a20 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2014-10-28 08:31:31 6860 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-10-28 08:31:31 6860 [Note] InnoDB: The InnoDB memory heap is disabled
2014-10-28 08:31:31 6860 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-10-28 08:31:31 6860 [Note] InnoDB: Memory barrier is not used
2014-10-28 08:31:31 6860 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-10-28 08:31:31 6860 [Note] InnoDB: Not using CPU crc32 instructions
2014-10-28 08:31:31 6860 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2014-10-28 08:31:31 6860 [Note] InnoDB: Completed initialization of buffer pool
2014-10-28 08:31:31 6860 [Note] InnoDB: Highest supported file format is Barracuda.
2014-10-28 08:31:31 6860 [Note] InnoDB: The log sequence numbers 1665234 and 1665234 in ibdata files do not match the log sequence number 11268963 in the ib_logfiles!
2014-10-28 08:31:31 6860 [Note] InnoDB: Database was not shutdown normally!
2014-10-28 08:31:31 6860 [Note] InnoDB: Starting crash recovery.
2014-10-28 08:31:31 6860 [Note] InnoDB: Reading tablespace information from the .ibd files...
2014-10-28 08:31:35 6860 [Note] InnoDB: Restoring possible half-written data pages
2014-10-28 08:31:35 6860 [Note] InnoDB: from the doublewrite buffer...
2014-10-28 08:31:37 6860 [Note] InnoDB: 128 rollback segment(s) are active.
2014-10-28 08:31:37 6860 [Note] InnoDB: Waiting for purge to start
2014-10-28 08:31:37 6860 [Note] InnoDB: 5.6.20 started; log sequence number 11268963
2014-10-28 08:31:38 6860 [Note] Server hostname (bind-address): '*'; port: 3306
2014-10-28 08:31:38 6860 [Note] IPv6 is available.
2014-10-28 08:31:38 6860 [Note] - '::' resolves to '::';
2014-10-28 08:31:38 6860 [Note] Server socket created on IP: '::'.
2014-10-28 08:31:42 6860 [Note] Event Scheduler: Loaded 0 events
2014-10-28 08:31:42 6860 [Note] m:\server\mysql\bin\mysqld.exe: ready for connections.
Version: '5.6.20' socket: '' port: 3306 MySQL Community Server (GPL)
page source, after the header shows:
<div id="page" class="container-fluid">
<header id="page-header" class="clearfix">
<h1></h1> <div id="page-navbar" class="clearfix">
<nav class="breadcrumb-nav"><span class="accesshide">Page path</span><ul class="breadcrumb"><li><a href="http://localhost/moodle27/">Home</a></li></ul></nav>
<div class="breadcrumb-button"></div>
</div>
<div id="course-header">
</div>
</header>
<div id="page-content" class="row-fluid">
<div id="region-bs-main-and-pre" class="span9">
<div class="row-fluid">
<section id="region-main" class="span8 pull-right">
<div role="main"><span id="maincontent"></span>
Clearly, HTML output to the page stops suddenly!
Windows Events Observer displays no errors (ony the mysql warnings present in mysql_error.log).
at 08:46 28/10/2014 I click the Log in button
the login page displays normally...
Current codepage for my moodle config.php file is ANSI. What should I change it to?
I've tried UTF-8 but does not make any difference. I doubt my current problem has anything to do with the config.php codepage, but thanks for the suggestion anyway.
Joseph
Thanks for your continued support, Guillermo. Unfortunately none of the solutions you suggest work, I am still stuck.
1.- "I would first block the loading of PHP to see if the error still occurs with only Apache running." What's the point of running Apache with PHP disabled? Of course Apache itself does work. But if PHP is not running, I cannot run Moodle, so...
2.- PHP.ini all the settings you mention are ON. When my moodle pages freeze there is nothing in the php error log.
3.- %SystemRoot%\system32;other_paths;path_to_php\ext; I've done that.
4.- "is there a php5ts.dll file at the PHP folder?" Yes of course.
5.- Comment out some extensions. a) There is no php_sqlsrv line in my php.ini. b) extension=php_mssql.dll IS commented out by default.
6.- the dll dependencies look OK
Recap: Environment:
Windows 7 64bits
xampp-win32-1.8.3-5-VC11 (with Apache 2.4.10 & PHP 5.5.15 etc.)
Problem is independent of a) browser being used (tested with Chrome, MSIE and Firefox); b) Avira antivirus & Windows firewall being turned ON or OFF); c) database used (tested with mysql and postgresql); d) version of PHP, I tried with older versions of PHP and Moodle.
Symptoms:
The page display "freezes" When installing Moodle (any version, including 1.9). The freeze occurs immediately after:
"Your server environment meets all minimum requirements."
Press "Continue" button...
Example with moodle 2.7 latest.
start time: 11:13
Top of Firefox tab shows: Installation - Moodle 2.7.2+
Status line: Waiting for localhost... Transfer of data
Nothing else is displayed for the next 13 minutes, then:
time: 11:26
Displays: Installation
System
and the rest of the page is blank.
Address bar shows: http://localhost/moodle27/admin/index.php?agreelicense=1&confirmrelease=1&lang=en
Windows Events Observer displays error:
Faulting application name: httpd.exe, version : 2.4.10.0
Faulting module name : php5ts.dll, version : 5.5.15.0
access.log file last line reads:
127.0.0.1 - - [27/Oct/2014:11:26:22 +0100] "GET /moodle27/theme/image.php?theme=clean&component=theme&image=favicon HTTP/1.1" 200 1150 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0"
php error.log latest lines show:
[Mon Oct 27 11:04:28.974609 2014] [mpm_winnt:notice] [pid 2564:tid 268] AH00354: Child: Starting 150 worker threads.
[Mon Oct 27 11:26:21.003906 2014] [mpm_winnt:notice] [pid 4668:tid 256] AH00428: Parent: child process 2564 exited with status 3221225477 -- Restarting.
[Mon Oct 27 11:26:21.410156 2014] [ssl:warn] [pid 4668:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Oct 27 11:26:21.446289 2014] [mpm_winnt:notice] [pid 4668:tid 256] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15 configured -- resuming normal operations
[Mon Oct 27 11:26:21.446289 2014] [mpm_winnt:notice] [pid 4668:tid 256] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Mon Oct 27 11:26:21.446289 2014] [core:notice] [pid 4668:tid 256] AH00094: Command line: 'm:\\server\\apache\\bin\\httpd.exe -d M:/server/apache'
[Mon Oct 27 11:26:21.447265 2014] [mpm_winnt:notice] [pid 4668:tid 256] AH00418: Parent: Created child process 3168
[Mon Oct 27 11:26:22.079101 2014] [ssl:warn] [pid 3168:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Oct 27 11:26:22.339843 2014] [ssl:warn] [pid 3168:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Oct 27 11:26:22.377929 2014] [mpm_winnt:notice] [pid 3168:tid 268] AH00354: Child: Starting 150 worker threads.
Last lines of php_error_log:
[27-Oct-2014 11:11:32 Europe/Berlin] PHP Warning: mysqli::mysqli(): (HY000/1049): Unknown database 'moodle27' in M:\server\htdocs\moodle27\lib\dml\mysqli_native_moodle_database.php on line 445
[27-Oct-2014 11:11:32 Europe/Berlin] PHP Notice: Use of undefined constant MDL_PERF_TEST - assumed 'MDL_PERF_TEST' in M:\server\htdocs\moodle27\lib\setuplib.php on line 1813
[27-Oct-2014 11:11:32 Europe/Berlin] PHP Notice: Trying to get property of non-object in M:\server\htdocs\moodle27\lib\moodlelib.php on line 8894
[27-Oct-2014 11:11:32 Europe/Berlin] PHP Notice: Undefined offset: 1 in M:\server\htdocs\moodle27\lib\moodlelib.php on line 8156
[27-Oct-2014 11:11:32 Europe/Berlin] PHP Notice: Trying to get property of non-object in M:\server\htdocs\moodle27\lib\moodlelib.php on line 8901
mysql_error.log latest lines show:
2014-10-27 11:04:32 4228 [Note] m:\server\mysql\bin\mysqld.exe: ready for connections.
Version: '5.6.20' socket: '' port: 3306 MySQL Community Server (GPL)
---
reloading frozen page in my browser leads to new address:
http://localhost/moodle27/user/editadvanced.php?id=2
where I can continue with installation...
This "frozen page" problem at installation is a sure sign that it will happen again when conducting some operations in the installed Moodle, as reported in my very first post in this thread.
As I have said before, NONE of the suggestions work for me. Can anyone with a computer running Windows 7 64 bits latest updated machine try installing XAMPP, etc and report success or failure similar to mine? I do appreciate this would take some time, but it might help me out of this mysterious situation.
Joseph