kintsukori / phpvirtualbox

Automatically exported from code.google.com/p/phpvirtualbox
Other
0 stars 0 forks source link

PHP Error, if no cookie is set on a multiserver page (solution included!) #343

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?
1. Create a phpVirtualBox page with more than one server using 4.1.0
2. Browse that site using a browser, which has not visited that site before

Alternatively, you can delete the "vboxServer" cookie for the site you are 
visiting.

What is the expected output? What do you see instead?
Instead of the phpVirtualBox page, a requester containing an unknown PHP error 
is presented.

What version of phpVirtualBox, VirtualBox, and PHP are you using? On what
operating system?
phpVirtualBox-4.1.0, VirtualBox-4.1.0, PHP-5.3.5 (xampp), Windows Server 2003

Please provide any additional information below.
The problem can be fixed by replacing "!$this->location" in line 90 of 
lib/config.php with "(!isset($this->location) || !$this->location)".

Original issue reported on code.google.com by WRMBa...@gmail.com on 29 Jul 2011 at 7:39

GoogleCodeExporter commented 8 years ago
Thanks!

Original comment by imooreya...@gmail.com on 29 Jul 2011 at 1:27