Project

General

Profile

Actions

Bug #260

closed

Viscosity client export doesn't work

Added by Chris Buechler over 14 years ago. Updated about 14 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

Actions #1

Updated by Pierre POMES over 14 years ago

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.

Actions #2

Updated by Chris Buechler over 14 years ago

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

Actions #3

Updated by Pierre POMES over 14 years ago

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

Actions #4

Updated by Chris Buechler over 14 years ago

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?

Actions #5

Updated by Pierre POMES over 14 years ago

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

Actions #6

Updated by Chris Buechler about 14 years ago

  • Priority changed from Normal to High
Actions #7

Updated by Ermal Luçi about 14 years ago

  • Status changed from New to Feedback

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

Actions #8

Updated by Chris Buechler about 14 years ago

  • 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.

Actions #9

Updated by Ermal Luçi about 14 years ago

  • Status changed from New to Feedback

Patches committed.
Some not reference the Ticket.

Actions #10

Updated by Chris Buechler about 14 years ago

  • Status changed from Feedback to Resolved

fixed

Actions

Also available in: Atom PDF