Project

General

Profile

Actions

Bug #260

closed
CB

Viscosity client export doesn't work

Bug #260: Viscosity client export doesn't work

Added by Chris Buechler over 16 years ago. Updated over 16 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
OpenVPN
Target version:
Start date:
12/29/2009
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

Exporting a Viscosity config results in:

Warning: filesize(): stat failed for /tmp4b3a88c82b199-Viscosity.visc.zip in /usr/local/www/vpn_openvpn_export.php on line 130 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/vpn_openvpn_export.php:130) in /usr/local/www/vpn_openvpn_export.php on line 132 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/vpn_openvpn_export.php:130) in /usr/local/www/vpn_openvpn_export.php on line 133 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/vpn_openvpn_export.php:130) in /usr/local/www/vpn_openvpn_export.php on line 134 Warning: readfile(/tmp4b3a88c82b199-Viscosity.visc.zip): failed to open stream: No such file or directory in /usr/local/www/vpn_openvpn_export.php on line 135

PP Updated by Pierre POMES over 16 years ago Actions #1

I think the bug is in /usr/local/pkg/openvpn-client-export.inc, line 267:

$zipfile = $g['tmp_path'] . "{$uniq}-Viscosity.visc.zip";

A '/' is missing between /tmp and the archive name.

If you give me access to pfsense-packages I can test it and commit.

CB Updated by Chris Buechler over 16 years ago Actions #2

Pierre - you have access to packages now. Scott committed that change, it's now showing the / but still doesn't work, error now:

Warning: filesize(): stat failed for /tmp/4b3ab4a189ea5-Viscosity.visc.zip in /usr/local/www/vpn_openvpn_export.php on line 130 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/vpn_openvpn_export.php:130) in /usr/local/www/vpn_openvpn_export.php on line 132 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/vpn_openvpn_export.php:130) in /usr/local/www/vpn_openvpn_export.php on line 133 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/vpn_openvpn_export.php:130) in /usr/local/www/vpn_openvpn_export.php on line 134 Warning: readfile(/tmp/4b3ab4a189ea5-Viscosity.visc.zip): failed to open stream: No such file or directory in /usr/local/www/vpn_openvpn_export.php on line 135

PP Updated by Pierre POMES over 16 years ago Actions #3

Hi Chris,

Sorry for the long delay. I just upgraded to the last available snapshot (Jan/08), and I upgraded my client export package: the viscosity bundle client export is ok, my firefox prompted me to have the visc.zip file. May you try again ?

Regards,
Pierre

CB Updated by Chris Buechler over 16 years ago Actions #4

hrm, another issue entirely, I don't even have this package shown for uninstall though it's clearly installed. Still shows up available for install though it's there and aside from Viscosity it works.

Pierre - it showed up available for uninstall for you?

PP Updated by Pierre POMES over 16 years ago Actions #5

I also had the same issue when upgrading to the lastest beta: package was installed, but not listed in the "installed packages" tab. So I reinstalled it from the "available packages", and I did my export test. I did not report this because I upgraded from an old "alpha" on which I made misc (probably broken) code changes, to the current "beta".

I just checked on my fresh box now: package is still not reported as installed. It seems to be a new issue.

Pierre

CB Updated by Chris Buechler over 16 years ago Actions #6

  • Priority changed from Normal to High

EL Updated by Ermal Luçi over 16 years ago Actions #7

  • Status changed from New to Feedback

It should show now as installed.
Any other issue to keep this ticket open?

CB Updated by Chris Buechler over 16 years ago Actions #8

  • Status changed from Feedback to New

Showing as installed isn't related to the actual problem here, the Viscosity client export still throws the error in the initial ticket.

EL Updated by Ermal Luçi over 16 years ago Actions #9

  • Status changed from New to Feedback

Patches committed.
Some not reference the Ticket.

CB Updated by Chris Buechler over 16 years ago Actions #10

  • Status changed from Feedback to Resolved

fixed

Actions

Also available in: Atom