Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.9
Author Message
sek-sports
Hangin' Around



Joined: Jul 18, 2007
Posts: 49

PostPosted: Thu Dec 11, 2008 4:25 pm Reply with quote

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.
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Thu Dec 11, 2008 4:49 pm Reply with quote

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! 
View user's profile Send private message Visit poster's website
sek-sports







PostPosted: Thu Dec 11, 2008 5:10 pm Reply with quote

My error log is huge. I get an error about every minute Shocked

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

PostPosted: Fri Dec 12, 2008 1:29 am Reply with quote

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".
 
View user's profile Send private message
sek-sports







PostPosted: Fri Dec 12, 2008 1:45 am Reply with quote

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

PostPosted: Fri Dec 12, 2008 5:49 am Reply with quote

sek-sports wrote:
My error log is huge. I get an error about every minute Shocked


No wonder, you are still using PHP-Nuke instead of RavenNuke(tm). Laughing 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! 
View user's profile Send private message Visit poster's website
sek-sports







PostPosted: Fri Dec 12, 2008 2:45 pm Reply with quote

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







PostPosted: Sun Dec 14, 2008 10:08 am Reply with quote

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







PostPosted: Tue Dec 16, 2008 4:11 pm Reply with quote

I will try that thanks!
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.9

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©