Project

General

Profile

Actions

Bug #8792

closed
JP JP

OpenVPN wizard PHP error

Bug #8792: OpenVPN wizard PHP error

Added by Jim Pingle about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OpenVPN
Target version:
Start date:
08/16/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
Affected Architecture:
All

Description

In certain cases the OpenVPN wizard can result in a PHP error when selecting a server certificate:

PHP ERROR: Type: 1, File: /usr/local/www/wizards/openvpn_wizard.inc, Line: 246, Message: Uncaught Error: Cannot unset string offsets in /usr/local/www/wizards/openvpn_wizard.inc:246
Stack trace:
#0 /usr/local/www/wizard.php(114) : eval()'d code(1): step8_submitphpaction()
#1 /usr/local/www/wizard.php(114): eval()


Files

vpn_wizard.png (84.3 KB) vpn_wizard.png Denis Karpushin, 08/18/2018 01:29 AM

JP Updated by Jim Pingle about 8 years ago Actions #1

  • Status changed from New to In Progress

JP Updated by Jim Pingle about 8 years ago Actions #2

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

Applied in changeset commit:82a3d3e9a8e73896f9da02f77742ca8389b1dc83.

DK Updated by Denis Karpushin about 8 years ago Actions #3

Created bunch of tunnels with wizard. Used internal server certificates and faced no issue.

DK Updated by Denis Karpushin about 8 years ago Actions #4

UPD.
If you create CA without Country Code (left it as NONE) and in wizard trying to create new server certificate, in the coutry code field ther is "internal-ca" string. See the image.

CM Updated by Chris Macmahon about 8 years ago Actions #5

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom