Page 1 of 1

listloader does not work in vicidial copy

PostPosted: Sun Aug 05, 2012 4:11 pm
by mmirasol
Hello, I'm trying to create some custom php pages for my boss. To work on this, I copied the vicidial folder and named it vicidial-test. After doing this, I noticed that the listloader script no longer works. When I upload a .csv file, it creates a .csv file in the tmp folder but the .txt file is empty.

When I try the same thing on the original folder, it works. How can I make the listloader work on the test copy? Please advise.

GoAutoDial CE 2.0 | Vicidial VERSION: 2.6-372a BUILD: 120713-2123 | Asterisk 1.4.27.1-1 | Web/DB Server & PBX running GoAutoDial | Sangoma UT50 | Installed: wanpipe-voicetime drivers 1.0.11

Re: listloader does not work in vicidial copy

PostPosted: Sun Aug 05, 2012 9:18 pm
by williamconley
Admin => System Settings:

Admin Web Directory - This is the directory that your administation web content, like admin.php, are in. Default is vicidial. To figure out your Admin web directory, it is everything that is between the domain name and the admin.php in the URL on this page, without the beginning and ending slashes.

Also be sure the new folder has the same permissions as the old one.

Re: listloader does not work in vicidial copy

PostPosted: Mon Aug 06, 2012 4:39 am
by mmirasol
Thanks for the reply, William. Unfortunately, i've already set this to vicidial-dev, the new folder. And all the files have the same permissions as the original files. Any other suggestions?

Re: listloader does not work in vicidial copy

PostPosted: Mon Aug 06, 2012 4:46 am
by mmirasol
I take that back. I think I must have missed something because after I did chmod 777 on the folder, it finally worked. Anyway this permission setting's fine for a test copy. Thanks again, William.

Re: listloader does not work in vicidial copy

PostPosted: Mon Aug 06, 2012 9:43 am
by williamconley
good post back :)

Re: listloader does not work in vicidial copy

PostPosted: Mon Sep 24, 2012 1:44 am
by bobbymc
i wouldnt suggest chmod any folder to 777..

Re: listloader does not work in vicidial copy

PostPosted: Mon Mar 11, 2013 7:32 pm
by williamconley
I wouldn't either, except to "get it running" ... after that works, it is possible to modify the permissions to something appropriate. But it is very helpful for finding out if permissions IS the problem.

Re: listloader does not work in vicidial copy

PostPosted: Wed Mar 13, 2013 2:13 pm
by bobbymc
in my opinion this is good practice for web apps

To apply permissions to ONLY directories

find . -type d -exec chmod 775 {} \;

To apply permissions to ONLY the files.

find . -type f -exec chmod 664 {} \;