Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
southern
Client



Joined: Jan 29, 2004
Posts: 611

PostPosted: Fri Jan 13, 2023 10:02 am Reply with quote

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 
View user's profile Send private message
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1727

PostPosted: Thu Jan 19, 2023 7:56 am Reply with quote

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 
View user's profile Send private message
southern







PostPosted: Fri Jan 20, 2023 12:03 pm Reply with quote

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







PostPosted: Mon Jan 23, 2023 11:12 am Reply with quote

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







PostPosted: Mon Jan 23, 2023 6:04 pm Reply with quote

My webhost shows the current PhP version as 5.3. I'm running the latest RN distro.
 
southern







PostPosted: Mon Jan 23, 2023 6:24 pm Reply with quote

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







PostPosted: Tue Jan 24, 2023 9:19 am Reply with quote

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







PostPosted: Tue Jan 24, 2023 11:14 am Reply with quote

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







PostPosted: Tue Jan 24, 2023 12:04 pm Reply with quote

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







PostPosted: Thu Jan 26, 2023 12:07 pm Reply with quote

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







PostPosted: Thu Jan 26, 2023 2:13 pm Reply with quote

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







PostPosted: Fri Jan 27, 2023 10:13 am Reply with quote

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







PostPosted: Sun Jan 29, 2023 9:41 am Reply with quote

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©