Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4274
Latest: kellanphil
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43645
Total Topics: 7572
Most Online Today: 129
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 158
Total: 159

Author Topic: Three errors 1.0.2 (Impressions link and more)  (Read 10579 times)

0 Members and 1 Guest are viewing this topic.

Offline Black Viper

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Three errors 1.0.2 (Impressions link and more)
« on: January 30, 2010, 01:55:02 pm »
This happens when I click the impressions link (with only click tracking checked):

hxxp://example.com/index.php?action=adpro;sa=viewviews&id=5
Undefined index: admin_menu_name
R:/Forum/Location/Edited/Sources/adseller2.php
Line: 2315

This is rolling errors that I am getting showing up. Two pages worth (30 errors) in 8 minutes, a set of three (for ID 3, 4, 5 for the three ads on each SSI main domain page) for each page access:

hxxp://example.com/index.php?action=adpro;sa=v&id=5&t=1264879950
Undefined index: l
File: R:/Location/Edited/Sources/adseller2.php
Line: 1880

This is the first in 12 minutes of the template errors (repeats 3 times per page for three different ad ID's on page) notice URL states "di" again:

Today at 12:10:40 pm
Type of error: Template
hxxp://example.com/index.php?action=adpro;sa=v&di=5&l=1002&m=0&t=1264882236
Unable to load the 'main' template.
« Last Edit: January 30, 2010, 02:14:20 pm by Black Viper »

Offline Black Viper

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: Three errors 1.0.2 (Impressions link and more)
« Reply #1 on: January 30, 2010, 02:25:34 pm »
25 minutes, 181 errors...
Not all page views.
In fact, I cannot duplicate anything but the first one (with me logged in as admin).
I cannot duplicate the 2nd and third with laptop running IE8 (no errors generated and ads display fine...
Will dig deeper if I don't fall asleep at keyboard.
Thanks.


Offline Black Viper

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: Three errors 1.0.2 (Impressions link and more)
« Reply #2 on: January 30, 2010, 02:41:35 pm »
The SSI call is like this:
Code: [Select]
<?php
require("r:\Forum\Path\SSI.php");
// Begin Ad Seller Pro Location - domain Top

global $sourcedir;
include_once 
$sourcedir "/adseller2.php";

$adSellerAdData =  ShowAdLocation(1000);
if (
$adSellerAdData != false)
{
echo 
'<div class="nagi">';
echo $adSellerAdData;
echo 
'<br /></div>';
}

// End Ad Seller Pro Location - domain Top
?>

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16611
    • View Profile
Re: Three errors 1.0.2 (Impressions link and more)
« Reply #3 on: January 30, 2010, 10:42:39 pm »
1st minor fixed to ignore for next update
2nd added a check for that. That is used for location logging. That should always be passed no matter unless a search engine or bot got an old link or something.

3rd. That error is the mystery one it appears that something is rewriting the urls and for some reason sometimes it renames id= to di= instead....

Last the SSI looks fine the errors are all generated by the Sources/Adseller2.php area
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Black Viper

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: Three errors 1.0.2 (Impressions link and more)
« Reply #4 on: January 30, 2010, 11:44:59 pm »
Only 14 template errors in the last 9 hours.
All with "di" in the URL.

BV EDIT: the second error is over a thousand

Offline Black Viper

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: Three errors 1.0.2 (Impressions link and more)
« Reply #5 on: January 31, 2010, 04:32:11 am »
In conjunction with the "di" in the urls, each has a matching template error stated above. Yet another example:

<IP> - - [31/Jan/2010:01:43:09 -0800] "GET /index.php?<PHPSESSIONIDHERE>&action=adpro;sa=v&di=4&l=1001&m=0&t=1264930985 HTTP/1.1" 200 2161 "<MY WEBSITE>" "Mozilla/5.0 (iPod; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16"
<IP> - - [31/Jan/2010:01:43:12 -0800] "GET /index.php?<PHPSESSIONIDHERE>&action=adpro;sa=v&id=4&l=1001&m=0&t=1264930985 HTTP/1.1" 200 44 "<MY WEBSITE>" "Mozilla/5.0 (iPod; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16"

The template error maybe generated because of the bad URL, but the referer is always my web site and not, say, a URL that is cached someplace.
Still could be a bad browser code or detection code,but I cannot figure out why it is being bad to begin with.
It may be on my end... but at least the generated errors for this particular issue is low.
Will investigate further and thanks for your time.

Offline Black Viper

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: Three errors 1.0.2 (Impressions link and more)
« Reply #6 on: January 31, 2010, 04:37:17 am »
I had "disable evaluation of templates" checked, so now I have it unchecked and will wait for another template error to see what happens. May be a few hours, though.

BV EDIT: I am pretty convinced that it may be a javascript browser detection issue or something on my part. Just ignore the "di" issue for now until I investigate further... I just need to find a way to replicate it on my end and see what happens. The undefined index is more of an issue for me right now anyway. Thanks again.
« Last Edit: January 31, 2010, 04:47:28 am by Black Viper »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16611
    • View Profile
Re: Three errors 1.0.2 (Impressions link and more)
« Reply #7 on: February 02, 2010, 01:07:26 pm »
I have the Undefined index: l fixed for next update as well so that should help a little
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Black Viper

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: Three errors 1.0.2 (Impressions link and more)
« Reply #8 on: February 03, 2010, 04:16:52 am »
I have the Undefined index: l fixed for next update as well so that should help a little
Oddly enough, the index errors have went away. I cannot report exactly what I did to do this, but I am not complaining. :)
Thanks again!

Offline Black Viper

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: Three errors 1.0.2 (Impressions link and more)
« Reply #9 on: February 03, 2010, 09:26:25 am »
I have the Undefined index: l fixed for next update as well so that should help a little
Oddly enough, the index errors have went away. I cannot report exactly what I did to do this, but I am not complaining. :)
Thanks again!
I may have unchecked location tracking for this particular error to go away.

 

Related Topics

  Subject / Started by Replies Last post
18 Replies
16881 Views
Last post February 13, 2007, 07:31:20 pm
by wrcline
4 Replies
15093 Views
Last post December 04, 2007, 09:27:54 pm
by SMFHacks
2 Replies
5078 Views
Last post January 26, 2010, 11:41:56 am
by Black Viper
5 Replies
10118 Views
Last post February 03, 2010, 09:50:06 am
by Black Viper
2 Replies
3573 Views
Last post February 11, 2013, 10:42:46 am
by amwebby

+- Recent Topics

Ability to exclude categories from ezPortal SMF Gallery random image ezblock by Alistair
Today at 08:20:13 am

How to move SMF to new server by SMFHacks
January 21, 2025, 08:45:53 pm

Figuring out settings by SMFHacks
January 12, 2025, 04:56:14 pm

Filesizes incorrect by SMFHacks
January 12, 2025, 02:02:47 pm

December 2024 Sale! by SMFHacks
December 02, 2024, 10:30:38 pm

Denying members some admin settings by rickk
November 17, 2024, 12:02:55 pm

Weird setup by SMFHacks
November 07, 2024, 06:37:41 am

Restoring a deleted photo by Monocero
November 01, 2024, 04:23:56 am

Gallery Pro reinstalation by Lirorobert
October 14, 2024, 01:43:43 am

Move picture from main gallery to user gallery by SMFHacks
October 11, 2024, 09:11:00 pm

Powered by EzPortal