News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Forum Not Appearing after changing DNS

Started by tonywells82, January 19, 2025, 02:30:33 PM

Previous topic - Next topic

tonywells82

Hi,

I changed to a new Nameserver (hostinger.com). Now all I'm getting is a 'blank white page'. http://www.tseatc.com/smf/index.php

When I click on phpMyAdmin I'm getting the 'Access Denied' message.

I did do the Run Database and it says OK.

I did do the Repair Database and it says Repair Complete.

I was smart enough to download/backup the .json and .php files before changing servers but I'm not sure where or how to upload those.

Any assistance would be greatly appreciated!

TW

Doug Heffernan

#1
Quote from: tonywells82 on January 19, 2025, 02:30:33 PMI changed to a new Nameserver (hostinger.com). Now all I'm getting is a 'blank white page'.

Can you check the server error log page and post the most recent messages logged in there? What is your php and forum version?

Quote from: tonywells82 on January 19, 2025, 02:30:33 PMI was smart enough to download/backup the .json and .php files before changing servers but I'm not sure where or how to upload those.

The forum files you will have to upload it inside whatever folder you have used to install your Smf forum. Whereas the database backup is best restored from the Backups section of the cPanel.

tonywells82

Quote from: Doug Heffernan on January 19, 2025, 04:13:56 PM
Quote from: tonywells82 on January 19, 2025, 02:30:33 PMI changed to a new Nameserver (hostinger.com). Now all I'm getting is a 'blank white page'.

Can you check the server error log page and post the most recent messages logged in there? What is your php and forum version?

Quote from: tonywells82 on January 19, 2025, 02:30:33 PMI was smart enough to download/backup the .json and .php files before changing servers but I'm not sure where or how to upload those.

Access Denied
Unable to establish a PHP session.

The account must be able to write to the php session directory and must not exceed the assigned disk quota.

If you believe that this is in error or inadvertent, contact your system administrator and ask them to review your server settings.
________________________________________
cpaneld/11.110.0.51 Server at www.tseatc.com
PHP Version: Native (7.4) (current) / ea-php74


The forum files you will have to upload it inside whaever folder you have used to install your Smf forum. Whereas the dataabse backup is best restored from the Backups section of the cPanel.


Let me try and check if I can figure it all out.

Thank you so much!

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sir Osis of Liver

It takes a while for nameserver update to propagate, typically a couple hours locally, but they usually tell you 48 hours.
When in Emor, do as the Snamors.
                              - D. Lister

tonywells82

Hello,

I moved it to a new Nameserver again. Now getting the following:

Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/u725526139/domains/tseatc.com/public_html/smf/Sources/Subs.php on line 3794

Illori


tonywells82

Quote from: Illori on January 23, 2025, 03:16:09 PMWhat is a phpinfo() file?

what version of php are you running on the new server?

Good question. On this hostinger server I can't access the cpanel anymore. I can only access the files via the hostinger hpanel. Not sure how to check with version of php I'm running now. How can I check that if unable to access my previous cpanel?

Sir Osis of Liver

If you have file access you can upload phpinfo and run it with direct link.  If you can't access cpanel, that's a host issue.  You should fix that before messing with the forum.
When in Emor, do as the Snamors.
                              - D. Lister

tonywells82

Quote from: Sir Osis of Liver on January 23, 2025, 04:14:38 PMIf you have file access you can upload phpinfo and run it with direct link.  If you can't access cpanel, that's a host issue.  You should fix that before messing with the forum.


OK, I've uploaded phpinfo.php into my smf folder. But I'm not sure how to actually run it.

Sir Osis of Liver

https://www.tseatc.com/smf/phpinfo.php

You're running php 8.2.24.

Forum is failing to load with this error -

Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/u725526139/domains/tseatc.com/public_html/smf/Sources/Subs.php on line 3794

2.1.4 should run in php 8.2.

When in Emor, do as the Snamors.
                              - D. Lister

Illori


tonywells82

Quote from: Sir Osis of Liver on January 23, 2025, 04:14:38 PMIf you have file access you can upload phpinfo and run it with direct link.  If you can't access cpanel, that's a host issue.  You should fix that before messing with the forum.


I did run it:


PHP logo
PHP Version 8.2.24
System    Linux us-bos-web1717.main-hosting.eu 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
Build Date    Sep 25 2024 00:00:00
Build System    Linux buildfarm03-new.corp.cloudlinux.com 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33

Sir Osis of Liver

When in Emor, do as the Snamors.
                              - D. Lister

Aleksi "Lex" Kilpinen

#14
Please describe exactly what did you actually do when the issues began.

I am confused, because you say you changed DNS, implying that the actual server ( and IP address ) remained the same, and all that changed was domain records - which means nothing should have broken, and your domain should give consistent replies to DNS queries, while your files should have remained on the same server with the same IP address and configuration as before.

But if I run an nslookup on tseatc.com I get an A record of 84.32.84.21,
if I run an nslookup for www.tseatc.com I get 84.32.84.66,
if I look at who-hosts-this.com for tseatc.com I get 147.79.120.187
and for www.tseatc.com 92.112.198.206
If I make a domain whois lookup, I find 2 different A records 191.96.144.196 and 191.96.144.49 ...

So, which is correct? Or do all of those IP addresses actually hold all your files?
Or, did something else change as well?
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Sir Osis of Liver

Quote from: Sir Osis of Liver on January 23, 2025, 04:14:38 PMIf you can't access cpanel, that's a host issue.  You should fix that before messing with the forum.
When in Emor, do as the Snamors.
                              - D. Lister

Aleksi "Lex" Kilpinen

Except, when you are on a host which doesn't actually use cpanel - Like Hostinger. Hostinger has it's own hpanel, which based on the OPs comment earlier is working just fine.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Sir Osis of Liver

Hmm, rereading his posts, it appears he changed hosts, not nameservers -

Quote from: tonywells82 on January 19, 2025, 02:30:33 PMI changed to a new Nameserver (hostinger.com). Now all I'm getting is a 'blank white page'. http://www.tseatc.com/smf/index.php

And he now has Hostinger's own control panel, whereas he had cPanel on previous host -

Quote from: tonywells82 on January 23, 2025, 04:07:30 PMOn this hostinger server I can't access the cpanel anymore. I can only access the files via the hostinger hpanel.

I don't think he changed DNS, his forum is down because the move to new host is borked.
When in Emor, do as the Snamors.
                              - D. Lister

Aleksi "Lex" Kilpinen

Yeah, that's why I asked for more details on what exactly happened.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Sir Osis of Liver

The files are there, you can link to agreement.txt and readme.html, but subscriptions.php results in the Subs.php error.  I'm wondering which SMF version was running before the move, and whether upgrade was attempted.
When in Emor, do as the Snamors.
                              - D. Lister

Advertisement: