Issue Details (XML | Word | Printable)

Key: MDL-18639
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Jerome Mouneyrac
Reporter: Jerome Mouneyrac
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Xampp Windows package is broken on Windows XP

Created: 23/Mar/09 02:42 PM   Updated: 08/Apr/09 10:39 AM
Return to search
Component/s: Installation
Affects Version/s: 1.9.4
Fix Version/s: 1.9.5

Environment: Windows XP + Moodle Package 1.9

Participants: Eloy Lafuente (stronk7), Jerome Mouneyrac and Tony Bowes
Security Level: None
QA Assignee: Eloy Lafuente (stronk7)
Resolved date: 25/Mar/09
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
On a Windows XP virtual machine (my host is Ubuntu 64), the Moodle Windows Package cannot be launched. In fact if you run /server/apache_start.bat, the apache server doesn't start. It's the reason why "Start Moodle.exe" doesn't work anymore.

The error:
apache.exe: Syntax error on line 478 of C:/Documents and Settings/jerome/Desktop
/MoodleWindowsInstaller-latest-19/server/apache/conf/httpd.conf: Syntax error on
 line 7 of C:/Documents and Settings/jerome/Desktop/MoodleWindowsInstaller-lates
t-19/server/apache/conf/extra/httpd-xampp.conf: Cannot load C:/Documents and Set
tings/jerome/Desktop/MoodleWindowsInstaller-latest-19/server/apache/bin/php5apac
he2_2.dll into server: The specified module could not be found.

It does work on Windows Vista but not on Windows XP. Note that it used to work on XP. I guess this bug has been introduce during the previous update of Xampp, last January. I have a look.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Jerome Mouneyrac added a comment - 23/Mar/09 04:42 PM
I downloaded the last xampplite 1.7.0, and the problem seems to come from it. On win XP, the error is:
apache.exe: Syntax error on line 477 of C:/xampplite/apache/conf/httpd.conf: Syn
tax error on line 7 of C:/xampplite/apache/conf/extra/httpd-xampp.conf: Cannot l
oad C:/xampplite/apache/bin/php5apache2_2.dll into server: The specified module
could not be found.

It seems to me it's because, Win XP do not understand "/" it should be "\" :
C:\xampplite\apache\bin\php5apache2_2.dll


Jerome Mouneyrac added a comment - 25/Mar/09 02:43 PM - edited
In fact it's a Xampp problem with windows XP. I wrote a warning note into http://docs.moodle.org/en/Complete_install_packages_for_Windows#Second_-_start_the_webserver:
"If apache doesn't start on Windows XP, your /windows/system32/msvcr71.dll file could be missing. You can resolve it installing the .Net 1.1 framework"

Jerome Mouneyrac added a comment - 25/Mar/09 02:54 PM
I updated the Readme.txt file into the Moodle Windows Package.

Jerome Mouneyrac made changes - 25/Mar/09 02:54 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Eloy Lafuente (stronk7) added a comment - 25/Mar/09 06:34 PM
Hi Jerome,

I just found this:

http://i.justrealized.com/2009/02/16/how-to-run-xampps-php-cli-and-cakephp-console/

where it's said that the msvcr71.dll dependency is caused by the postgresql php extension.

So, I've disabled it in the php.ini file and rebuilt all the packages. It would be great if you can try new packages tomorrow (with Net 1.1 not installed).

Ciao

P.S.: I'd make the tests myself, my XP box has a lot of MS development tools installed (to be able to build the MSSQL drivers and others) and I'd prefer not to modify anything here.


Eloy Lafuente (stronk7) made changes - 25/Mar/09 06:36 PM
QA Assignee stronk7
Jerome Mouneyrac added a comment - 26/Mar/09 10:19 AM
Hi Eloy,
the new windows package doesn't work without the missing file. I still needed to add it to the windows/system32 folder.

Jerome Mouneyrac added a comment - 26/Mar/09 12:12 PM
Note that for me, installing the .Net framework didn't resolve the issue. I had to look for the file on Google and directly copy it in my /windows/system32 folder.

Eloy Lafuente (stronk7) added a comment - 28/Mar/09 02:06 AM
Hi Jerome,

was playing here with one old version of xampplite ... and found that it includes the msvcr71.dll (and the msvcr80.dll too) file in the apache/bin dir. In the other side, current version of xampplite (1.7) doesn't include them anymore.

Also have found some pages pointing about to copy the file into that apache/bin dir as a solution for the problem.

Do you think we could try to do that when packages are built?


Jerome Mouneyrac added a comment - 30/Mar/09 09:56 AM
I though about that and I confirm that it works. However I couldn't find a licence for this file. It is a file provided by Microsoft.

Jerome Mouneyrac added a comment - 30/Mar/09 10:08 AM
I found that: http://support.microsoft.com/kb/326922
Microsoft recommends to copy the file into our application (not windows/system32), in our case: apache/bin
It "seems" to be ok to add it to the package.
What do you think Eloy?

Tony Bowes added a comment - 01/Apr/09 09:53 AM
This issue is also in 2.0 dev. Fixed using the same method: placing msvcr71.dd into server\apache\bin.

(Sorry if there needs to be a new ticket for this in 2.0. Just getting started)


Jerome Mouneyrac made changes - 07/Apr/09 10:50 AM
Resolution Fixed [ 1 ]
Status Resolved [ 5 ] Reopened [ 4 ]
Eloy Lafuente (stronk7) added a comment - 07/Apr/09 06:01 PM
Done. Now the msvcr71.dll and msvcr80.dll files are added to apache/bin if missing from XAMPPLite distro.

Packages are being rebuilt right now and will be available in a couple of minutes (from 1.6 to HEAD).

Please, confirm it solves de problem and .Net and friends aren't needed anymore... ciao


Jerome Mouneyrac added a comment - 08/Apr/09 10:39 AM
I confirm that it works fine now. Thanks Eloy.

Jerome Mouneyrac made changes - 08/Apr/09 10:39 AM
Status Reopened [ 4 ] Closed [ 6 ]
Resolution Fixed [ 1 ]