Announcement

  •  » Themes
  •  » "undefined | Previous" links on listing photos

#1 2018-06-27 10:34:13

Fazli
Member
2017-04-26
38

"undefined | Previous" links on listing photos

Hello/Hi/Greetings,
I am ver happy to use piwigo to exhibit my photos on bootstrap-dark theme. It has many options that It should have. My issue is that link of "undefined | Previous" is displayed after you scroll a great mass of photos as in the picture I attached. 
The link "Previous" works properly but "Undefined" produces "ERROR 404 - PAGE NOT FOUND". Indeed, It is weird to display a link "undefined" here. Even I couldn't find the word to translate in my language, Turkish through the language files. When I copy the addres of the link "undefined" and paste it reveals "http://medyastok.com/undefined" but "Previous" link reveals "javascript:RVTS.loadUp()" I think there is a bug here. Instead of "undefined" there should have been "Next" options, as far as I'm concerned.

I need your interest.
Best regards.

Piwigo version: 2.9.3
PHP version: 5.6.36
MySQL version: 5.6.32-78.1
Piwigo URL: http://www.medyastok.com
Theme : Bootstrap Darkroom


Uploaded Images

Last edited by Fazli (2018-06-27 10:35:37)

Offline

 

#2 2018-07-03 13:41:34

Fazli
Member
2017-04-26
38

Re: "undefined | Previous" links on listing photos

Hi again,
I couldn' get any answer, yet. Today I displayed the page in the theme "Modus". it worked properly. Instead of "undefined | Previous", "First | Previous" links are displayed in the theme, Modus. And they worked properly. So, then I set the "Bootstrap Darkroom" as default and I tried to search the issue by clicking right on the item "undefined" and then viewed page source for the item. There the attributes circled in a red displays an invalid address. When I chosed the line and replaced with  "
<a href="javascript:RVTS.loadUp()">First</a>"( derived from the theme "modus"), the problem was solved on the screen. The link "undefined" became "First" and worked properly. But when I refreshed  the page by F5 key it displayed the same problem of "undefined".
So my question is which files  I should search the line
"<a href="undefined">undefined</a>"

I couldn't find it  via by Notepad++. I want to edit it replacing "
<a href="index.php?/category/11">First</a>

I need your urgent help, please


Uploaded Images

Last edited by Fazli (2018-07-03 14:23:42)

Offline

 

#3 2018-07-04 16:49:38

flop25
Piwigo Team
2006-07-06
6811

Re: "undefined | Previous" links on listing photos

thx for your work
is that happening for all bootstrap themes?

according to the answer you should better report on
https://github.com/tkuther/piwigo-bootstrap-darkroom
or
https://github.com/Philio/bootstrapdefault
for a proper fix then quick release for all users


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#4 2018-07-04 18:49:20

Fazli
Member
2017-04-26
38

Re: "undefined | Previous" links on listing photos

Yes, I tried it for the theme bootstrap default, it displayed the same problem. I don't know which  files should be redited. I sent an email to the  author, Thomas Kuther. I am looking forward to getting a solution.

Offline

 

#5 2018-07-09 12:31:45

teekay
Member
2013-06-12
377

Re: "undefined | Previous" links on listing photos

The error originates from RV Thumbnail Scroller plugin. Seems there's some incompatibility with the theme there.

Unfortunately I cannot reproduce it on any of my galleries, because none of my albums has enough images to trigger that "show remaining xx images" link. Too good culling, I guess.#

EDIT: that's the issue: [Github] piwigo-tscroller file rv_tscroller.js@L7
.navigationBar doesn't exist in darkroom

Last edited by teekay (2018-07-09 13:01:56)

Offline

 

#6 2018-07-09 14:58:34

Fazli
Member
2017-04-26
38

Re: "undefined | Previous" links on listing photos

Thanks Teekay,
I checked the code, but I couldn't find what I should do. Maybe one of reviewers of the topic could help me one day. I am not good at codes.

Offline

 
  •  » Themes
  •  » "undefined | Previous" links on listing photos

Board footer

Powered by FluxBB

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