wduffee wrote:
Hello,
I'm getting aCode:
Fatal error: Call to a member function is_identity() on a non-object in $my_piwigo_directory/include/derivative.inc.php on line 312but only with the Bootstrap Darkroom theme. With the Bootstrap Default and elegant themes, no errors.
Bootstrap Darkroom version 1.4.6, and I've installed the RV Thumb Scroller and Gthumb+ plugins.
I'm new to Piwigo...what else can I provide to help debug?
Is this all you get? I could need the full stack trace.
What's your PHP version?
Any plugins other than RV Thumbnail Scroller and GThumb+?
Where exactly does this happen, like on category overview pages (inkl. the index page), album thumbnail pages or image detail page, or all of them?
Oh, and which image sizes do you have enabled in Administration -> Configuration -> Options -> Image sizes? All of them? Some disabled?
Last edited by teekay (2016-07-07 18:22:17)
Offline
Hello - thanks for the quick response! Info below:
teekay wrote:
Is this all you get? I could need the full stack trace.
What's your PHP version?
Any plugins other than RV Thumbnail Scroller and GThumb+?
Where exactly does this happen, like on category overview pages (inkl. the index page), album thumbnail pages or image detail page, or all of them?
Oh, and which image sizes do you have enabled in Administration -> Configuration -> Options -> Image sizes? All of them? Some disabled?
PHP version 5.6.19
Only other plugin is Admin Tools.
It happens on the Album thumbnail page, the image detail page, but NOT on the root piwigo index page - that looks great.
All Multiple sizes options (Square, Thumbnail, XXS,XS,S,M,L,XL,XXL) are checked, however, the "Resize after upload" option is unchecked.
I don't see anything in the http access or error logs. Unfortunately I don't have access to the php logs with my provider (dreamhost, shared hosting). Is there a way to enable a more verbose output within Piwigo?
Thanks for any help!
Offline
Thanks for the detailed info.
Everything looks good. Just this one gives a clue:
wduffee wrote:
It happens on the Album thumbnail page, the image detail page, but NOT on the root piwigo index page - that looks great.
So, it seems related the the PhotoSwipe fullscreen slideshow code. Can you confirm that the slideshow doesn't work? Does the error occur if you disable PhotoSwipe in the theme configuration -> extra settings tab?
I guess I do have a workaround. Can you please try updating to version 1.4.7?
Offline
Thanks so much - everything seems to be working great with the 1.4.7 update!
teekay wrote:
Thanks for the detailed info.
Everything looks good. Just this one gives a clue:wduffee wrote:
It happens on the Album thumbnail page, the image detail page, but NOT on the root piwigo index page - that looks great.
So, it seems related the the PhotoSwipe fullscreen slideshow code. Can you confirm that the slideshow doesn't work? Does the error occur if you disable PhotoSwipe in the theme configuration -> extra settings tab?
I guess I do have a workaround. Can you please try updating to version 1.4.7?
Offline
wduffee wrote:
Thanks so much - everything seems to be working great with the 1.4.7 update!
You're welcome. Great it works now.
Offline
Hi! i have a small questions about album view in front page.
How can i make "list view" by default?
Andrejs wrote:
Hi! i have a small questions about album view in front page.
How can i make "list view" by default?
https://s32.postimg.org/yyep3pyvp/Scree … _28_30.png
Hi,
there is no configuration option for it, but you can use this trick:
1) enable "LocalFiles Editor" and "Personal Plugin" plugins, if not enabled already
2) In Plugins -> LocalFiles Editor -> Personal Plugin tab, paste following:
add_event_handler('init', 'show_list_view_by_default'); function show_list_view_by_default() { global $template; if (!isset($_COOKIE['view'])) { setcookie('view', 'list'); $content = '$(document).ready(function() { $("#btn-list").click(); })'; $template->block_footer_script(array('require' => 'jquery'), $content); } }
Last edited by teekay (2016-07-12 15:20:55)
Offline
Thanks a lot, it work!
Thanks for the theme - really love it!
I am having one issue, which I think relates to all themes using custom image size - but relevant here because bootstrap darkroom does!
Because Bootstrap Darkroom doesn't seem to use the standard S, M, L, XL etc. sizes, the "Generate multiple image sizes" function under the Photos -> Batch Manager isn't much help. I've tried searching through the PHP to see where the function is called to generate the different sizes Bootstrap Darkroom uses but no luck!
Is there anyway to pre-generate all the image sizes Bootstrap Darkroom uses?
Offline
chulann wrote:
Thanks for the theme - really love it!
I am having one issue, which I think relates to all themes using custom image size - but relevant here because bootstrap darkroom does!
Because Bootstrap Darkroom doesn't seem to use the standard S, M, L, XL etc. sizes, the "Generate multiple image sizes" function under the Photos -> Batch Manager isn't much help. I've tried searching through the PHP to see where the function is called to generate the different sizes Bootstrap Darkroom uses but no luck!
Is there anyway to pre-generate all the image sizes Bootstrap Darkroom uses?
There is a way. Please see this post: http://piwigo.org/forum/viewtopic.php?p … 27#p163927
Offline
Hi, I love bootstrap darkroom very much, all other themes, except for a few, look just the same, but here it's completely different.
I don't see the icon Andrejs is talking about a few lines above.
It's not a real problem, just curious. How's that possible? My gallery is here http://fotky.kuzbici.eu
Thanks for your answer
Vlad
Vlad wrote:
Hi, I love bootstrap darkroom very much, all other themes, except for a few, look just the same, but here it's completely different.
I don't see the icon Andrejs is talking about a few lines above.
https://s32.postimg.org/yyep3pyvp/Scree … _28_30.png
It's not a real problem, just curious. How's that possible? My gallery is here http://fotky.kuzbici.eu
Thanks for your answer
Vlad
Hi Vlad,
that's because the gdThumb plugin overrides the default grid layout for category pages. The "list" and "grid" viw buttons are disabled then.
Offline
Hi,
I like Bootstrap Darkroom so far, just started using it a few weeks back. However, today I notice that I'm getting delays loading some album pages on my local server, with the browser sitting there trying to load something from http://maxcdn.bootstrapcdn.com. grep reveals a few references to this external host in my local theme files for a css file. I wonder if this is intentional? Is there any way for the theme to store this css file in the local Piwigo installation tree instead of relying on an external host to serve them up?
bootstrap_darkroom/theme.css:@import url(https://maxcdn.bootstrapcdn.com/font-aw … me.min.css);
bootstrapdefault/template/picture.tpl:{combine_css path="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"}
Thanks,
Dan
DanH wrote:
Hi,
I like Bootstrap Darkroom so far, just started using it a few weeks back. However, today I notice that I'm getting delays loading some album pages on my local server, with the browser sitting there trying to load something from http://maxcdn.bootstrapcdn.com. grep reveals a few references to this external host in my local theme files for a css file. I wonder if this is intentional? Is there any way for the theme to store this css file in the local Piwigo installation tree instead of relying on an external host to serve them up?
bootstrap_darkroom/theme.css:@import url(https://maxcdn.bootstrapcdn.com/font-aw … me.min.css);
bootstrapdefault/template/picture.tpl:{combine_css path="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"}
Thanks,
Dan
Hi Dan,
The combine_css in bootstrapdefault is broken (combine_css does not support URLs, only server-local file paths) - the result would be the same anyway: loading the fontawesome css via bootstrapcdn service.
It would be possible to store it in the theme's distribution directory and load it via combine_css, yes. Most likely, this helps only for installations that are accessed from an internal network. For internet-facing installations it either makes no difference, or makes them worse, depending on the Piwigo-server's load/uplink speed/etc.. But I agree that it would make sense to just include it in the theme directly, mainly because all other things like bootstrap etc are included directly, too.
Will do this for the next version. Done in git already.
Last edited by teekay (2016-08-01 16:24:46)
Offline
Hi,
First of all - excellent theme!
I'm having trouble on Firefox, when I click an image on the album overview page there is a long delay (sometimes even causing Firefox to display warnings that a .js file is taking too long) before the image is shown. When I deactivate the Slick Carousel, everything is fine.
I tested it on different computers and different Firefox versions (normal and Developer Edition).