Old:Bugs 3.5-Apollo: Introduction

From The Uniform Server Wiki
Revision as of 20:14, 27 May 2008 by Ric (talk | contribs) (Protected "Bugs 3.5-Apollo: Introduction" [edit=sysop:move=sysop])
Jump to navigation Jump to search

MPG UniCenter

Bugs 3.5-Apollo: Introduction | Server_Start.bat | Disk Start.vbs | Close.bat | config.inc.php | apanel - blown away | Combined bug fix

Uniform Server 3.5-Apollo known bugs or issues

Uniform Server is a very robust piece of kit however with the passage of time several bugs have come to light. I thought it worthwhile locating these in one place with proposed solutions. This section pulls in information from the forum and includes my findings.

The solutions are unofficial and have been tested only on Windows XP-Home you can give these a try preferably on a clean installation of Uniform Server.

Server_Start.bat

For disk_start.vbs to work correctly batch variable %2 must be reinstated and checked.

The third parameter %3 (Console) seems to be redundant no idea what it’s original purpose was. When run it just leaves the command prompt open, which is of little use. Proposal let this open a command prompt accessing the MySQL bin folder will allow command line control of the MySQL server using mysql.exe and mysqladmin.exe.

Proposed solution covers the above in addition I have added comments, generally cleaned up the script and changed the order of the commands slightly.

disk_start.vbs

This is a beta script and contains a known bug even after correction the script will not work unless parameter %2 is reinstated see above.

Proposed solution Proposed solution, correct the bug, add an enhancement to auto detect first free drive letter and add an option to run a command prompt see section 1) above.

Close.bat

This script shuts down the MySQL server and removes virtual drive created. When MySQL root password is changed this script fails to pick it up and server remains running.

Proposed solution change code to pick up password.

config.inc.php

In vary rare situations the environment variable “Disk” is not passed to PHP. In this event the script calculates its own path and extracts and uses this disk letter. Unfortunately there is a bug that produces an incorrect drive letter.

Proposed solution change code to extract correct drive letter.

Apanel blown away

In php.ini turning off “short open tags” blows apanel away, sounds alarming! It is re-enabling short open tags does not reinstate apanel.

Proposed solution change apanel to use full tags.

Combined bug fix

All the above fixes have been zipped to a single file to make the update easer check this page for details.

Top


Ric