Project

General

Profile

Actions

Bug #907

closed

load leads from leads file not working

Added by Saleh Madi over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
10/02/2013
Due date:
% Done:

100%

Estimated time:

Description

I have install the "goautodial-32bit-ce-3.0-final" but the loading of leads from leads file not working, the problem is in the path for the script "sheet2tab.pl".
Please see below the apache error log:

[Tue Oct 01 10:44:57 2013] [notice] Digest: done
[Tue Oct 01 10:44:57 2013] [notice] SSL FIPS mode disabled
[Tue Oct 01 10:44:57 2013] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
sh: /application/views/go_list/sheet2tab.pl: No such file or directory
sh: /application/views/go_list/sheet2tab.pl: No such file or directory

The fix for this problem is to change the right path for the script "sheet2tab.pl"

$WeBServeRRooT = $this->config->item('VARWWWPATH');

[root@go models]# pwd
/var/www/html/application/models
[root@go models]# diff Nur go_campaign.php.orig go_campaign.php
--
go_campaign.php.orig 2013-10-01 10:56:41.000000000 0200
++ go_campaign.php 2013-10-01 11:09:03.000000000 0200
@ -1248,7 +1248,8 @
$LF_name = ereg_replace("[^-\.\_0-9a-zA-Z]","_",$LF_name);
copy("$filePath/$LF_name", "$filePath/$fileName");
$new_filename = preg_replace("/\.csv$|\.xls$|\.xlsx$|\.ods$|\.sxc$/i", '.txt', $LF_name);
- $WeBServeRRooT = $this->config->item('VARWWWPATH');
// $WeBServeRRooT = $this->config->item('VARWWWPATH');
+ $WeBServeRRooT = "/var/www/html";
$admin_web_directory = "application/views/go_list";
$convert_command = "$WeBServeRRooT/$admin_web_directory/sheet2tab.pl /tmp/$LF_name /tmp/$new_filename";

Best Regards,

Saleh

Actions

Also available in: Atom PDF

Go to top