Referral from Google search on mobile produces Backlight error

My wife couldn’t remember my web site, so on her mobile she went to Google and put in “One Mountain Photo” with spaces. When she saw the website (onemountainphoto.com) she clicked on the link… and she got a Backlight 4 error message.

“Something went wrong. Unable to find pageTemplate with ID 1. Try updating the selected template for the application. In EngineFactory.php on line 36”

I was able to reproduce the result by doing the same process. As was my daughter on her phone. All three of us don’t get the error if we type in the URL.

the URL displayed in the error, when linked from the Google search, was:

onemountainphoto.com/mobile.php

Chances are that you have a slideshow inserted on the home page. Check to make sure all is right with that album and that it has a current album template assigned to it.

Yes, slideshow on the home page. Works fine other than the one case I mentioned. There’s an album referenced (home gallery). It’s not located in the “galleries” directory, though, because I couldn’t figure out how to publish there and get it to only show up on the home page. Only appears to happen from a mobile interface.

The way you keep an album from showing up on the Galleries page is to hide it. Look at the album settings under the Features tab for the Hide from album set”option

You should get rid of that mobile.php file. It’s not part of Backlight and is probably a leftover from an earlier version of your site.

I searched my whole set of files on the host. No “mobile.php” file anywhere.

I had no problem accessing your site from my phone. That link to your site from a google search must just be a google leftover.
Perhaps you can help remove it by submitting a site map to google.

Check if you have a page named ‘mobile’.

That’s good then.
I see the error when clicking on the results after searching on my phone for “one mountain photo”. The search results link includes that mobile.php.

I don’t know why there’s a Backlight error page rather than a 404 error page (it’s not really a Backlight issue, as far as I know). Perhaps that’s something @Ben can address.

The error message is consistent with missing templates and he has no file called page.php. That’s why I think he has a page called ‘mobile’ that uses an old non-existing template.

Ahh, missed your post while writing mine. good point.

There’s nothing out there on the system called “mobile”. Noting of any kind, based on search.

I wiped out EVERYTHING in the file system from my old CE3 site. I mean everything… scrubbed every every file out of every directory on the server. Everything on the server is there from Backlight.

There is a file page.php, found here:

public_html/backlight/modules/pangolin-page/dynamic/view/page.php

Daniel was wondering if you’ve created a page named “mobile”
You would see it in Backlight > Designer > Pages

what you found is part of Backlight

Nope. No page called “mobile”

This whole weirdness only seems to happen when referred from the Google search engine. And only from a mobile phone - I’ve not been able to get the glitch from a PC.

An observation. When I do the search from my mobile, the URL on the One Mountain Photo web URL it pulls up ends in mobile - as in onemountainphoto.com/mobile (take a look) (when I clicked on that URL from my laptop, I got the weird “something went wrong.” And it’s a Backlight4 message, not a page error)

Something in the referral process and mobile sensing, on Google, not just at my site. That’s the ONLY way I can produce the problem.

I wonder then if the url is just left over from Google crawling your old CE3 site. It doesn’t happen on my site when I Google search my name, for instance.

I wonder then if the url is just left over from Google crawling your old CE3 site. It doesn’t happen on my site when I Google search my name, for instance.

Yeah, that’s most likely the case. The issue is that Backlight tries to serve a page instead of returning a page not found error. I can’t reproduce this on my site.

I would send @Ben your ftp and Backlight logins so he can check what’s going on. The best way to do this is sending him a message. Click on Ben’s name and then you should get a popup with the message button.

I just talked with a friend of mine who works at Google (in the AI team but he called people he knew on the search side) and he thought this is exactly what’s happening. Thought the problem would go away after a new crawl. Since the conditions under which it happens are so specific, I think I’m going to wait and see what happens after Google refreshes.

It is interesting that Backlight responds with a Backlight error, and not a 404 error.

Thanks, Daniel. See my response to Rod - friend of mine thinks the problem will resolve once Google recrawls the site. So I won’t bug Ben right now, particularly since the problem only happens under extremely specific conditions.

I have a couple other questions that are more pressing that I’ll bug y’all about later instead. :slightly_smiling_face:

You can also file a removal request with Google to delist outdated pages. Here’s an article about how to do that: