PDA

View Full Version : Weirdness


Milambar
12-27-2006, 11:35 PM
So, I was viewing the source for one of my pixelpost pages (image_template.html) today, and I noticed near the bottom was...


<!--
<a href="http://milambar.fundungeon.info/index.php?showimage=1" title="Lights of Manchester">The lights of Manchester city at midnight. People wonder why we don't have any stars in the sky here, just look at the orangeness of the light pollution. So sad.</a>
<a href="http://milambar.fundungeon.info/index.php?showimage=2" title="Expressions of Grief">I was sat in a church yard today, eating a bag of chips (fries to the Americans), watching an elderly man tend someone's grave. Having experienced substantial loss myself, recently, I wholly empathise</a>
....
-->


A tonne of those commented out entries. This is a waste of bandwidth!! Yet I can't figure out how to stop it doing that.

Any ideas?

Additional information:

Pixelpost version: 1.5

URL: Omitted - Security

PHP-version 5.1.6 (Pixelpost's min requirement: PHP version: 4.3.0 )

Session save path: Omitted - Security

MySQL version 5.0.24a-Debian_9-log (Pixelpost's min requirement: MySQL: 3.23.58 )

GD-lib 2.0 or higher with JPEG support

File Uploads to Pixelpost site are possible.

Server Software Apache/2.0.55 (Ubuntu) PHP/5.1.6 mod_perl/2.0.2 Perl/v5.8.8

EXIF Pixelpost is using exifer v1.5 for EXIF-information.


Paths omitted due to security reasons. If really needed, I will PM them to a forum mod.

The blog is at http://milambar.fundungeon.info/pixelpost

Dkozikowski
12-28-2006, 02:09 AM
I took a look at your image_template.html and could not see any tags there.

I also looked at the page source of one of your images and see what you mean.

The only thing i can think of is your google ad script is doing this for search / ad relativity.

If you notice, the text between <!-- --> are your image descriptions.

Normal comments in HTML are <-- -->

When you throw a ! in there it usually means it's a javascript related comment.

My guess is GOOGLE. But I'm not 100%

Milambar
12-28-2006, 03:24 AM
Well, the google adsense stuff is hardcoded into my updated template, but it did set me thinking. I unloaded all the addons, then re-enabled them one by one until that stuff reappeared.

Result, increase_stats.php was the culprit.

Ive since commented out the block of code in increase_stats.php to stop it inserting all that, and its now working as it should.

I really should have thought to unload and re-enable each addon first, it IS basic debugging proceedure. :kicks-self: