Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Article Manager 2:
Installation Error

 

 


rebunkerjr
User

Nov 1, 2006, 12:33 PM

Post #1 of 11 (684 views)
Shortcut
Installation Error Can't Post

I installed the files from the .zip as instructed. I set permissions as instructed. I then executed the admin.cgi script. The first page of the script came up. When I click the Next button I get the following error message:

Page cannot be found.

In addition, the URL shows: http://www.robertbunker.com/~82056.83379//cgi-bin/artman2/admin.cgi

which is clearly a mis-formed URL.

Any suggestions would be appreciated.


Dave
Staff / Moderator


Nov 1, 2006, 12:52 PM

Post #2 of 11 (682 views)
Shortcut
Re: [rebunkerjr] Installation Error [In reply to] Can't Post

Are you hosting with Network Solutions? I recently saw that with another server last week. The problem is that the server is incorrectly setting the "SCRIPT_NAME" value. Essentially the server is misconfigured.

You could email your hosting provider and ask them to fix that. Sometimes web hosting support isn't all that responsive, though. So if that doesn't work out we're going to be release 2.02 this week and it has a new feature which lets us give you a custom patch file to work around misconfigured and non-standard servers.

So, some solutions are to ask your host to fix it or wait til the end of the week and upgrade. If you don't mind waiting I can make a patch file for your server, all you'll need to do is upload it. Just email us after installing 2.02.

Hope that helps. Sorry you're having troubles with your server.

Dave Edis - Senior Developer
interactivetools.com


rebunkerjr
User

Nov 1, 2006, 12:57 PM

Post #3 of 11 (681 views)
Shortcut
Re: [Dave] Installation Error [In reply to] Can't Post

Yes, this site is hosted at Network Solutions. I'd be happy to get your workaround. I will also touch base with Network Solutions concerning the mis-configuration.

Chip


rebunkerjr
User

Nov 3, 2006, 8:43 AM

Post #4 of 11 (652 views)
Shortcut
Re: [Dave] Installation Error [In reply to] Can't Post

Any word on 2.02?


Dave
Staff / Moderator


Nov 3, 2006, 9:09 AM

Post #5 of 11 (651 views)
Shortcut
Re: [rebunkerjr] Installation Error [In reply to] Can't Post

I handed it off yesterday afternoon, so pending some final quality assurance testing I imagine it will be released this afternoon.

Dave Edis - Senior Developer
interactivetools.com


rebunkerjr
User

Nov 3, 2006, 2:05 PM

Post #6 of 11 (644 views)
Shortcut
Re: [Dave] Installation Error [In reply to] Can't Post

As expected, the Network Solution response was less than swift and not very helpfull. This is what they had to say...

The issue you reported about the program feature you have on your site is redirecting to a different site. I have tested the link you provided 0011E29.NETSOLHOST.COM/cgi-bin/artman2/admin.cgi then click next and I was able to verify that the URL set when Next button were selected is: http://robertbunker.com/~82056.83379//cgi-bin/artman2/admin.cgi. Please make sure that the path of the pages redirecting the file or the folder to the other hyperlink page should exist on your hosting account to correct the issue. There is no outstanding issue with Perl or cgi scripts functionality of this account at this time.

I'd be happy to go back to them with additional information if you can provide me with more information concerning what you believe is the error in the server config.

thanks

Chip


Dave
Staff / Moderator


Nov 3, 2006, 2:42 PM

Post #7 of 11 (642 views)
Shortcut
Re: [rebunkerjr] Installation Error [In reply to] Can't Post

Hi Chip,

I think the simplest method is to upgrade your Article Manager and let us send you a custom patch file. But you will likely have this problem with other scripts you might use on your site, so it might make sense to get it resolved. If you do get it resolved, let us know what happened. It might help us with other clients who end up hosted with the same provider.

Here's technical details, sorry to geek out on you... Hopefully it will help in getting through to your host. :)

I've attached a simple two line script that displays all the environment variables set by the server. If you upload it to your cgi-bin, set permissions and run it you'll see them.

The CGI/1.1 specification (found here: http://hoohoo.ncsa.uiuc.edu/cgi/env.html) specifies that servers should set an environmental variabled called "SCRIPT_NAME" which has: "A virtual path to the script being executed, used for self-referencing URLs.".

So our program, like many, uses this "SCRIPT_NAME" value to create "self-referencing URLs" when linking back to ourselves or submitting a form.

If you installed the env.cgi script I sent as /cgi-bin/env.cgi then "SCRIPT_NAME" should display as "/cgi-bin/env.cgi". But if you run the script you'll see "/~82056.83379//cgi-bin/env.cgi". Which isn't a valid url and doesn't work. So when the script tries to link back to itself, it gets an error because it can't find itself.

This is likey something to do with how your web host is setup to work internally, and probably something that's meant to be filtered out so we never have to see it. But it's not so it's causing problems for anyone who is trying to run web applications that link to themselves.

You can even see the incorrect information being displayed back by the web server when you request a script that isn't there. When I request: http://robertbunker.com/cgi-bin/notThere.cgi I get "The requested URL /~82056.83379//cgi-bin/notThere.cgi was not found on this server." even though that wasn't the url I requested.

Anyways, sorry this is so complicated Chip, usually you wouldn't have to deal with ANY of this and installing would only take a couple minutes.

Let me know if I can do anything else to help, watch the forum for a new release in a couple hours, and good luck getting through to your host!

Let me know how it goes.

Dave Edis - Senior Developer
interactivetools.com
Attachments: env.cgi (0.12 KB)


rebunkerjr
User

Nov 3, 2006, 2:55 PM

Post #8 of 11 (638 views)
Shortcut
Re: [Dave] Installation Error [In reply to] Can't Post

Thanks this is helpfull. I forwarded the info to Network Solutions for their evaluation.

In the meanwhile, I'll await 2.02 and the custom patch file.

Chip


Dave
Staff / Moderator


Nov 3, 2006, 4:15 PM

Post #9 of 11 (632 views)
Shortcut
Re: [rebunkerjr] Installation Error [In reply to] Can't Post

Ok, I'm heading out for the day so I wanted to leave you with everything you need to upgrade.

2.02 will be posted here soon (Theo will be posting it):
http://www.interactivetools.com/upgrade/

Upgrade docs will be here:
http://www.interactivetools.com/docs/articlemanager2/install/upgrade.html

And I've attached a customPatches.pl file you can upload to the same directory as admin.cgi to correct the issue with the server.

Hope that helps. Let us know if you need anything further.

Dave Edis - Senior Developer
interactivetools.com
Attachments: customPatches.pl (0.91 KB)


rebunkerjr
User

Nov 19, 2006, 3:44 AM

Post #10 of 11 (574 views)
Shortcut
Re: [Dave] Installation Error [In reply to] Can't Post

Sorry for the delay in my response.

I upgraded to 2.02 and applied the custompatches file. Te install script is working fine now. Thanks for helping.

Following is the most recent response from Network Solutions. I thought you may be interested...



Dear Robert Bunker,

The issue you reported to Network Solutions on 11/5/2006 06:38:26 PM and assigned Service Request 1-252432911 has been completed and closed.

Instead of using SCRIPT_NAME, please use SCRIPT_URL instead. You can view it on this link: http://0011e29.netsolhost.com/cgi-bin/envtest3.pl

Also, you can substitute the strings that were not needed if you need it to. Here is a sample code

$string = $ENV{$fieldname};
$string =~ s/~82056.83379//;

Please let us know if there is anything more that we could do to help you, and we shall happy to assist you in any way possible.

We apologize for the delay, and inconvenience that this issue had caused you.

Thank you for your patience.

We hope this update has been helpful. However, if you have any additional questions, or feel that the issue has not been completely addressed, please do not hesitate to email our Technical Support Department at technicalsupport@networksolutions.com or call us at 1-866-391-HELP (1-866-391-4357). If calling from outside the U.S. or Canada, please call 570.708.8788





Sincerely,



SHERWIN001



Network Solutions Technical


Dave
Staff / Moderator


Nov 19, 2006, 10:19 AM

Post #11 of 11 (568 views)
Shortcut
Re: [rebunkerjr] Installation Error [In reply to] Can't Post

heh, that is interesting! At least the Network Solutions support staff know about it. :)

We've already had a number of customers with the same problem so thanks for the update!

Dave Edis - Senior Developer
interactivetools.com

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4