351

(3 replies, posted in Showkase Support)

I've moved your post to a new thread to keep it separate from Vasily Iakovlev's problems in this thread.

Vasily's 'Pages' layout problem was caused by old or corrupt versions of the '/showkase/admin/css/all.css' and '/showkase/admin/css/bootstrap.min.css' files.
Replacing them with the stock versions from Showkase v1.6.1 resolved the problem.

i am getting the same error as the OP trying to upgrade from v1.3.4 to v1.6.1 (unable to publish the site).

Vasily was not actually unable to publish the site. There was just a warning regarding the PHP function set_time_limit() being disabled. Clicking through this message (it was just a warning, not an error) published the site successfully.

If you are seeing the same warning "Warning: set_time_limit() has been disabled for security reasons", then this is due to the set_time_limit() function being disabled in your PHP configuration settings.

As I mentioned in Vasily's thread, this is just a warning (not an error).
Showkase (since v1.3.4), makes use of set_time_limit() and if this PHP function has been disabled on your server, then there is nothing that can be done within Showkase to enable it.
However, unless your site is very large (and Showkase needs more than the default time limit to process everything), it may never actually become a problem. Just clicking through the warning message should publish your site fine.

If you do have a large site and you are unable to publish it successfully because of set_time_limit() being disabled, then I am surprised that reverting to v1.3.4 helps. (Versions prior to v1.3.4 do not use set_time_limit() so the default time limit will be used, just like in v1.6.1 with set_time_limit() disabled.)

In any case, if you would like remove the set_time_limit() warning, you'll need to enable this function in your PHP configuration settings. If you do not have access to change your PHP settings yourself, your web host should hopefully be able to help you out.

If you are getting any different messages when you try to publish your site (whether they are notices, warnings or errors), please let me know and I'll try to help further.
Thank you.

352

(4 replies, posted in Showkase Support)

But both of this problems have arisen after i tryed to update Showkase to lastest version.

I'm not sure what version of Showkase you upgraded from but Showkase has only been making use of it set_time_limit() since v1.3.4 so, if you have upgraded from a version prior to v1.3.4, then it is possible that set_time_limit() has always been disabled on your server but that you've not known about it until now. Please note that the message is just a warning (it is not an error) and it will not cause a problem unless Showkase has to process a very large site (which might take longer than the default time limit). You would know if this was a problem as there would be errors (not just a warning regarding the set_time_limit() function) when publishing your site.
There is nothing that can be done from within Showkase to enable set_time_limit() in your PHP settings. This has to be done at server level so if you do not have access to change your PHP settings yourself, your web host should hopefully be able to help you out.

I've sent you an email where you can forward me your FTP and Showkase login details.
Once I'm able to see the 'Pages' layout problem for myself, I should hopefully be able to help further.

353

(4 replies, posted in Showkase Support)

It looks like there are two issues here:
(1) The set_time_limit() warning
(2) The layout of the admin 'Pages' page

