In preview mode the page works fine. Online, the page goes to blank and the page code is the attached below. Can anyone help?
<!doctype html>
In preview mode the page works fine. Online, the page goes to blank and the page code is the attached below. Can anyone help?
<!doctype html>
Post the URL to the page for inspection.
Offhand, the problem is not obvious. What is this page supposed to look like? I ran it in Preview mode and the page is blank. It seems that the code hides all of the page elements.
Can you narrow down the problem? Did it work at some point and then stopped working after adding more elements to the page?
Perhaps if you can recreate the problem on another page using the minimum amount of code possible. If you have a specific problem or suspected bug we would be happy to help. However, we are unable to debug 20,000 lines of code.
Yisrael
Hi and thanks for your help. The page was working fine up until a couple of weeks ago. I didn’t make any changes to it. I tried commenting out all of the code, but it still comes up blank. I suspect that one of the objects on the page is incomplatible with some recent WIX update. Here is what it looks like in preview mode with no code commented out. I took this screenshot a few moments ago, so it’s working for me.
Which browser? I’m using Chrome. It showed up blank.
Maybe something to do with the permissions in the database?
I’m using Chrome as well (latest update), but I tried with Safari, Firefox and Explorer. In live it shows up blank, but in preview mode it works just fine.
Hmmm, strange.
Usually what I do when stuff like this happens is I start pruning pieces out and see what causes the problem. You could maybe copy the page and experiment. If you could narrow it down I’d be glad to help.
Ok, will immediately. I’ll keep you posted.
I did as you suggested. The page shows up only after I eliminate all of my datasets.
Whoa! Well, that doesn’t sound so useful - a page without datasets. ![]()
What happens when you add them back, one at a time?
Perhaps something in the data itself is causing a problem? That would be weird.
Maybe it’s only one dataset that’s causing the problem?
Ok, did that. I removed one dataset and the page still wasn’t visible. I removed a second one and now the page is visible.
So the question remains is it one of those datasets? Maybe only the last one you removed?
And, if so, why? What is wrong with that dataset? Or with the collection that it’s connected to?
Are we having fun yet? ![]()
I tried adding that one dataset back and the page goes to blank once more. I tried removing another dataset, but it still goes to blank, so I figure this is the incriminated one. I attach the image below. Keep in mind there are three datasets pointing to the same table. Of the three, this is the only READ ONLY dataset.
Aha! Not sure what to do with it, but it’s a start. Gotta leave my keyboard for a while. I’ll look at it when I get back. Meanwhile keep me posted if you find anything interesting.
Ok, solved it. Don’t know it happened, but I deleted the incriminated dataset and recreated it and now it works fine. I hadn’t touched it since the page was first created a few months ago, so I have no idea what could’ve gone wrong. The mysteries of computer science!
Thanks a lot for your help!!!
I figured out what it is, although I don’t know why it happens. The table contains an image field. Apparently, it is that field that makes the page go blank when in live mode (it works fine in preview mode). I removed the image column from the table linked to the dataset and the page works fine. What could it be?
Copy the Data from sandbox to live, it might solve the issue
I just had the same issue. I deleted the whole page and the dynamic set associated with it, start over and ensured SEO settings is showing the correct URL/page to display. Issue resolved.