targeturl HELP

It's not difficult to install myLounge Redirection, but sometimes it's quite tricky. Post your questions in here.

Moderator: Scooby

targeturl HELP

Postby micuk79 » Mon Apr 28, 2003 12:39 am

I 've just installed mylounge redirection script . but it shows error when new users are registering subdomain. Could anybody help?

my register page:

http://www.essaycanada.com/myred/register.php

php version: 1.4

Which server software do you use
server: http://www.netfirms.com

Is php installed as cgi or as module?
I am not sure

What is the url where we can have a look at your problem?
http://www.essaycanada.com/myred/register.php

What is the exact problem?
it shows : target URL is not valid .


also I need to know how to use index.php in my root folder.

Thank you very much
micuk79
Newbie
Newbie
 
Posts: 5
Joined: Mon Apr 28, 2003 12:36 am

Postby andelal » Mon Apr 28, 2003 9:38 am

I seems that netfirms doesn't allow remote connections to other sites (this part of the registering uses "fopen").

Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe

Postby micuk79 » Mon Apr 28, 2003 7:43 pm

To: Alex

So what can I do with it ? Please help :cry:
micuk79
Newbie
Newbie
 
Posts: 5
Joined: Mon Apr 28, 2003 12:36 am

Postby andelal » Mon Apr 28, 2003 7:46 pm

Are you familiar with php? You could exclude the target url proof functions in register.php.

Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe

Postby micuk79 » Wed Apr 30, 2003 6:24 am

To: Alex

Could you please tell me how to modify it step by step .... in detail .

I am not good at PHP programming.

Thanks for your help


Michael
micuk79
Newbie
Newbie
 
Posts: 5
Joined: Mon Apr 28, 2003 12:36 am

Postby andelal » Wed Apr 30, 2003 7:20 am

Those parts are in register.php and members.php and look like:
Code: Select all
$metatags = spider($targeturl);
if(!$metatags) {
   $error4 = "$text_40";
   }
$forbiddenstatus = check_forbidden($targeturl);
if($forbiddenstatus == 1) {
   $error4 = "$text_216";
   }

They are a few times in there, so you should search for the words "metatags" and "forbiddenstatus" to find them.
Just delete these lines (make a backupcopy of the files first!).

Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe

Postby micuk79 » Wed Apr 30, 2003 7:54 am

To: Alex

Thanks , Alex , it seems work but after the subdomain registered. it shows the following page:


http://testone.essaycanada.com

Bad Gateway
The following error occurred:
A DNS lookup error occurred. The host was not found.


--------------------------------------------------------------------------------
Please contact the administrator.

What should I do then ?

Michael
micuk79
Newbie
Newbie
 
Posts: 5
Joined: Mon Apr 28, 2003 12:36 am

Postby Bizzar » Wed Apr 30, 2003 3:02 pm

Good morning... :)

I successfully registered an account using the url you provided.

Bizzar.essaycanada.com

Now... Here's the problem. After successful registration, I hit the home button, and it took me back to www.essaycanada.com/index.php. This errored out. Where is your index.php page?

Looks like a settings issue. In the root of your webfolder for essaycanada.com, you should have index.php and in that index file, there is a link to the main page of your website (usually main.htm) This way, if the redirection fails, you have a page to fall back on.

I forced a www.essaycanada.com/index.htm and it sent me to www.essaycanada.com/phpbb2/index2.php.

What you want to do, is rename index.htm to main.htm, use index.php instead, and change your settings slightly. If you want, you can even tell index.php to forward people to that phpbb site if the redirection fails. I'll track down the line of code here in a minute.

hope this helps a little

-Biz
Bizzar
Member
Member
 
Posts: 43
Joined: Tue Jan 14, 2003 3:28 pm
Location: Pennsylvania, USA!

Postby Bizzar » Wed Apr 30, 2003 3:53 pm

After re-reading what I said, I think andel did something different with his script. You need to go to your admin page, leave the domain the way it is, and change your starting page to = /phpbb2/index2.php

That should forward you to the correct page.

Hope this helps!
Bizzar
Member
Member
 
Posts: 43
Joined: Tue Jan 14, 2003 3:28 pm
Location: Pennsylvania, USA!

Postby micuk79 » Thu May 01, 2003 5:26 pm

It seems it is the wildcard problem. Netfirms.com doesn't allow me to redirect subdomain to anywhere else. BUT..

is there anything i can do to enable it ?

Thanks

Michael
micuk79
Newbie
Newbie
 
Posts: 5
Joined: Mon Apr 28, 2003 12:36 am

Postby MetalHellsAngel » Sun Mar 19, 2006 1:21 pm

andelal wrote:Those parts are in register.php and members.php and look like:
Code: Select all
$metatags = spider($targeturl);
if(!$metatags) {
   $error4 = "$text_40";
   }
$forbiddenstatus = check_forbidden($targeturl);
if($forbiddenstatus == 1) {
   $error4 = "$text_216";
   }

They are a few times in there, so you should search for the words "metatags" and "forbiddenstatus" to find them.
Just delete these lines (make a backupcopy of the files first!).

Alex



I just wanted to say thanks for this bit of info, now everything is working beautifully!! :D :D :D :D :D :D :D :D
MetalHellsAngel
Newbie
Newbie
 
Posts: 1
Joined: Sun Mar 19, 2006 1:03 pm

Postby andelal » Sun Mar 19, 2006 3:35 pm

You are welcome, and good luck!

Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe


Return to Support

Who is online

Users browsing this forum: No registered users and 31 guests

cron