Closed GoogleCodeExporter closed 8 years ago
Hello,
Do you have an unclosed quote or a missing semicolon in a configuration item
that has been entered (e.g. location, username, or password) in config.php in
phpVirtualBox's folder?
Original comment by imooreya...@gmail.com
on 9 Sep 2010 at 3:12
no i validate it twice
Original comment by abau...@gmail.com
on 9 Sep 2010 at 8:22
Attachments:
I have the same issue.
* php --syntax-check on config.php mentions no syntax errors
* I can't get php itself to report the error
* I can log on / off the webservice through webtest using the same credentials
I gave config.php
Original comment by stefanwi...@gmail.com
on 9 Sep 2010 at 1:38
Do you see anything when you navigate to lib/language.php in your web browser?
Original comment by imooreya...@gmail.com
on 9 Sep 2010 at 1:53
white screen using the latest chromium when browsing to lib/language.php
Original comment by stefanwi...@gmail.com
on 9 Sep 2010 at 2:42
Something is erroring out in PHP then. Do you see any errors in your web
server's logs regarding PHP? What version of php are you using?
Original comment by imooreya...@gmail.com
on 9 Sep 2010 at 3:13
no errors at all, I've set php to full logging. I'll try and nudge it around
some more :)
I'm on php 5.3.3 / apache 2.2.16
Original comment by stefanwi...@gmail.com
on 9 Sep 2010 at 3:23
My apologies. I meant js/language.php, not lib/language.php. Please try
js/language.php
Original comment by imooreya...@gmail.com
on 9 Sep 2010 at 3:53
/js/language.php and lib/language.php have the same result. Even though
phpvirtualbox is reporting that an unknown php error has occurred, I can't seem
to get php to output said error at all.
I am sure error logging is active and working, I have a test in place I use
every time before and after I try your suggestions.
I'm not seeing anything happen on the vboxwebsrv terminal as I (try to) use
phpvirtualbox, but as said that is working through webtest.
I'll keep trying to get php to output the error.
in the mean time, I've noticed that the arch package installs vboxwebsrv to
/opt/Virtualbox/* and not the expected /usr/bin/. I don't think this is
related, but I thought I'd mention it.
Original comment by stefanwi...@gmail.com
on 9 Sep 2010 at 5:00
i install phpsysinfo to test php and it's work fine
Original comment by abau...@gmail.com
on 9 Sep 2010 at 5:22
i think it's because archlinux not have libapache2-mod-php5
i need to know what pkg libapache2-mod-php5 do in ubuntu
Original comment by abau...@gmail.com
on 9 Sep 2010 at 5:25
"libapache2-mod-php5" provides the apache2 php5 module (libphp5.so), on arch
linux that is provided by "php-apache"
it may be a regression in php, I'll try to downgrade and report back.
Original comment by stefanwi...@gmail.com
on 9 Sep 2010 at 5:51
I'm having the same problem on CentOS 5.5. Is anyone having this problem on
Ubuntu. I think that is what the developer used...so Ubuntu must include
something that we're all missing...maybe?
Original comment by bon...@gmail.com
on 11 Sep 2010 at 6:33
any one run phpvirtualbox on dist other than ubuntu?
Original comment by abau...@gmail.com
on 11 Sep 2010 at 7:17
hi everybody,
i am running virtualbox on an ubuntu server 8.04 and i i am having exactly the
same problem saying
An unknown PHP error occurred. This is most likely a syntax error in config.php
in phpVirtualBox's folder. The most common errors are an unclosed quote or a
missing semicolon in a configuration item that has been entered (e.g. location,
username, or password).
I am using the Ebox version of the ubuntu server. I have tried the hole
scenario in a VM with a normal installation of the ubuntu server without any
problems. Does the problem might have something to do with the Ebox Kernel?
kind regards,
Original comment by riff...@gmail.com
on 11 Sep 2010 at 7:08
Same error here, running archlinux. (An unknown PHP error occurred.)
I tried other webservers like lighttpd and cherokee, same problem.
(PHP 5.3.3)
Original comment by celonu...@gmail.com
on 12 Sep 2010 at 12:30
Make sure you are using PHP >= 5.2.0
Original comment by imooreya...@gmail.com
on 13 Sep 2010 at 3:19
[deleted comment]
php is currently on 5.3.3 here, I'm going to test against 5.2.14 and will
report back.
Original comment by stefanwi...@gmail.com
on 13 Sep 2010 at 4:02
Place the attached file in phpVirtualBox's folder and navigate to it in your
web browser, then copy / paste the output please.
Original comment by imooreya...@gmail.com
on 13 Sep 2010 at 4:12
Attachments:
right, I've downgraded to php 5.2.14. This time, a HTTP 500 error pops up.
attached the acces_log and the requested output of phpinfo();
Original comment by stefanwi...@gmail.com
on 13 Sep 2010 at 4:42
Attachments:
stefan, is there anything in the error_log when this happens?
Original comment by imooreya...@gmail.com
on 13 Sep 2010 at 4:57
just did a clean restart.
acces_log:
127.0.0.1 - - [13/Sep/2010:19:01:19 +0200] "GET /phpvirtualbox/ HTTP/1.1" 304 -
127.0.0.1 - - [13/Sep/2010:19:01:20 +0200] "GET /phpvirtualbox/js/language.php
HTTP/1.1" 500 -
127.0.0.1 - - [13/Sep/2010:19:01:20 +0200] "GET /phpvirtualbox/js/language.php
HTTP/1.1" 500 -
error_log:
[Mon Sep 13 19:01:10 2010] [notice] SIGHUP received. Attempting to restart
[Mon Sep 13 19:01:11 2010] [notice] Digest: generating secret for digest
authentication ...
[Mon Sep 13 19:01:11 2010] [notice] Digest: done
[Mon Sep 13 19:01:11 2010] [notice] Apache/2.2.16 (Unix) mod_ssl/2.2.16
OpenSSL/1.0.0a DAV/2 PHP/5.2.14 with Suhosin-Patch configured -- resuming
normal operations
and that is all she wrote. I'm going to see if I can increase the error
reporting level as well as see if I can get this downgraded version of php to
report anything.
Original comment by stefanwi...@gmail.com
on 13 Sep 2010 at 5:03
In /etc/php/php.ini, change display_errors and display_startup_errors to On
then restart apache. Hopefully that will make PHP log errors.
Original comment by imooreya...@gmail.com
on 13 Sep 2010 at 5:12
it does not display any errors. Not as part of the script, not in error_log.
phpsysinfo(); reports both values as "On"
is there any use in comparing basedir values? does your script require access
to anything non-standard? I take it you requested my phpinfo to compare with
your own, any obvious differences?
Original comment by stefanwi...@gmail.com
on 13 Sep 2010 at 5:26
Nothing that really jumps out. It *could* be the basedir restriction, but it
shouldn't. The only other thing phpVirtualBox tries to access is /tmp, which is
in the allowed list. You can try commenting out open_basedir in php.ini,
restarting apache, and seeing if it works.
Original comment by imooreya...@gmail.com
on 13 Sep 2010 at 5:42
that did not change anything
I've attached my php.ini and apache config file, perhaps you can compare them
to yours in a line by line method? Could I be missing a module perhaps?
I did not see any traffic on the webserver of virtualbox as we tried all this,
I can however manually browse to that. That simply outputs:
SOAP-ENV:ClientHTTP GET method not implemented
Original comment by stefanwi...@gmail.com
on 13 Sep 2010 at 5:52
Attachments:
Change line:
;extension=json.so
to:
extension=json.so
in php.ini and restart apache. It should work then.
Original comment by imooreya...@gmail.com
on 13 Sep 2010 at 7:03
same thing with the soap.so line in that same file.
Original comment by imooreya...@gmail.com
on 13 Sep 2010 at 7:06
problem solved (tested with php 5.2.14), thanks for your endurance in this
matter :)
Original comment by stefanwi...@gmail.com
on 13 Sep 2010 at 7:15
Original comment by imooreya...@gmail.com
on 13 Sep 2010 at 9:28
THX
Original comment by abau...@gmail.com
on 13 Sep 2010 at 9:41
[deleted comment]
Help me, please! I have tried to follow your instructions. But I still do not
succeed. Below:
email: hoan281085@gmail.com
An unknown PHP error occurred. This is most likely a syntax error in config.php
in phpVirtualBox's folder. The most common errors are an unclosed quote or a
missing semicolon in a configuration item that has been entered (e.g. location,
username, or password).
Depending on your PHP configuration, navigating directly to config.php in your
web browser may display the PHP error message.
If find that this is not the case, or have no idea what this error message
means, please raise the issue at
http://code.google.com/p/phpvirtualbox/issues/list
Original comment by Hoan281...@gmail.com
on 15 Mar 2011 at 5:31
Hoan, please open a new issue.
Original comment by imooreya...@gmail.com
on 15 Mar 2011 at 10:22
Original issue reported on code.google.com by
abau...@gmail.com
on 8 Sep 2010 at 9:56