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


Installation problem - Yahoo website
 Moderated by: Keith  
 New Topic   Reply   Print 
AuthorPost
gossamerLL
Member
 

Joined: Tue Oct 24th, 2006
Location:  
Posts: 2
 Posted: Tue Oct 24th, 2006 05:26 pm
 Quote  Reply 
I think the problem is the web host being yahoo. I'm getting the following message.

Your server does not have a usable environment variable for determining your site's root path
/routines.txt does not exist

Is there a way around this? Can I create my own routines.txt? Also yahoo only allows .pl, is it ok to just change the extension?


Thanks.
Linda

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 578
 Posted: Tue Oct 24th, 2006 08:26 pm
 Quote  Reply 
It looks like Yahoo is not giving us any environment variables to work with. EditWrx uses environment variables to locate all of the files in the domain path.

With luck we may be able to trick the system to use relative paths instead of the absolute paths that would be in environment variables.

1) Rename wrx.cgi to wrx.pl. That script knows it's own name so you do not need to make any other changes.

2) Make certain that the $editwrx_folder_name variable on wrx.pl is set to the name of the folder that you have the /library and /ikons folder in

3) Add a new line above the line containing $editwrx_folder_name with the following code:

BEGIN{$ENV{'DOCUMENT_ROOT'}='../'}

if your wrx.pl is located in a cgi-bin folder outside of your site's home folder, you need to change that '../' path to a relative path that will point to the home folder for your domain. For example, if your home page is located in a folder named "htdocs" and the cgi-bin is located on the same level as htdocs then the path would be '../htdocs'.

gossamerLL
Member
 

Joined: Tue Oct 24th, 2006
Location:  
Posts: 2
 Posted: Tue Oct 24th, 2006 10:41 pm
 Quote  Reply 
Excellent! Thank you, this worked and I'm now able to run the editor on the Yahoo webspace.


 Current time is 04:58 pm




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