I just published an updated version of my website www.zozobanana.com (code to get in: 302618), and all went well, except that the home page is now completely blank. All other pages were published just fine.
Anybody any clue why this is happening?
The only thing I can think of that may have something to do with this is that after publishing RW gave me a prompt saying that I am using two different indexes (php and html). Strangely though, as far as I can see - and I just rechecked - all my pages have âindex.phpâ filled in the Filename area in RW.
Thanks for your time and help in advance,
Jim
PS: These are the Meta Data windows for the home page and the first page after thatâŚ
OK, I deleted the index.html file in my hosting and indeed that took care of the dual indexing problem. Thanks.
Yes, itâs all displaying fine in preview. And after publishing âall pagesâ the issue of the blank Home page did not go away. Which also means the indexing issue had nothing to do with that, but that was a long shot anyway,
On the published page there is basically no content.
If it looks okay in preview in RW, try preview in browser.
If that is okay then something isnât publishing, or you have a server issue.
It looks fine in both the RW and browser previews. So then indeed something is not publishing - but why not? - or I have a server issue. I am in touch with ChilliDog hosting about this issue too, and this is what they wrote to me:
Blank page is a php error on the page. Check the php version requirements for the software youâre using. You may have to change it via the php selector in the control panel
Now most of that answer I do not understand: I donât know how to change something in the âphp selectorâ in the c-panel as I have never done that before, I donât know what to change it to, and I cannot even find such a selector in my c-panel. Also, I am missing the logic, for why would a php issue only influence one page, given that all my pages have the same index info in the meta data?
Anyway, I have replied just that to Chilli and I am awaiting their reply. Their service is great so I suspect they will help me find a solution soon. They probably just need to dumb down their advice to me so I can follow it.
log into your control panel on your hosting and make sure you php version is at least 7.2 (I think 7.4 is latest) Under the software section there should be âmultiPhP managerâ thatâs where you set it.
as for why only one page, it could be thatâs the only page you have that needs php.
Whatâs on that page? any forms, cms data, etc?
I looked at the source on that published page and itâs practically empty.
What does that page look like in RW edit mode? What is on that page?
Can you export(publish locally) that page and send it to me?
This doesnât make any sense, itâs like RW isnât creating all the source or something when you publish.
You donât have the bulk of it in a stack set to ânot publishâ by any chance do you?
EDIT: are you using anything like the Agent stack on the page?
There is a lot of content on my home page, or should be. Here is a link to two screenshots of RW in edit modeâŚ
How do I export only that page? I know how to export the whole site, but not just one page.
I donât think I have it in a stack that is set to ânot publishâ, but I would not know where to check or uncheck such a setting, so maybe by mistakeâŚ
I donât think I am using an Agent stack as I have never heard of that.
I was able to publish the page locally, but I am such an amateur that I cannot find the exported file! I checked all the usual spots, but I do not see it.
Yes, I am sure I REpublished ALL the files: I did so several times. Just now again.
I removed PageSafe and that made no difference. Because of you I did notice that on the Home Page I had three PageSafe stacks in stead of one, which made me somewhat optimistic, but after deleting first two, then all three, and republishing all pages after each step, the home page still remained blank.
You can look in your publishing settings for local publishing to see where itâs set to publish.
One other thing. Is there anything in your .htaccess file?
Did you add any âcodeâ on the page.
This is one of the strangest issues Iâve ever seenâŚ
Trouble shooting.
The next step assuming itâs actually publishing to your server would be to start removing stacks and publishing. Duplicate the page first and set the duplicate to draft so you have a copy âas isâ
Then on the real page, remove the bottom half and publish. If it works you know the issue in with the bottom half, if not, put that half back (from the copy) and remove the top half, publish.
once you determine which half is causing the issues, cut that half in half, finches and repeat until you narrow it down to the culprite.
I can find the Publishing Settings for publishing on the web, but not for local publishing. Where would I be able to find that?
This is going to sound repetitive, but I cannot find a .htaccess file. So sorry. I looked in my c-panle file manager but do not see that. Is that where it should be?
No, there is not page specific code for this page.
Iâm no longer on my computer so canât send you a screen shot. You could do a spotlight search for rw_common ( which would export to the root just like your index.php) that may reveal where you are exporting to.