popzelife / flickerdtheme Goto Github PK
View Code? Open in Web Editor NEWThis project forked from amereservant/flickerdtheme
A ZenPhoto.org Flickr-like theme
License: Other
This project forked from amereservant/flickerdtheme
A ZenPhoto.org Flickr-like theme
License: Other
In flickerd.class.php file, the reason it may not work is because $images = $this->_getFlckImages();
(line 168) is not an array when there is no images available in the albums.
To check if something is an array, we can do:
is_array($images); // returns true or false
If it is an array, we can then call array_slice()
The better solution however, is to check the $images
variable to make sure it returned what we are looking for before processing.
On this line, the funcion getContentShorten seems to be unknown even if there is a reference in the documentation: <div class="imageDescription"><?php echo getContentShorten(stripPTags(getImageDesc()), 100, '<a href="'. htmlspecialchars(getImageURL()) .'">...</a>'); ?></div>
Replaced for now by:
<div class="imageDescription"><?php echo getImageDesc(); ?></div>
This feature is now done by a theme_body_close
filter. You can remove the function call. You can disable this error message by going to the deprecated-functions plugin options and un-checking printAdminToolbox in the list of functions.
Function is in /zp-core/zp-extensions/deprecated-functions.php on line 154.
Get a look at the filter theme_body_close on the Zen Photo git-repo.
Fatal error encountered several times in image.php on line 135, then album.php on line 74.
This functions seems to work this way:
$variable->getHitcounter()
The line 74 in album.php seems to point out to the number of view on this page, or album, picture?
<div class="albumStats"><?php echo getNumImages(); ?> photos | <?php echo getHitcounter(); ?> views </div>
But getHitcounter point to a non object causing a fatal error.
I'm not really what it means but it appears on the index page and so seems to be linked with index.php:
Fatal error: Invalid album instantiation: Gallery object does not exist. in /home/popze768/public_html/flickerd/zp-core/class-album.php on line 1221
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.