Announcement

#1 2013-05-30 20:39:04

hoedlmoser
Member
Dingelberg, Austria
2013-05-30
10

tab in url is loading not existing file

hi!

if I do the following request http://piwigo.kmplabs.org/admin.php?pag … p;tab=newX (mind the last capital X!) I just get the following error.

Code:

Warning: include(./admin/themes_newX.php): failed to open stream: No such file or directory in /var/www/org/kmplabs/piwigo/admin/themes.php on line 46
Warning: include(): Failed opening './admin/themes_newX.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/org/kmplabs/piwigo/admin/themes.php on line 46

line 46 in admin/themes.php:

Code:

include(PHPWG_ROOT_PATH.'admin/themes_'.$page['tab'].'.php');

if I do the same on an piwigo.com gallery, I just get the installed themes and no error.

is this a bug in piwigo or just a problem with my installation?

Piwigo 2.5.1
Linux vmweb 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux
PHP: 5.4.4-14+deb7u1
MySQL: 5.5.31-0+wheezy1
Graphics Library: ImageMagick 6.7.7-10

gre3tings, Klaus

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact