Author |
Message |
sek-sports
Hangin' Around

Joined: Jul 18, 2007
Posts: 49
|
Posted:
Thu Dec 11, 2008 4:25 pm |
|
I hadn't tried my advertising module in a long time but decided to activate it. The image comes up fine but when you hover it or click it, it doesn't go to the correct url. The same thing happens when I click on an "http referer" in my admin menu.
It adds my site address to the front of the target url like this when I click the advertisers image.
http://www.sek-sports.com/index.php?op=ad_click&bid=8
It seems like I have some corrupt code somewhere.
You can see what I mean if you go to www.sek-sports.com and click the little image under "advertisers" in the top center. |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Thu Dec 11, 2008 4:49 pm |
|
What it should be doing is a proper redirect, why that isn't working, I'm not sure. Time to check your error logs |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
sek-sports

|
Posted:
Thu Dec 11, 2008 5:10 pm |
|
My error log is huge. I get an error about every minute
Here are the different errors that are showing up:
File does not exist: /home/seksport/public_html/favicon.ico
File does not exist: /home/seksport/public_html/includes/tiny_mce/langs/.js
File does not exist: /home/seksport/public_html/_vti_bin/owssvr.dll
File does not exist: /home/seksport/public_html/_vti_bin/owssvr.dll
File does not exist: /home/seksport/public_html/editor_ui.css
File does not exist: /home/seksport/public_html/editor_popup.css
File does not exist: /home/seksport/public_html/editor_content.css |
|
|
|
 |
jakec
Site Admin

Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Fri Dec 12, 2008 1:29 am |
|
It looks like you have got it set to registered users only. I am getting the message "We are Sorry, but this section of our site is for Registered Users Only". |
|
|
|
 |
sek-sports

|
Posted:
Fri Dec 12, 2008 1:45 am |
|
Yeah that was an oversight with the link going to a "content" page that I had set for registered members. I still couldn't get the original advertising block to work so I found a "rotating banner" block and used it. Seems to work so far. Still don't know why it works for me but the original block adds my web address to the front of the clicked destination bringing up a blank screen. |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Fri Dec 12, 2008 5:49 am |
|
sek-sports wrote: | My error log is huge. I get an error about every minute
|
No wonder, you are still using PHP-Nuke instead of RavenNuke(tm). You could try taking the Advertising module from the latest RavenNuke. I don't recall us changing the data model and I think we took it originally from 7.9. But, don't forget the ads() function in mainfile.php too... |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
sek-sports

|
Posted:
Fri Dec 12, 2008 2:45 pm |
|
I tried uploading a clean 7.9 advertising module and advertising block but no change. I found ads() function in mainfile, what do I need to do to it if anything? |
|
|
|
 |
montego

|
Posted:
Sun Dec 14, 2008 10:08 am |
|
I suggested taking the copy of the Advertising module from the latest RavenNuke, not 7.9. I would also replace the ads function code in your mainfile.php with the one from RavenNuke. |
|
|
|
 |
sek-sports

|
Posted:
Tue Dec 16, 2008 4:11 pm |
|
|
|
 |
|