EditWrx Knowledge Base Home
 Search       Login   Register   Members   Help   Home 
Search by username


Problem copying files
 Moderated by: Keith  
 New Topic   Reply   Print 
AuthorPost
cyberSAR
Member
 

Joined: Tue Jan 10th, 2006
Location:  
Posts: 2
 Posted: Tue Jan 10th, 2006 12:29 pm
 Quote  Reply 
First let me congratulate you on a very nice product.  I am very impressed by the functionality and ease of use.

I have been playing with the automatic account creation and run into an issue during setup.  When clicking submit the user is taken to a page not found with the url of http://www.domain.com/editwrx/wrx.cgi?add_nu_user

I have included an instructions.html in the folder to copy from.  The user account is created and the folder is created but no files are copied.

Any ideas or suggestion?

Many thanks.

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Tue Jan 10th, 2006 03:57 pm
 Quote  Reply 
I think I found your problem cyberSAR

The add_user was developed before the ability to strip absolute URLs to virtual URLs was added for Dreamweaver users. If you have "Convert URLs to virtual URIs" set to Yes in admin/Site Parameters it screws up the add_user functions because the add_user functions needs absolute URLs in the create_username_folder_in_folder and folder_to_populate_from fields.

Three choices:
  1. Turn off "Convert URLs to virtual URIs" in admin/Site Parameters while making the signup forms.
  2. Edit /library/ini/write.txt. On about line 148 change

    $hostx=$host;$hostx=~s`^www\.``;$_[0] =~ s`([^>])http://$hostx/`$1/`g;$_[0]=~ s`([^>])http://www\.$hostx/`$1/`g;


    to

     
    if($_[0] !~ /create_username_folder_in_folder/){
      $hostx=$host;$hostx=~s`^www\.``;$_[0] =~ s`([^>])http://$hostx/`$1/`g;$_[0]=~ s`([^>])http://www\.$hostx/`$1/`g;
     }


    (Make certain that the line begining with $hostx remains 1 line to the g;)

  3. Update to 6.10.060111 which will include the #2 fix (release Jan 11)
When creating the form, be sure you are getting the HOST name you want in those two fields. If your links that take visitors to that page includes "www" in the host, those two field valuess will need "www" in the host part of the URL. The opposite is also true, if "www" is not in the page's links, do not include it in the field values.

cyberSAR
Member
 

Joined: Tue Jan 10th, 2006
Location:  
Posts: 2
 Posted: Wed Jan 11th, 2006 01:34 am
 Quote  Reply 
Keith,

That solved it!

I can't say enough how happy I am with your software and your fast replies for support and questions.

I've dealt with many companies online over the years and I can say my purchase from you has been the best by far.

 

Thanks,

 


 Current time is 11:22 pm




Powered by WowBB 1.62 - Copyright © 2003-2004 Aycan Gulez