Member
Member
wibbi   2018-06-20, 19:14
#1

Hi, i have a problem.
OK, i have modded my zenphoto, and my last work on zenphoto is 12 weeks ago. My zenphoto gallery is still not online. I have no time...
I search for more infos about this error:

[code]{4897:Wed, 20 Jun 2018 18:23:13 GMT} Zenphoto v1.4.14[f5b47da52feacae4e5e081b977e60ee0b2fe1bc5]
USER NOTICE: Bad filename suffix in newImage(PICT1105.JPG) in /var/www/virtual/xxx/html/zp-core/class-image.php on line 73
trigger_error called from newImage (class-image.php [73])
from AlbumBase->getAlbumThumbImage (class-album.php [443])
from printAlbumThumbImage (template-functions.php [1881])
from include (index.php [63])
from include (index.php [130])
from index.php [28][/code]

Administrator
Administrator
acrylian   2018-06-20, 19:36
#2

If this is your modded version, try if you get the same error with the unmodded one.

Member
Member
wibbi   2018-06-20, 20:03
#3

I have no unmodded installed. But fresh install have no errors.
The thumbs in parent-albums are not displayed.

I have found this function and a little bit confused.
zp-core/class-album.php
[code] function getThumb() {
$image = $this->getAlbumThumbImage();
return $image->getThumb('album');
}[/code]
getThumb() call getThumb('album') in getThumb() ???

Member
Member
wibbi   2018-06-20, 20:19
#4

$thumbobj = $_zp_current_album->getAlbumThumbImage()
have a result.
$thumbobj->getThumb('album')
have no result, but the error.

$_zp_current_album->getAlbumThumbImage()
[code]
object(Album)#14 (29) {
...
["albumthumbnail":protected]=>
object(Transientimage)#12 (30) {
["filename"]=>
array(2) {
["source"]=>
string(36) "zp-core/images/err-imagenotfound.png"
["name"]=>
string(36) "zp-core_images_err-imagenotfound.png"
}
["exists"]=>
bool(false)
["webpath"]=>
NULL
["localpath"]=>
string(63) "/var/www/virtual/xxx/html/zp-core/images/err-imagenotfound.png"
["displayname"]=>
string(17) "err-imagenotfound"
["album"]=>
...
object(AlbumBase)#11 (29) {
...
["albumthumbnail":protected]=>
NULL
...
["objectsThumb"]=>
NULL
...
["data":"PersistentObject":private]=>
array(37) {
...
["thumb"]=>
string(31) "/summer/2018-holla/PICT1105.JPG"
...
[/code]

Administrator
Administrator
acrylian   2018-06-20, 20:43
#5

Nothing confusing about getThumb() call getThumb('album') in getThumb() ???. The album class method getThumb() which is for the thumb representing the album calls the getThumb() function of the image class since the album class method getAlbumThumbImage() returns an image object. (The parameter "album" is useless actually)

So basically the error says the image that is set as the album thumb does not exist. So does it exist?

Member
Member
wibbi   2018-06-20, 21:03
#6

The file exist on FTP and have a database entry, i have checked it.

Administrator
Administrator
acrylian   2018-06-21, 07:55
#7

So without any specific error I cannot help and only suggest to re-assign a specific image as the album thumb.

Member
Member
wibbi   2018-06-21, 08:28
#8

Everyone is affected. It is a common problem.
I'm not satisfied because it's a lot of work.
Now I will install 1.5 new and enter my moddings. let's see...
there are from 1.4. to 1.5 changes in the database (rows / cols)?
It's too complicated ... for a simple photo CMS. sorry, my problem ...

Administrator
Administrator
acrylian   2018-06-21, 09:17
#9

Everyone is affected. It is a common problem.

If you having an issue makes this "common" and "everyone" affected… Never had this issue, which of course does not mean it does not exist but I cannot help without a more concrete error since I cannot reproduce it.

And Zenphoto is not a "simple photo cms" for a long time already :-)

Member
Member
wibbi   2018-06-21, 17:13
#10

ZenPhoto: "The simpler media website CMS"

"common" and "everyone" on my installation.

Good news. Now that I have installed ZenPhoto 1.5 and have insert all my modding (without modding themes), everything works without error. I can not explain it. It is a lot of time and a lot of work. It is not good if the CMS suddenly stops working.

Administrator
Administrator
acrylian   2018-06-21, 18:43
#11

ZenPhoto: "The simpler media website CMS"
Zenphoto actually. Note the case ;-) And it refers to general usage. Sadly with the flexibility and also not all servers behaving the same simple is a bit relative…

It is not good if the CMS suddenly stops working.
Absolutely. As said we had some bugs regarding fresh installs although we tested it that now should be fixed in the support build.

Member
Member
wibbi   2018-06-21, 19:01
#12

What is the support build? Is there any version other than the v1.5.tar.gz? The master.zip?

Administrator
Administrator
acrylian   2018-06-21, 19:05
#13

Yes, that's the master before it becomes the next version. Named that way here https://www.zenphoto.org and explained here https://www.zenphoto.org/news/installation-and-upgrading/#--support-build-vs-development-build

Member
Member
wibbi   2018-06-21, 19:24
#14

Then master.zip is a snapshot without its own version number, but always newer than the release with the highest version number?
How often are such snapshots / masters created?

Administrator
Administrator
acrylian   2018-06-21, 19:34
#15

Yes, but it's not a snapshot. It's just the current state and gets everything as soon as any change is committed (as it is called in Git terms). Which means it might not always be fully stable since also work in progress.

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