Old:Bugs 3.5-Apollo: config inc php

From The Uniform Server Wiki
Revision as of 20:20, 27 May 2008 by Ric (talk | contribs) (Protected "Bugs 3.5-Apollo: config inc php" [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

config.inc.php

Bug fix corrects drive letter

File: config.inc.php Location: *\Uniform Server\udrive\home\admin\www\includes

Problem: 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.

Solution: Edit the file as follows:

Change the following: (Line 26):
$drive="$pathArray[0]/$pathArray[1]";


To this:
$drive="$pathArray[0]";


Download

Its probably quicker to manually correct the file.

Forum reference

Additional information or background can be found on these forum pages.

Forum reference 1

Forum reference 1

Proposed solution

See above.

Top


Ric