listloader does not work in vicidial copy

Discussions about development of VICIDIAL and astGUIclient

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

listloader does not work in vicidial copy

Postby mmirasol » Sun Aug 05, 2012 4:11 pm

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
mmirasol
 
Posts: 31
Joined: Tue May 15, 2012 11:28 pm

Re: listloader does not work in vicidial copy

Postby williamconley » Sun Aug 05, 2012 9:18 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: listloader does not work in vicidial copy

Postby mmirasol » Mon Aug 06, 2012 4:39 am

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?
mmirasol
 
Posts: 31
Joined: Tue May 15, 2012 11:28 pm

Re: listloader does not work in vicidial copy

Postby mmirasol » Mon Aug 06, 2012 4:46 am

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.
mmirasol
 
Posts: 31
Joined: Tue May 15, 2012 11:28 pm

Re: listloader does not work in vicidial copy

Postby williamconley » Mon Aug 06, 2012 9:43 am

good post back :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: listloader does not work in vicidial copy

Postby bobbymc » Mon Sep 24, 2012 1:44 am

i wouldnt suggest chmod any folder to 777..
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Re: listloader does not work in vicidial copy

Postby williamconley » Mon Mar 11, 2013 7:32 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: listloader does not work in vicidial copy

Postby bobbymc » Wed Mar 13, 2013 2:13 pm

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 {} \;
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am


Return to Development

Who is online

Users browsing this forum: No registered users and 28 guests