(1) It looks like your web host has disabled set_time_limit(). This is unlikely to cause any problems (unless you have a very large site with lots of images and your web server's default time limit is too short for Showkase to process everything when you re-publish, in which case you will not be able to increase the time limit). However, this may never actually cause you any real problems. (You could, however, ask your web host to enable set_time_limit() on your hosting account and see what they say.)

(2) Your 'Pages' page layout is set by CSS code in the 'showkase/admin/css/all.css' file. Please double-check that the 'all.css' file is present in its correct location on your web server and that it is not corrupt or incomplete.
Also, try clearing your browser's cache before reloading your 'Pages' page to see if this helps.
You could also try viewing your 'Pages' page in a different browser to see if this makes a difference.

If you continue to experience difficulties, I would be happy to help further but I'd really need access to your web server and Showkase site to check things out.
If you are agreeable to this, then please let me know and I'll send you an email address where you can forward me your FTP and Showkase login details.
Once I'm able to see the problem for myself, I should hopefully be able to determine the cause and propose a solution.
Thank you.

354

(11 replies, posted in Showkase Support)

You're welcome.
I'm glad that you've been able to resolve your problem.
Thank you for taking the time to let me know and for detailing the reason for the problem.
Hopefully it will help out any other users experiencing similar symptoms.

By the way, so far I have been extremely impressed with ShowKase.  It works perfectly for me and I love all the config options.  I also like that it doesn't break whenever there's a Wordpress update like my last web gallery experiment.

That's really great to hear! We're glad you're getting on well with Showkase!

355

(11 replies, posted in Showkase Support)

Thank you for the link to your Showkase site.
Your favicon displays OK in the browser tab when I view your Showkase site in Firefox 51.0.1 on my PC (and everything looks OK: your <link> tag is in place, your 'favicon.ico' file is in place and your <link> tag's 'href' attribute is correct).
Try completely clearing your browser's cache before reloading your web site. Hopefully this will resolve your problem.

356

(11 replies, posted in Showkase Support)

It looks like the line of code is in the correct place.
Here are a few things to check.

(1) After making the change to the 'basetheme.tpl' file and re-publishing your site, check the source of one of your Showkase pages in your browser to make sure that the code is present in the page.

(2) Check that the favicon file has been uploaded to your web server and ensure that the path to the favicon file (the 'href' attribute in the <link> tag) is correct.

(3) If your favicon is not an 'ico' file (and is perhaps a 'png' or a 'gif' file instead), then make sure that its file extension is correct and change the 'type' attribute in the <link> tag as appropriate:

<link rel="icon" href="http://example.com/favicon.ico" type="image/x-icon">
<link rel="icon" href="http://example.com/favicon.png" type="image/png">
<link rel="icon" href="http://example.com/favicon.gif" type="image/gif">

(4) Try using an absolute path (like in the examples in #3 above) instead of a relative path for the 'href' attribute in the <link> tag.

Hopefully these suggestions will help.
However, if you continue to experience difficulties, please post a link to your Showkase site so that I can take a look at things for myself and hopefully help further.
Thank you.

357

(11 replies, posted in Showkase Support)

I expect you've seen this forum post.
The instructions were accurate at the time (2 years ago) but things have changed slightly since then. (There are now certain files that are shared between all themes.)

If you've already put your 'favicon.ico' file in your root directory (not necessarily the same as your Showkase root directory) and it's not being picked up by your browser, then add the following code to your 'showkase/_themes/base/pagetypes/basetheme.tpl' file in the {block "stylelinks"} ... {/block} section between lines 27 and 30 (alongside the other <link> tags.

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">

You can change the location of your 'favicon.ico' file if you like (it does not need to be in your root directory) but just make sure that the path to the file is correct in the 'href' attribute of the <link> tag.

Be sure to publish your site afterwards (just click the 'Publish' button) to have this <link> tag inserted into all your pre-existing Showkase pages.

Please note that the file and line numbers above refer to the current version of Showkase (v1.6.1).
If you are not already using the current version, then you might like to upgrade your site following the instructions here.
For a list of changes between versions, please see the Version History.

Incidentally, once you've posted a couple of posts, you should hopefully be able to include links. (Otherwise, you can disguise the links by inserting spaces between slashes or leaving out the http:// part.)

358

(7 replies, posted in Showkase Support)

I'd be happy to investigate further but it would help if I had access to your web server and Showkase site.
If you are agreeable to this, then please let me know and I will send you an email address where you can forward me your FTP and Showkase login details.

In the meantime, how are you setting your PHP directives? It might be worth checking (with phpinfo() to see if the new values are actually being used.

Also, try running the Showkase Server Compatibility Test. Even if you ran the test before installing Showkase, please try again in case your web host has made any changes recently. The results might give us a clue as to the nature of the problem.

359

(93 replies, posted in Showkase Support)

@toygate

Is there a keyboard shortcut for Save and for +New Page?

There are currently no keyboard shortcuts for Showkase interface buttons but thank you for posting your suggestion here where it will be seen by the developers.

360

(7 replies, posted in Showkase Support)

Thanks for the additional information.

The line you noted above sets several attributes for each image so it certainly looks like my initial suggestion regarding max_input_vars might be in the right ballpark.
Try increasing max_input_vars further (to something much larger such as 2000) to see it this solves the problem.
If I was out by just one and max_input_vars needs to be 7 x the number of images, then 1200 would not be enough for a 180 image gallery.
I was pretty sure that 6 x the number for images is all that should be required when I posted earlier but there is no harm in trying a larger amount in case I was wrong. What you say in your latest post certainly points towards a low max_input_vars being the cause of the problem.

I have just done some testing of my own and in a gallery of 33 images, a max_input_vars of 200 results in an undefined offset (when clicking 'Save' on the 'Images' page tab) but a max_input_vars of 201 works fine. Neither 200 nor 201 divide exactly by 33 but they are both just over 6 so trying a larger value (such as 7 x the number of images) might yet work.

Also, if you have not yet tried increasing your PHP memory_limit, this might also be worth a shot.

361

(7 replies, posted in Showkase Support)

It looks like you might be reaching your PHP max_input_vars limit.
Each image in a Showkase gallery page has 6 different variables associated with it so in order to process a large gallery, you will need to ensure that max_input_vars is at least 6 x the number of images in the gallery.
For example, if you have a gallery with 200 images, then the max_input_vars will need to be at least 1200.
I notice in your screenshot that the undefined offsets begin at 166 which equates to a max_input_vars value of 996 (166 x 6 = 996) so it sounds like your max_input_vars might currently be set to 1000 (and it needs to be higher for your site).

You should be able to check your PHP settings using phpinfo() as follows:

  • Create a new file in a plain text editor with the following code: <?php phpinfo(); ?>

  • Save the file with a .php file extension (for example, 'phpinfo.php').

  • Upload the file to your web server and open it in a browser.

You should be able to change PHP values using a php.ini file, via an .htaccess file or via your web hosting online Control Panel.
If you have trouble changing any PHP values, your web host should be able to help you out.

Hopefully increasing max_input_vars will solve your problem.

If this does not help, then here are other things that you can try.

(1) Please try installing and running the Showkase Server Compatibility Test to check that your server has all the features Showkase needs.
If any of the tests fail, there are troubleshooting tips on the test's support page (link above).
Even if you ran the test before installing Showkase, please try again in case your web host has made any changes recently.

(2) If you are not already using the latest version of Showkase (v1.6.1), please try upgrading to see if this helps.
For a list of changes between versions, please see the Version History.
Full instructions for upgrading Showkase can be found here.

(3) Try going to 'System -> Repairs' and clicking the 'Repair' button to rebuild the page records.

(4) If the error message happens only when deleting images from certain gallery pages, try editing the pages in question, going to the 'Advanced' tab and clicking the 'Rebuild' button to rebuild the gallery.

(5) Check and increase your PHP memory_limit directive (in a similar way to max_input_vars above).

(4) If none of the above helps, then try running Showkase in debug mode to see if a more informative error message is displayed when the problem occurs.
Open your 'showkase/admin/settings/constants.php' file in a plain text editor and change line 12 from:

define('DEBUG', false);

... to:

define('DEBUG', true);

This should help to track down the exact cause of the problem.
Please note that the line number above refers to the current version of Showkase (v1.6.1).

I would also recommend that you make a complete backup of your site before you change anything, just in case anything goes wrong and you need to reinstate the original files at a later date.

I hope one of my suggestions above helps to solve your problem.

362

(1 replies, posted in Showkase Support)

Unfortunately, there are no dedicated keyboard shortcuts for Showkase interface buttons.
However, you might like to post your suggestion in the Feature Requests forum thread.
This keeps all the ideas together and ensures that they are not overlooked by the developers.
I do not know the likelihood of any suggestions being implemented but this is certainly the best place for all ideas.
Thank you.

Edit:
Many thanks for posting your suggestion in the Feature Requests forum thread.

363

(5 replies, posted in Showkase Support)

You're welcome.
I'm glad you've found a suitable compromise.
Thank you for letting me know.

364

(5 replies, posted in Showkase Support)

The thumb count was the problem. Thanks!

You're welcome!

To fix the gap on the left side that is set aside for the nav icon, I added to the custom.css file the following to get it to align left with the image block:

I'm glad you've been able to left-align the thumbnails to your liking. Thank you for sharing your solution.

Any ideas on how to get the thumbs to stay immediately below the image no matter what the height of the page is?

If you are looking to always have the top of the thumbnails flush against the bottom of the main image, then the only way to do this using the available configuration options would be to set imagePadding="0" and thumbPadding="0" and then either set imageScaleMode="FILL" (probably not appropriate for your gallery) or ensure that your images are large enough that they will always need to be dynamically scaled down slightly by Juicebox to fit within the gallery's image area when the gallery is displayed.

Otherwise, you could perhaps use some custom CSS such as the following to move the thumbnail container (and its navigation buttons) up slightly. (However, I would always recommend using the available configuration options where possible as Juicebox will not know of any custom CSS modifications that you make. Juicebox may expect certain elements to be in certain places and shifting them around via CSS may lead to unforeseen problems and unwanted knock-on effects.)

.jb-idx-thumbnail-container, .jbn-nav-button  {
    margin-top: -20px !important;
}

Again, this will work only if all your images are larger than the gallery's image area. If any of your images are smaller than the image area and are not dynamically scaled up (check your gallery's imageScaleMode value), then there may be a gap below your main images. (There is no easy way to always just attach the top of the thumbnails to the bottom of the main image.)

365

(5 replies, posted in Showkase Support)

I can't get the thumbnails to align left and immediately below the main image.

The default value for maxThumbColumns is 10 but your gallery has only 8 images so Juicebox will be reserving enough space for 10 thumbnails, leaving room for extra thumbnails which your gallery does not have. Try setting maxThumbColumbs="8" (in the 'Thumbnails' section).
It might be difficult to exactly align the thumbnails with the left-hand edge of the main image (Juicebox will reserve space for the thumbnail navigation buttons which will be required in a narrow browser window and thumbnail padding will also need to be taken into consideration) but you could perhaps use imagePadding to line them up and also set thumbNavPosition="BOTTOM" to position the thumbnail navigation buttons below the thumbnails, clearing some space to their left.

Also, can't get the Gallery title position to move from the default - bottom left.

The 'ARTSY' text below your gallery is actually the Showkase page title ('Page Content -> Page title') rather than the Juicebox Gallery Title.
If you want to move the page content (including the page title) from below the gallery to above the gallery, then it is not possible with the available interface options and you'll need to edit one of the Showkase source files.
Open the 'showkase/_themes/base/pagetypes/juicebox.tpl' in a plain text editor.
Cut lines 18-23 inclusive:

      <section class="page-body">
        <h2 class="page-title">{$ss_pageTitle}</h2>
        <div class="body-content {$pageBodyLayout}">
          {$ss_pageBody}
        </div>
      </section>

... and paste them to immediately below line 2:

{block "content"}

Please note that the line numbers refer to the current version of Showkase (v1.6.1).

Be sure to re-publish your site after making this change.

366

(2 replies, posted in Showkase Support)

Thanks for sharing!

It's often enough to just press Ctrl + F5 to reload the current page from the server (but, if all else fails, clearing the browser's cache is certain to solve any browser caching issues).

367

(3 replies, posted in Showkase Support)

You're welcome!

368

(3 replies, posted in Showkase Support)

You're welcome!

369

(3 replies, posted in Showkase Support)

A grid of videos is not something that Showkase has native support for so you'd certainly need to find some kind of manual solution.

The first thing to bear in mind is that Showkase fits videos using the FitVids JavaScript library.
If you want to disable the loading of this JavaScript file, open the 'showkase/_themes/base/pagetypes/basetheme.tpl' file in a plain text editor and remove line 170:

<script src="{$ss_themesUrl}/base/js/jquery.fitvids.js"></script>

Now, your videos will no longer be resized by Showkase and will always be at whatever dimensions you assign to them in their iframes.
You should now be able to position your videos side by side using code such as the following:

<iframe allowfullscreen="" frameborder="0" height="200" mozallowfullscreen="" src="https://player.vimeo.com/video/12345678?color=ffffff" style="margin-right: 20px;" webkitallowfullscreen="" width="300"></iframe>
<iframe allowfullscreen="" frameborder="0" height="200" mozallowfullscreen="" src="https://player.vimeo.com/video/12345678?color=ffffff" style="margin-right: 20px;" webkitallowfullscreen="" width="300"></iframe>
<iframe allowfullscreen="" frameborder="0" height="200" mozallowfullscreen="" src="https://player.vimeo.com/video/12345678?color=ffffff" webkitallowfullscreen="" width="300"></iframe>

Note the style attributes of the iframes (margin-right: 20px;), adding a little space between videos (not required for the last one).

Just use the regular '1-column wide' body text layout for this.

I hope this helps.

Please note that the line number above refers to the current version of Showkase (v1.6.1).

370

(3 replies, posted in Showkase Support)

The ability to auto-hide thumbnails was introduced in Juicebox-Pro v1.5.0 (please see the Version History for a list of changes between versions) but your gallery currently uses Juicebox-Pro v1.4.4.1.

Your Showkase-Pro v1.6.1 installation already comes bundled with Juicebox-Pro v1.5.0 so all you need to do to upgrade your gallery is re-publish your site (just click the 'Publish' button).
You may have to clear your browser's cache afterwards before reloading your gallery's web page.

This should solve your problem.

371

(3 replies, posted in Showkase Support)

I'm glad you've been able to sort out your default email program.
Thank you for letting me know.

372

(3 replies, posted in Showkase Support)

The "email us" link in the Support Overview is a 'mailto' link.
A 'mailto' link will open your computer's default email program and start an email to the specified email address.
If you do not use an email program (such as Outlook or Thunderbird) on your computer and, instead, use webmail (via a browser interface), then nothing will happen when you click on a 'mailto' link.

The email address for email support is showkase@simpleviewer.net. It can be seen in the browser's status bar when you hover over the "email us" link. You can also right-click the link and select 'Copy Email Address' which you can then paste into a new email to send to us. Alternatively, you can post any queries you have here and I'll do my best to help you out.

373

(3 replies, posted in Showkase Support)

I'm glad to hear that you've been able to resolve your issue.
Thank you for letting me know.

374

(3 replies, posted in Showkase Support)

I expect the grey color you are seeing is coming from line 386 of the '_themes/maribo/css/styles.css' file (the 'background-color' entry in the following section).

.gallery-listviewer .image-wrap {
  /* intrinsic ratios image sizing */
  position: relative;
  height: 0;
  background-color: rgba(0, 0, 0, 0.1);
  margin-bottom: 2em;
}

I'm not sure about the origin of this 'background-color' entry (a neutral grey might have been chosen to prevent an even more distracting flash of either black or white in certain browsers) but try removing the 'background-color' entry, changing the color to match the background color of your website or change the 'rgba' value to be completely transparent: background-color: rgba(0, 0, 0, 0);
This should hopefully solve your problem.

Please note that the line number above refers to the current version of Showkase (v1.6.1).

375

(3 replies, posted in Showkase Support)

Download the CKEditor 'Full Package' from this web page: http://ckeditor.com/download
Unzip the package and upload the complete 'ckeditor' folder to your 'showkase/admin/' directory (overwriting any existing files).
This, in conjunction with setting config.toolbar = 'Full'; as in my post above, should unlock all the features you are looking for.

Please note that although this should work OK, Showkase has not been tested with the 'Full Package' or this version of CKEditor (v4.5.11) so this modification should be done at your own risk.