Author |
Message |
southern
Client
Joined: Jan 29, 2004
Posts: 624
|
Posted:
Fri Jan 13, 2023 10:02 am |
|
Hello. I'm something of an old timer here and I should be able to resolve this problem by myself but I've never seen this before. Maybe someone else knows how to resolve it. I noticed my front page was blank with only my website name in the upper left corner, [ Only registered users can see links on this board! Get registered or login! ] I turned off the site with NukeSentinel until I can get it fixed. I tried putting Forums in home and that loaded correctly, so the problem is the News module. OK. I uploaded a fresh News module and put News back in home. It doesn't load correctly, only a blank page with my site name as before. So I put Forums back in home until I resolve this. Any ideas? I'm running RN 2.5.1. |
_________________ Computer Science is no more about computers than astronomy is about telescopes.
- E. W. Dijkstra |
|
|
|
neralex
Site Admin
Joined: Aug 22, 2007
Posts: 1774
|
Posted:
Thu Jan 19, 2023 7:56 am |
|
Hey, did you changed the PHP version of your webserver to php7? Try to activate the error-messages and check the output for errors or warnings and also the php log-file on your webserver. |
_________________ Github: RavenNuke |
|
|
|
southern
|
Posted:
Fri Jan 20, 2023 12:03 pm |
|
Hi Neralex, As far as I know the PhP version hasn't been changed for my website. If it was it wasn't me. Anyway the blank page occurs only when I set the News module as home or click a story link. Other modules show normally. I uploaded a new index.php file from the current RN but this didn't fix it. I looked at the error log but nothing pertains to a blank page. I'll check the header.php file and upload a fresh one. |
|
|
|
|
neralex
|
Posted:
Mon Jan 23, 2023 11:12 am |
|
Which php-version shows your webserver? Use as admin this link: /modules/Forums/admin/admin_phpinfo.php and paste the shown version, please. If you are using RN251, then it doesn't work with php7x. |
|
|
|
|
southern
|
Posted:
Mon Jan 23, 2023 6:04 pm |
|
My webhost shows the current PhP version as 5.3. I'm running the latest RN distro. |
|
|
|
|
southern
|
Posted:
Mon Jan 23, 2023 6:24 pm |
|
neralex wrote: | Which php-version shows your webserver? Use as admin this link: /modules/Forums/admin/admin_phpinfo.php and paste the shown version, please. If you are using RN251, then it doesn't work with php7x. |
Using the link, PHP Version 5.3.29 |
|
|
|
|
southern
|
Posted:
Tue Jan 24, 2023 9:19 am |
|
I enabled my site so you can see the problem yourself. I have Forums set in home, that's not a problem. The only problem is the News module. In the News menu click the News link and you will see what I mean by blank page. All other modules are normal, even the non-RN ones. Clicking a story link also gets the same blank page. Hopefully you will see immediately what the problem is and how to correct it. |
|
|
|
|
neralex
|
Posted:
Tue Jan 24, 2023 11:14 am |
|
Strange. It seems there is an issue with the article.php of the News module or with the used theme. Did you tried another theme, if the same issue exists? If yes, then compare the article.php with the file from the core package. If you like, then ZIP me the folders of your used theme and the News module. Send me the link via PN and I will check the code. |
|
|
|
|
southern
|
Posted:
Tue Jan 24, 2023 12:04 pm |
|
neralex wrote: | Strange. It seems there is an issue with the article.php of the News module or with the used theme. Did you tried another theme, if the same issue exists? If yes, then compare the article.php with the file from the core package. If you like, then ZIP me the folders of your used theme and the News module. Send me the link via PN and I will check the code. |
The article.php file should have been replaced along with all files in the News module when I uploaded and overwrote the old one. The issue remains in any theme I've tried. I can't figure out where the [ Only registered users can see links on this board! Get registered or login! ] in the upper left corner comes from. It's not from the index.html file in the module as that is just a blank page with no text. I'll zip the files you want and send you a link to them. |
|
|
|
|
neralex
|
Posted:
Thu Jan 26, 2023 12:07 pm |
|
When you replaced the whole News module and it shows on each theme, then it can not be the problem. The html-output of your "blank"-page is showing a content, which is not part of RN. There is no file, which is showing the domain-name only. Exists an htaccess file in your root-folder and did you made changes on that in the last time? Maybe it is based on a simple rewrite-rule.... |
|
|
|
|
southern
|
Posted:
Thu Jan 26, 2023 2:13 pm |
|
neralex wrote: | When you replaced the whole News module and it shows on each theme, then it can not be the problem. The html-output of your "blank"-page is showing a content, which is not part of RN. There is no file, which is showing the domain-name only. Exists an htaccess file in your root-folder and did you made changes on that in the last time? Maybe it is based on a simple rewrite-rule.... |
That is what I'm thinking too. On the chance some file had been causing the problem in the News module and was left behind when I uploaded and overwrote the old News module I renamed the entire News module to News_Bad and then uploaded a fresh News module. The same problem still exists. So it is definitely not caused by any file in the News module. That's been eliminated as a cause.
Then I considered the theme as a possible cause. I've been looking through the one I use. There appears nothing that might cause the issue of a blank page with my site name in the upper left corner.
I don't think it's worth sending you the News module and the theme in a zip file, it'd be a waste of your time.
I'm inclined to think the problem is caused by some setting in some file such as .htaccess as you mention. The only change I've made was to manually add a deny from at the end when this issue came up, which I later removed. It does look like an image rewrite rule so I will look at that. Thanks for the lead. I may have changed a setting in my webhost cpanel, I'll look. |
|
|
|
|
southern
|
Posted:
Fri Jan 27, 2023 10:13 am |
|
I'm stumped. I didn't find anything in .htaccess that might be causing a blank page [roblem. I removed some things but it made no difference.
Code:### Start McAfeeSECURE Code DO NOT EDIT ###
<IfModule mod_substitute.c>
AddOutputFilterByType SUBSTITUTE text/html
Substitute "s|</body>|<!-- Start McAfeeSecure Code --><script type=\"text/javascript\" src=\"//cdn.ywxi.net/js/1.js\" async=\"true\"></script><!-- End McAfeeSecure Code --></BODY>|ni"
</IfModule>
### End McAfeeSECURE Code DO NOT EDIT ###
RewriteCond %{HTTP_REFERER} !^http://southernwolf.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://southernwolf.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://wolf****.southernwolf.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://wolf****.southernwolf.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.southernwolf.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.southernwolf.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.wolf****.southernwolf.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.wolf****.southernwolf.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://southernwolf.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://southernwolf.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://wolf****.southernwolf.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://wolf****.southernwolf.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.southernwolf.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.southernwolf.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.wolf****.southernwolf.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.wolf****.southernwolf.net$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
|
I also saw this in the error log.
Code:[Thu Jan 19 06:47:39.743320 2023] [access_compat:error] [pid 583633:tid 47737158010624] [client 85.208.211.56:56085] AH01797: client denied by server configuration: /home/southern/public_html/, referer: https://www dot zionism-israel dot com/log/archives/00000231 dot html
[Thu Jan 19 06:47:39.525779 2023] [access_compat:error] [pid 594766:tid 47737189529344] [client 85.208.211.41:10607] AH01797: client denied by server configuration: /home/southern/public_html/, referer: https://www dot zionism-israel dot com/log/archives/00000231 dot html
[Thu Jan 19 06:47:38.676076 2023] [access_compat:error] [pid 583748:tid 47737155909376] [client 85.208.211.37:46845] AH01797: client denied by server configuration: /home/southern/public_html/, referer: https://www dot zionism-israel dot com/log/archives/00000231 dot html
[Thu Jan 19 06:47:38.454508 2023] [access_compat:error] [pid 583633:tid 47739100464896] [client 85.208.211.35:22059] AH01797: client denied by server configuration: /home/southern/public_html/, referer: https://www dot zionism-israel dot com/log/archives/00000231 dot html
[Thu Jan 19 06:47:37.762827 2023] [access_compat:error] [pid 583552:tid 47737174820608] [client 85.208.211.31:43593] AH01797: client denied by server configuration: /home/southern/public_html/, referer: https://www dot zionism-israel dot com/log/archives/00000231 dot html
|
|
|
|
|
|
southern
|
Posted:
Sun Jan 29, 2023 9:41 am |
|
I looked at the blank page with the Microsoft Edge Inspect and found it reports this error,
Code:http://www.southernwolf.net/modules.php?name=News&file=article&sid=4409#:~:text=www.southernwolf.net
|
So there is the text that appears on the otherwise blank page. I looked at article #4409 but the text doesn't appear in it. I looked at modules.php but it seems OK. I may have disturbed a file in the /includes directory so I'll upload a fresh directory just in case. Something that should be there is missing. |
|
|
|
|
southern
|
Posted:
Mon Jan 30, 2023 5:01 pm |
|
I looked at nuke_stories in MySQL. All stories are intact and none has my site name appended to any.
Could it be a permission issue? I'll check that next. |
|
|
|
|
neralex
|
Posted:
Wed Feb 01, 2023 12:19 pm |
|
southern wrote: | I looked at the blank page with the Microsoft Edge Inspect and found it reports this error,
Code:http://www.southernwolf.net/modules.php?name=News&file=article&sid=4409#:~:text=www.southernwolf.net
|
So there is the text that appears on the otherwise blank page. I looked at article #4409 but the text doesn't appear in it. I looked at modules.php but it seems OK. I may have disturbed a file in the /includes directory so I'll upload a fresh directory just in case. Something that should be there is missing. |
neralex wrote: | The html-output of your "blank"-page is showing a content, which is not part of RN. There is no file, which is showing the domain-name only. |
This I meant with those words. What should I say ... without file-access access to the server-administration I can only guess where the issue based. But it's not proper to ask for this access in a public forum, and without knowing what exactly you've changed, it becomes increasingly difficult. |
|
|
|
|
southern
|
Posted:
Thu Feb 02, 2023 4:58 pm |
|
neralex wrote: | southern wrote: | I looked at the blank page with the Microsoft Edge Inspect and found it reports this error,
Code:http://www.southernwolf.net/modules.php?name=News&file=article&sid=4409#:~:text=www.southernwolf.net
|
So there is the text that appears on the otherwise blank page. I looked at article #4409 but the text doesn't appear in it. I looked at modules.php but it seems OK. I may have disturbed a file in the /includes directory so I'll upload a fresh directory just in case. Something that should be there is missing. |
neralex wrote: | The html-output of your "blank"-page is showing a content, which is not part of RN. There is no file, which is showing the domain-name only. |
This I meant with those words. What should I say ... without file-access access to the server-administration I can only guess where the issue based. But it's not proper to ask for this access in a public forum, and without knowing what exactly you've changed, it becomes increasingly difficult. |
I've changed nothing except the News module, the addons directory in the includes directory and the root RN files, header.php, index.php, footer.php, mainfile.php and modules.php. I uploaded and overwrote those after backing them up. They were not the issue as the problem remains. I will send a PM to you about access. |
|
|
|
|
|