Seleccionar idioma:
Back Links - Realizar Donación - Mods Premium




* Broken behaviour on wrong topic id
  Leído 370 veces
* Viendo el foro
 0 Usuarios y 1 Visitante están viendo este foro.


*
Ago 16 2012


Hello,

I've just found out a bug in SMF behaviour with Adk Portal installed, it appears when topic GET variable consists letters only:

Código: [Seleccionar]
/index.php?topic=blah # bug
/index.php?topic=1blah # ok, SMF error of not existent topic
/index.php?topic=blah1 # bug

In bug cases I've got

Código: [Seleccionar]
Fatal error: Call to undefined function columntop() in ..../Sources/Load.php(2169) : eval()'d code on line 18

SMF 2.0.2
Adk Portal 2.1.1

Thanks in advance

2.0.2

Mensajes: 5

Ver Perfil 

En línea

*
Ago 16 2012


What is your version of php? 5.4?
Attach the file Subs-adkfunction.php

*¤×•·:.·.:·•פ* ^HeRaCLeS^ *¤×•·:.·.:·•פ*
*¤×• Todos los Mp seran ignorados | Solo seran considerados los Mp Solicitados por mi •פ*
*¤×• All Mp will be ignored | Only considers the Mp requested per my •פ*

Adk Portal 2.1.1
2.0.3
www.smfpersonal.net
#1

Mensajes: 10418

Ver Perfil  SmfPersonal Home of Adk Portal 

En línea

*
Ago 16 2012


What is your version of php? 5.4?
Attach the file Subs-adkfunction.php

Código: [Seleccionar]
PHP 5.3.3-7+squeeze13 with Suhosin-Patch (cli) (built: Jun 10 2012 07:31:32)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

By the way, if it matters, I running SMF + Adk Portal with nginx and php over fastcgi

2.0.2
#2

Mensajes: 5

Ver Perfil 

« Última Modificación: Agosto 16, 2012, 06:33:08 pm por Teran »
En línea

*
Ago 16 2012


Disable evaluation of templates from your admin and see the error again.
Because this error is not showing the true error.

And url please!

*¤×•·:.·.:·•פ* ^HeRaCLeS^ *¤×•·:.·.:·•פ*
*¤×• Todos los Mp seran ignorados | Solo seran considerados los Mp Solicitados por mi •פ*
*¤×• All Mp will be ignored | Only considers the Mp requested per my •פ*

Adk Portal 2.1.1
2.0.3
www.smfpersonal.net
#3

Mensajes: 10418

Ver Perfil  SmfPersonal Home of Adk Portal 

En línea

*
Ago 16 2012


Código: [Seleccionar]
Call to undefined function columntop() in .../Themes/default/Adkportal.template.php on line 18

URL of this instance is not available because it's my test server behind the NAT.

By the way, as I can see this error occures bacause of default action is 'portal' inside the SMF after Adk Portal installed. If I add '&action=forum' I've got board index as in vanilla SMF 2.0.2

2.0.2
#4

Mensajes: 5

Ver Perfil 

« Última Modificación: Agosto 16, 2012, 07:48:11 pm por Teran »
En línea

*
Ago 18 2012


It's very rare that behavior.
Attach files Subs-adkblocks.php and QueryString.php

*¤×•·:.·.:·•פ* ^HeRaCLeS^ *¤×•·:.·.:·•פ*
*¤×• Todos los Mp seran ignorados | Solo seran considerados los Mp Solicitados por mi •פ*
*¤×• All Mp will be ignored | Only considers the Mp requested per my •פ*

Adk Portal 2.1.1
2.0.3
www.smfpersonal.net
#5

Mensajes: 10418

Ver Perfil  SmfPersonal Home of Adk Portal 

En línea

*
Ago 18 2012


Attached.

2.0.2
#6

Mensajes: 5

Ver Perfil 

En línea

*
Ago 18 2012


The files are fine.  ::)

Attach file index.php
And screenshots of settings and error.


It is very difficult not to see the problem live...

*¤×•·:.·.:·•פ* ^HeRaCLeS^ *¤×•·:.·.:·•פ*
*¤×• Todos los Mp seran ignorados | Solo seran considerados los Mp Solicitados por mi •פ*
*¤×• All Mp will be ignored | Only considers the Mp requested per my •פ*

Adk Portal 2.1.1
2.0.3
www.smfpersonal.net
#7

Mensajes: 10418

Ver Perfil  SmfPersonal Home of Adk Portal 

En línea

*
Ago 18 2012


Hm... I can deploy exactly the same configuration(excluding PHP settings) outside the NAT and give you admin permissions.

2.0.2
#8

Mensajes: 5

Ver Perfil 

En línea




Otros temas de su interes

shoutbox scroll down c111100101 Abril 03, 2011, 09:21:17 am
Portal on all forum pages clothahump Noviembre 21, 2010, 04:39:00 am
how can i get your block 'users online'? pjnet Septiembre 18, 2010, 05:57:46 pm
Modification parse error clothahump Noviembre 18, 2010, 08:46:55 am
Unknown column 'permissions' in 'field list' (Adkportal related) acolyteglp Octubre 29, 2011, 12:58:19 pm
Adk Portal Dubble Home! KUM Diciembre 04, 2010, 09:45:02 am




Usuario:
Contraseña:
Sesión: