-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
notices #1
Comments
heh - that's the same issue I got... I tried different certs with no avail.. |
Yeah that's the verification error. I suppose we can change VERIFYPEER to false here until I fix it upstream in the library. |
So I pushed a change that should fix this. I tested on XAMPP WinXP and it worked. If somebody else can confirm that the fix works I will close this as resolved. |
Changing CURLOPT_SSL_VERIFYPEER from |
Well, I can not confirm that the fix works on windows but I can confirm that it works on Linux - perfect :) I'm totally impressed - there is so much potential in this thingy.. |
Joe can you confirm that the fix I pushed fixes the issue on your Mac? |
@test The pull request joomla/joomla-cms#3 is correctly displayed and clicking on it displays the github pull for it. Clicking on Apply Patch gives: 500 - An error has occurred. Not connected to server. |
@ianmacl just tested with a fresh copy and yes, the notices are gone. However, I'm getting the same 500 error as @infograf768 when applying a patch. |
I can reproduce this issue on a windows box - it occurs when the extension php_openssl.dll is not loaded in your php.ini On a Mac ? No clue. Is PHP compiled with OpenSSL support ? Could you check your php_info() and make sure that OpenSSL support is enabled ? Also, Ian, the 500 comes from an unhandled exception thrown in JHttp.. should we implement a try..catch in the controller and also throw meaningful exception instead of just returning false ? |
On Mac, with MAMP or Native Apache with php, SSL Support is enabled. |
OpenSSL is enabled on my Mac setup as well.
|
JHttp is really unhelpful, eating up valuable error messages the Joomla! way...
The connect() method doesn't even throw an exception, nor it checks the $err and $errno variables - platform bug :( Would it make sense to use cURL, now that the https problem seems to be resolved (i hope..) ? edit ;) Could you try the following code right in
|
I wonder if it is the allow_url_fopen setting. Is that enabled? |
Yes, allow_url_fopen is enabled on my machine. On Oct 14, 2011, at 2:13 PM, ianmacl wrote:
|
allow_url_fopen is also enabled here. |
Could you test again with the latest changes, so this issue might be closed (hopefully) ? |
Tested, no longer get the notices in the current version. |
Makes links to github appear in a new window
I get these:
Notice: Undefined index: request_header in /Library/WebServer/Documents/trunk1.7/libraries/joomla/client/github.php on line 173
Warning: usort() [function.usort]: The argument should be an array in /Library/WebServer/Documents/trunk1.7/administrator/components/com_patchtester/models/pulls.php on line 102
Warning: Invalid argument supplied for foreach() in /Library/WebServer/Documents/trunk1.7/administrator/components/com_patchtester/models/pulls.php on line 104
Warning: Invalid argument supplied for foreach() in /Library/WebServer/Documents/trunk1.7/administrator/components/com_patchtester/views/pulls/tmpl/default.php on line 51
The text was updated successfully, but these errors were encountered: