PDA

View Full Version : Site URL



domainlane
07-06-2006, 02:55 PM
I had whois setup on my site but it never functioned correctly. I downloaded the newest version 2.22and am still having problems getting it to function correctly. If you go to my website the whois doe not work http://www.domainlane.com (Old Version) I have removed the old whois folder from me server and installed the new version. I created a test page to see if it works and I get an http://www.domainlane.com/[[site-url]]whois.php
error the page is http://www.domainlane.com/test.html. Please any Ideas on how to resolve this issue will be greatly appreciated.

C K

Patrick
07-06-2006, 04:54 PM
According to what I see at http://www.domainlane.com/whois/whois.php , your script URL is incorrect. As stated in the admin panel, your script URL "Must end in a trailing slash." Not only that, but you also are currently pointing to the wrong location. If the whois script is at /whois/, then your script URL would be http://www.domainlane.com/whois/ .

Login to whois admin panel, click "Script Settings", and change "Script URL" field.

As for your front page (http://www.domainlane.com), it is missing <form> tags (look at http://www.domainlane.com/whois/whois.php AFTER you have fixed Script URL to see how those should look).

domainlane
07-06-2006, 07:02 PM
Thank you or your assistance. I changed the site url but am still getting the same error if you check the test page i am getting the [[user-domain]] in the text box and a [[tld-checkboxes]] http://www.domainlane.com/test.html

I am not going to worry about the fron tage of my site right now as i will upload the new version once i get it to work correctly

Thank you

Patrick
07-06-2006, 07:40 PM
I am not sure what you are doing (it appears that you have just copy and pasted from the whois admin panel templates).

The script parses its templates (in whois admin panel) when it runs. In other words, go look at http://www.domainlane.com/whois/whois.php . See? The script is working just fine.

If you want to "copy" that box to another portion of your website (outside of the script), then you MUST visit http://www.domainlane.com/whois/whois.php in your browser, view the page's source code, and copy that source code into another webpage (such as test.html). You CANNOT simply copy the code from the admin panel templates, as this code has not been parsed by the script. Also note that if you make any TLD changes, template changes, or similar in the admin panel that you want to reflect on an external webpage then you will need to copy & paste again in the same manner.

The procedure above will allow you to transplant the search box anywhere in your website. Of course, you should still edit the templates via admin panel (or include header / footer files via template page) to integrate the whois script into your site.