If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
December 15, 2012 at 1:26 am #18746
I’ve been working on a blog site using Flashlight as the theme, and I’ve tested it using a fading background gallery (6 second autorotate). When I access the site on any iOS or Android mobile device, it crashes the browser!
I’ve tested it with:
iPhone 4S on Safari
iPad 2 on Safari
Nexus 7 Android on Chrome
Samsung GSIII Android on Chrome
They all crash when viewing the site. Sometimes, it will last throuh a few photo changes before crashing….sometimes I can get an actual page other than the home page to load from the menu, and then it will crash….
A number of my pages use ‘lazy loading’ Flexible galleries that add images as the user scrolls down, and any page like that crashes the browser, too.
So, I can’t tell if it’s the autorotating background galleries that is causing the crashing, or if it’s the flexible galleries with the lazy loading……or, perhaps something else in the way I’ve configured things…
The domain is dishdesign.com….
Thanks for reading!December 15, 2012 at 8:01 am #100712
I don’t have a mobile device that could test your site, so let me tag the rest of the support to check the issue.
Just to add, I’m seeing this error on my end:
Uncaught TypeError: Cannot call method 'apply' of undefined
Try to disable all your plugins and enable them one by one and check the site after enabling each plugin to check what’s causing the issue.
IsmaelDecember 15, 2012 at 6:26 pm #100713
Hello Ismael: Thanks for the suggestion.
I went ahead and turned off all the plugins….there’s not a single plugin active on the site (not even Akismet), and it is still crashing every mobile device browser I test it on.
I also tested using WPTouch Pro to override the site and create a mobile theme only for mobile devices. Unfortunately, it will load the page menu fine, but every page comes up blank after the title! So, all the portfolio pages which use the Flexible Grid gallery type (99% of my site pages do) simply load as completely blank.
I’m wondering if the code library used to create the Flexible Grid gallery type and the default autorotating background gallery is the culprit here (Avia JQuery?)…
It’s a bit of a bummer, though….if I can’t get mobile devices to access the portfolio at all, either through the base Flashlight theme or using WPTouch Pro, it’s a bit of a deal-breaker. I’ll have to switch themes and rebuild all the portfolio pages I’ve created.
Perhaps there is a mobile-specific Kriesi theme that could simply access the portfolios in the database I’ve already created and uploaded?…Actually, looking again at Kriesi’s themes, I see that a number of the leading themes in the list specifically note that they are “responsive” and show screenshots with mobile devices in the header images, but Flashlight does not. Was Flashlight not designed to provide mobile support?
If there is a theme I can switch to that will maintain all the portfolio items I’ve created using Flashlight, it will probably be simpler than troubleshooting a theme not intended for mobile support!
Thanks – Darrin HunterDecember 16, 2012 at 10:03 am #100714
Yes, Flashlight is not responsive and it uses the old “fixed” 960px framework which won’t scale down on smaller screens. All our themes use the same custom post type and the same taxonomy for portfolio entries – thus you can eg switch to Replete, Propulsion, Eunoia, Angular or Choices and your portfolio items will still work flawlessly. However you maybe need to take care of the featured images because Flashlight uses the default wp image gallery whereas the other themes use a custom slideshow function based on post meta values.December 16, 2012 at 3:52 pm #100715December 16, 2012 at 6:02 pm #100716
Uh, hi again, Dude:
I think what you said about “maybe needing to take care of the featured images because Flashlight uses the default wp image gallery whereas the other themes use a custom slideshow function based on post meta values” is a bit of a problem here….
I had 63 portfolio galleries created using Flashlight, each with anywhere from 5-140 images attached! There are now 1500 portfolio images uploaded in my site….To recreate all of those galleries manually now by finding all the images in the Media Gallery to include in new galleries using Choices will be a huge undertaking. It took about a week for me to create them the first time using Flashlight…
Can you recommend an easiest route to finding those gallery image sets from the Flashlight theme and recreating using Choice’s custom slideshows?
Could I activate Flashlight and go into each Portfolio’s Upload Images dialog and take the gallery that was created and convert it somehow to a slideshow that’s accessible when Choices is activated?
(At this point, due to the time involved in re-uploading all those galleries or trying to piece them back together from the Media Gallery interface, it would probably be worth it to me if I hired a developer to write some SQL that would create arrays from the image tags in the Flashlight gallery database entries and create Choices slideshows…if that’s even possible…I feel a little sick. If only I’d researched the mobile issue and chosen a responsive theme in the first place!)
Thanks for your help…December 17, 2012 at 9:01 am #100717
Obviously it’s a tedious task to reconfigure all slides however I think you can do this without wasting a lot of time. The reason is that all images are already part of the post gallery. Thus you don’t need to search them in the media gallery but you can just select the “Gallery” tab in the thickbox window and attach all images to the slideshow. Then close the thickbox window, save the post and edit the next portfolio entry.December 17, 2012 at 7:09 pm #100718
I only WISH I could see that “Gallery(1)” tab in the thickbox window!
It doesn’t show up for me when I switch the theme from Flashlight to Choices…..
Here is what I see when viewing an example portfolio item called “Justice Facilities”:
This is what I see when the theme is set to Flashlight:
Could it be that some underlying framework of mine needs to be updated?
My dashboard says I am using WordPress 3.4.2 with Flashlight v1.8 and Choices v.1.6December 18, 2012 at 8:51 am #100719
Hi again Dude,
I also wanted to pass along a little information about theme updates……I checked your General Questions post about “Latest Theme Updates” to make sure I’m using the latest versions of the themes in question.
It says that Flashlight is up to version 1.9, but I deleted the theme completely and downloaded a fresh copy from Theme Forest, and the version they have posted for download still says it’s version 1.8 in Style.css and in the WordPress control panel….
Could version 1.9 of Flashlight have code in it that tags the “featured images” attached to portfolio items as a “flashlight” gallery in the database somehow, and that is why the Gallery tab does not appear for me once I switch to the Choices theme?
Also, I had to revert from WordPress 3.5 back to version 3.4.2 about a week ago because after I upgraded to 3.5, the “Add Media” button above the post editor box would not work. I had no way to add media to the post content, whether it was already added to the Media Library or not.
If WordPress 3.5 is required for some reason to get the “Gallery” tab to show up in the thickbox dialog, I can upgrade again, fix all the galleries after switching to the Choices theme, and then downgrade WP back to 3.4.2 if needed….
Best – DarrinDecember 19, 2012 at 4:19 am #100720
If you downloaded from themeforest after November 3 then you have the correct version (1.8 or 1.9 are both referring to the same update). Your best bet is to always check themeforest and compare the number of the theme found there to the version number found in the styles.css file of the theme.
NickDecember 19, 2012 at 8:59 am #100721
It seems like Flashlight does not attach the images to the current post but to another “attachment holder” post which does not work with Choices/Replete, etc. I created a small importer script which doesn’t work properly yet – I asked Kriesi to look into it.December 19, 2012 at 9:14 am #100722
Thank You for your script efforts, Dude!
You’re a lifesaver…and seriously, I know you and Kriesi are busy and spending your time on this….I’m happy to PayPal you a holiday donation for your efforts….they’re much appreciated!
(And, actually, I was thinking….that little importer script might be a great incentive for you to get users of older themes to upgrade to newer mobile-responsive themes without having to recreate their portfolio galleries…marketing, marketing, marketing, no?…)
:-)December 26, 2012 at 10:53 pm #100723
Your idea does make a lot of sense. The one drawback is that first time WordPress admins may wind up destroying their websites. Fairly experienced people get into trouble moving WordPress from localhost to a live site. Unless Dude’s importer just has 1 button that says ‘Start’ and does everything else on its own, I would think hard before releasing such a device.
Experienced people can work out the logic – just do a clean install and attach an image to a post in Flashlight. And do exactly the same on Choices with same image, etc. then export mysql tables from each database and compare the xml. Then its straight forward (never is).
NickJanuary 25, 2013 at 4:38 pm #100724
The topic ‘Flashlight crashing mobile browsers’ is closed to new replies.