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]
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() ???
$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]
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?
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 ...
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 :-)
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.
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.
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