1
Semzer
Banner click go's back to strange login screen
  • 2003/5/27 20:55

  • Semzer

  • Just popping in

  • Posts: 1

  • Since: 2003/5/27


Can someone help me out...??

I have created a new banner account in my XOOPS admin and i created 5 banners (http://banner_url) to start the bannering, But everytime i click one of the banners it just:

- opens a new window (good)
- shows the click_out URL (good)
- never shows the real website (?? oo Oooww)
- but changes back to an login screen of my own website. (oeps)

can someone please help me to correct this problem.

Best Regards,
Semzer.

2
gservo
Re: Banner click go's back to strange login screen
  • 2003/7/1 13:32

  • gservo

  • Just popping in

  • Posts: 6

  • Since: 2003/6/16


I have this same exact issue...
Glad to see it's not just me...

All the banners are turned on correctly, i tried recreating them, this happend all of a sudden

Semzer, what theme are you using?

3
gservo
Re: Banner click go's back to strange login screen
  • 2003/7/2 10:56

  • gservo

  • Just popping in

  • Posts: 6

  • Since: 2003/6/16


for now i just turned off my banners
When i first loaded XOOPS the banners did not workand i had to copy the banner php file, i am going to check that, maybe replace it...

4
gservo
Re: Banner click go's back to strange login screen
  • 2003/7/3 15:39

  • gservo

  • Just popping in

  • Posts: 6

  • Since: 2003/6/16


I changed the permissions on the Banner PHP to see if that was the problem, it was not.
Anybody have an idea

5
ktshen
Re: Banner click go's back to strange login screen
  • 2003/7/7 9:53

  • ktshen

  • Just popping in

  • Posts: 2

  • Since: 2003/7/7 2


you can try this
a. find out php.ini
set register_globals = On

or try this
b. alter banner.php
add this

if (empty($op)){
$op = $_GET["op"];
}
if (empty($bid)){
$bid = $_GET["bid"];
}

before this line switch ( $op ) {

I have same problem on my server.
I try to set register_globals = On
It works, but I think they may cause a lot of security problem.
so I set register_globals = Off and try to alter banner.php to get $op and $bid from GET form.
It works too.

6
gservo
Re: Banner click go's back to strange login screen
  • 2003/7/7 21:24

  • gservo

  • Just popping in

  • Posts: 6

  • Since: 2003/6/16


Thanks, i will give it a try tonight, just to test but isn't "global on" a major security risk

7
Panos
Re: Banner click go's back to strange login screen
  • 2003/7/7 21:34

  • Panos

  • Friend of XOOPS

  • Posts: 87

  • Since: 2003/3/20


The registered globals are set to "off" on the server that's running my site, yet I don't have a single problem when using banners.php.

8
ktshen
Re: Banner click go's back to strange login screen
  • 2003/7/8 4:03

  • ktshen

  • Just popping in

  • Posts: 2

  • Since: 2003/7/7 2


I'm not sure what problem is it.
beacuse the original banner(Xoops official site banner) it works fine.
all the banner that I add, it just redirect me to the banner client login page.

I solve the problem by alter banner.php
if anyone have the same problem as me.
you can try this.

9
gservo
Re: Banner click go's back to strange login screen
  • 2003/7/8 17:42

  • gservo

  • Just popping in

  • Posts: 6

  • Since: 2003/6/16


I dont want to create a security hole on my site, so i am going to keep the banners off till i find an alternitive method of fixing this, or figure out why it stopped working in the first place...

10
techgnome
Re: Banner click go's back to strange login screen
  • 2003/7/8 18:00

  • techgnome

  • Module Developer

  • Posts: 51

  • Since: 2002/8/9 5


Quote:

gservo wrote:
I dont want to create a security hole on my site, so i am going to keep the banners off till i find an alternitive method of fixing this, or figure out why it stopped working in the first place...

Use the second option ktshen mentioned..... using that method, you will not need register globals turned on.

Login

Who's Online

203 user(s) are online (165 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits