Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

help with website

Asked Modified Viewed 2,327 times
B
blitzkrieg07
B
  • Member, joined since
  • Contributed 89 posts on the community forums.
  • Started 23 threads in the forums
  • Started this discussions
asked
Member

redirect($settings['opening_page']);



my friend has that piece of coding in the index.php file. the problem is that his site, http://emwizpro.com keeps onredirecting to google. Any solution to keep it fromdoing that?
0 replies

8 posts

U
UCTXs
U
UCTXs 10
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 4 threads in the forums
answered
Junior Member

I have made your site so you can access it my friend. The problem is with your Blacklist options. After viewing your maincore.php I changed your Blacklist redirection to your home page instead of google. I dont have time tonight to sort out this issue my friend due to me having to be at work in 3 hrs. But your site can now be accessed until we can get into this a little deeper.

Your Code:
// Check if users full or partial ip is blacklisted
$sub_ip1 = substr(USER_IP,0,strlen(USER_IP)-strlen(strrchr(USER_IP,".")));
$sub_ip2 = substr($sub_ip1,0,strlen($sub_ip1)-strlen(strrchr($sub_ip1,".")));
if (dbcount("(*)", "blacklist", "blacklist_ip='".USER_IP."' OR blacklist_ip='$sub_ip1' OR blacklist_ip='$sub_ip2'")) {
   header("Location: http://www.emwizpro.com/"); exit;
}
Edited by UCTXs on 11-09-2006 06:33,
0 replies
K
Ken
K
Ken 10
No Support by PM. Please use the forum.
  • Senior Member, joined since
  • Contributed 713 posts on the community forums.
  • Started 43 threads in the forums
answered
Senior Member

The reason your site redirects to Google is because of blacklisted IP-adresses and/or members. Now that you can access the site check if your own IP-adress is blacklisted and also if there are any members, including yourselves, have been blacklisted.

If you or someone else flood your shoutbox or forum the user get banned (blacklisted) automatic and the site redirect as told above to Google.
Edited by Ken on 11-09-2006 07:21,
0 replies
B
blitzkrieg07
B
  • Member, joined since
  • Contributed 89 posts on the community forums.
  • Started 23 threads in the forums
  • Started this discussions
answered
Member

I've fixed the black list issue from the database and no one is blacklisted anymore. Not even Ipower figured the problem out.

Could someone go on the emwizpro.com site and take a look at the site. IS there anything wrong with the images? The only images Isaw that had problems was the No Avatar picture and the shoutbox select option buttons. It's like the site has a virus. Some pics are all blurry.
0 replies
M
mpkossen
M
  • Senior Member, joined since
  • Contributed 267 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

Didn't you blacklist with a lot of wildcards (*)? Seems to me you did. Could you please upen phpMyAdmin (if you've got this) and tell us the contents of your blacklist table?
0 replies
K
Ken
K
Ken 10
No Support by PM. Please use the forum.
  • Senior Member, joined since
  • Contributed 713 posts on the community forums.
  • Started 43 threads in the forums
answered
Senior Member

Your site looks ok to be. But there are no topbanner and some of the text is much bigger than the rest (the "A lot of new Media" news).

Where is the blurry pictures? In the photoalbum? As visitor I can't access the photoalbum so I can't check.

About the avatar be sure the noav.gif picture is in the /images/ folder. I have included the picture in this post. Be sure it's called noav.gif when you upload it.
0 replies
B
blitzkrieg07
B
  • Member, joined since
  • Contributed 89 posts on the community forums.
  • Started 23 threads in the forums
  • Started this discussions
answered
Member

img96.imageshack.us/img96/1189/blacklistcc0.png

img150.imageshack.us/img150/1703/epimagefd2.png
0 replies
M
mpkossen
M
  • Senior Member, joined since
  • Contributed 267 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

Could you click the browse button in phpMyAdmin when looking at the blacklist table? This way we can see the contents of the table.
0 replies
B
blitzkrieg07
B
  • Member, joined since
  • Contributed 89 posts on the community forums.
  • Started 23 threads in the forums
  • Started this discussions
answered
Member

i coulda sworn I removed everything in there. But I guess either something was added after I deleted everything or I forgot toremove it.

img106.imageshack.us/img106/5256/blacklisthz4.png

The images have been fixed. Gotta fix the shoutbox still.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 8 posts
  • Votes 0 votes
  • Topic users 4 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet