many "Broken INTERNAL link" with end string "/undefined/"

796 views
Skip to first unread message

ferran

unread,
Jun 27, 2012, 12:37:25 PM6/27/12
to django...@googlegroups.com
Hello django users,

In the last 3 weeks I'm receiving in my email a many "Broken INTERNAL link" how this:

"
Requested URL: /es/catalogo/sales/undefined/
User agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5
IP address: -------
"
or

"
Requested URL: /es/catalogo/sales/sal-compactada-en-pastillas-piscinas-salnet.html/undefined/
User agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
IP address: ----------------
"

The pattern from requested URL can be any, but, always have a end string "/undefined/"

I'm not update the code, but update, nginx, mysql, apache

Program versions:
django 1.1.4
localeurl 1.5 (tip version)

Do you have any Idea?

Thanks in advanced
Ferran



Russell Keith-Magee

unread,
Jun 27, 2012, 7:38:22 PM6/27/12
to django...@googlegroups.com
It's impossible to say without seeing all your code, but you only get
those emails if there is a link on your page that returns a 404. That
means that pages on your site are being rendered with <a
href=".../undefined/"> on them.

The link may not be in an obvious location -- I'm going to guess that
they've been found by a robot that is scraping your site -- but if
your getting the emails, you can be fairly certain that the links
exist *somewhere*.

Yours,
Russ Magee %-)

Melvyn Sopacua

unread,
Jun 28, 2012, 8:59:12 AM6/28/12
to django...@googlegroups.com
On 27-6-2012 18:37, ferran wrote:

> In the last 3 weeks I'm receiving in my email a many "Broken INTERNAL link"
> how this:
>
> "
> Referrer: http://www.marquezshop.com/es/catalogo/sales/
> Requested URL: /es/catalogo/sales/undefined/
^^^^^^^^^
That's javascript, not python doing that. Python would be 'None'. So
check your javascript code for Google Chrome compliance.

--
Melvyn Sopacua


ferran

unread,
Jun 28, 2012, 9:19:38 AM6/28/12
to django...@googlegroups.com
Hello Russ,

In the view code of this pages I don't found de keyword "undefined"

Thanks in advanced

ferran

unread,
Jun 28, 2012, 9:24:39 AM6/28/12
to django...@googlegroups.com
Hello Melvyn,

Ohhh in the javascript!. you're good.... I view my libraries and update it's necessary (Jquery, etc.).

see you with the response of the re-code javascript

Thanks

ferran

unread,
Jul 4, 2012, 3:55:15 AM7/4/12
to django...@googlegroups.com

Melvyn Sopacua

unread,
Jul 4, 2012, 8:47:20 AM7/4/12
to django...@googlegroups.com
On 4-7-2012 9:55, ferran wrote:
> Hello,
>
> I'm update javascript libraries:
> - Jquery from
> http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js to http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
> - Jquery ui from
> http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js to http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js
>
> But not is a solutions, the problem persist...

Upgrades aren't solutions. They only dress up as them in their spare time.

You should:
1) Identify where you generate links via javascript
2) Identify what javascript variable is passed to the link
3) Identify how it can be undefined

If you don't see how it can be, undefined, use the appropriate
javascript forums / documentation.

--
Melvyn Sopacua


ferran

unread,
Jul 10, 2012, 3:21:06 AM7/10/12
to django...@googlegroups.com
Hello Melvyn,


I'm have too:

Referrer: http://www.marquezshop.com/es/catalogo/ofertas/
Requested URL: /es/catalogo/ofertas/cache/a8790cb719ffd4424219786bc76da1a4/
User agent: Mozilla/5.0 (Windows NT 6.0; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11
IP address: xxxxxxxxx

What is cache/hash?

Thanks in advanced

Thomas Orozco

unread,
Jul 19, 2012, 3:21:20 AM7/19/12
to django...@googlegroups.com

Did you visit the page where the broken link exists with the same browser as your user and searched for :
  + JS warnings
  + JS errors
  + Requests on the broken link
  + The actual broken url somewhere in the DOM tree

Chrome has an integrated full featured debugger, you could use it.

The problem isn't going to automatically go away nor the explanation show up in your mailbox.

> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/O8_xSSwcqnUJ.
>
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to django-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

ferran

unread,
Nov 26, 2012, 10:44:27 AM11/26/12
to django...@googlegroups.com
Hello,

For the url pattern www.example.com/xxx/cache/[hex] it's a bug in chrome extension  extension ID bodddioamolcibagionmmobehnbhiakf http://code.google.com/p/chromium/issues/detail?id=132059
Reply all
Reply to author
Forward
0 new messages