Bug #907
closedload leads from leads file not working
100%
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
Updated by Levy Ryan Nolasco over 11 years ago
- Status changed from New to Closed
- Assignee set to Saleh Madi
- % Done changed from 0 to 100
Hi,
Good day! Please update your server by running the yum update command and try to upload your lead file again.
# yum update
Regards,
Ryan
Updated by Saleh Madi over 11 years ago
Hi Ryan,
My server is up to date and when I run "yum update" No Packages marked for Update, please see below
[root@go ~]# yum update
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: ftp.dgn.net.tr
* extras: centos.fastbull.org
* updates: ftp.dgn.net.tr
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Extras
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update
[root@go ~]# rpm -qa |grep goautodial
goautodial-ce-config-3.0-1379044800
goautodial-ce-3.0-1379044800
[root@go ~]# rpm -qa |grep vicidial
vicidial-2.7.401a-130508.2256.2.go
Thanks...
Best Regards,
Saleh