Member
Member
Sabyre   2010-08-30, 02:18
#1

Slideshow works intermittently for me. My logs are filled with...

`
{Sun, 29 Aug 2010 05:59:32 GMT} Zenphoto v1.3.1[5736]

Backtrace: Bad filename suffix in newImage()

newImage called

from printSlideShow (slideshow.php [289])

 from include (slideshow.php [14]) 

   from index.php [114]

`
Using slideshow as jQuery.

Administrator
Administrator
acrylian   2010-08-30, 07:38
#2

Hm, I have seen that before on our own site but have no real idea currently.

What theme are you using? Can you maybe reproduce what images this might be?

Member
Member
Sabyre   2010-08-31, 17:07
#3

I have created a custom theme and the problem is intermitten. It will happen for a set of images and then try those same images a few minutes later and it works flawlessly.

Member
Member
Sabyre   2010-09-08, 21:47
#4

Any other possible ideas about this?

I just had to manually delete a log file 128MB large from 1 weeks of this....

Thanks

Member
Member
sbillard   2010-09-09, 00:55
#5

You will have to determin what the slideshow is failing to show. E.g. what album, how was the slideshow called.

What you are seeing is the slideshow is attempting to instantiate an image that does not exist. Perhaps there is also some PHP script errors in your CGI log? If so the details might help.

One hint is that this code is in a path having to do with dynamic albums.

Member
Member
thepodg   2011-01-09, 17:31
#6

Regarding jQuery slideshow issue, I can add this:

[list]
[*]if I select album slideshow coming from archive > search page, I obtain the same error.
Log file:
Backtrace: Bad filename suffix in newImage()
newImage called
from printSlideShow (slideshow.php [421])
from include (slideshow.php [23])
from index.php [123]

[*]otherwise, if I select slideshow for the same album coming from album page, everything works fine
[/list]
Thank you for your attention.

Member
Member
thepodg   2011-01-09, 19:05
#7

Reading function 'printSlideShowLink()' in /zp-extensions/slideshow.php, I tried the following instructions (lines number 113-114 in plugin version 1.3.1 or lines number 128-129 in plugin version 1.4.0):
if (in_context(ZP_SEARCH_LINKED)) {
$albumnr = -getAlbumID();

By changing '$albumnr = -getAlbumID()' in '$albumnr = getAlbumID()' (removed sign '-') everything works fine, although slideshow is called from archive > search page.

Could be right? I'm not a programmer ...

Administrator
Administrator
acrylian   2011-01-09, 19:38
#8

I am not able to reproduce this error actually. If reporting Slideshow issues you should always include the mode you are using. Each of the three works a little different.

Member
Member
sbillard   2011-01-09, 19:51
#9

That negative # flag is to indicate that the request came from a search page, so removing it will make it look like a standard album request.

Member
Member
thepodg   2011-01-09, 20:42
#10

Thank you Malte and Sthephen, I really appreciate your work and kind support.

Giorgio

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.