Forums / Cotonti / Support / A variable type check failed

Log entries

aiwass
#1 2011-02-22 01:12
I'm wondering. I'm getting thousands and thousands (5000+ each day) of log entries (/admin.php?m=log) which are as follows:

A variable type check failed, expecting G/ALP for 'c'
A variable type check failed, expecting G/ALP for 'a'
A variable type check failed, expecting G/ALP for 'al'

Does anyone know why? Is there anything to be concerned with?
I'm running 0.6.13 / 0.6.12 with mod_rewrite for pages, lists, rss and tags.
Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com
Trustmaster
#2 2011-02-22 01:34
Are you using aliases and category codes with characters out of [a-z] range?
May the Source be with you!
aiwass
#3 2011-02-22 01:38
# Trustmaster : Are you using aliases and category codes with characters out of [a-z] range?

Well, there might be a 0,1,2,3,4,5,6,7,8 or 9 in the title of some pages, but none in categories, rss etc.
Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com
Trustmaster
#4 2011-02-22 02:56
[0-9], dashes and underscores should be fine too
May the Source be with you!
aiwass
#5 2011-02-22 16:21
Okay. If both [a-z] & [0-9] as well as dashes and underscores are fine, why does it log things as failures? That's what I just don't understand, like this:

Example:
Security A variable type check failed, expecting G/ALP for 'c' : housepacific/ - /rss/housepacific/
Security A variable type check failed, expecting G/ALP for 'c' : trackoftheday/ - /rss/trackoftheday/
Security A variable type check failed, expecting G/ALP for 'a' : pages/cosmic cowboys/ - /tag/pages/cosmic+cowboys/
Security A variable type check failed, expecting G/ALP for 'c' : djcharts/ - /rss/djcharts/
Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com
Trustmaster
#6 2011-02-22 17:15
Hmm, seems like rewrite rules are a bit too greedy and include slashes in category argument.
May the Source be with you!
aiwass
#7 2011-02-22 18:49
These types of rewrite rules are applied:
domain.com/location*/category
domain.com/category/page-alias/ <- last / might be redundant or problematic
domain.com/category/page-alias/#comment
domain.com/tag
domain.com/tag/tagname
domain.com/xml/category
domain.com/rss/category
domain.com/xml/category/ <- last / might be redundant or problematic
domain.com/rss/category/ <- last / might be redundant or problematic

* = List
Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com
Trustmaster
#8 2011-02-22 20:26
More detailed rules should go first, more generic rules should go below, otherwise detailed urls are captured by generic rules. In many cases it means that longer rules are placed before shorter ones with the same subpath.
May the Source be with you!