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

tonywells82

Quote from: Aleksi "Lex" Kilpinen on January 24, 2025, 12:31:42 AMPlease 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?

My website used to be on tahanan.net (which is a Filipino run host because I used to live in the Philippines before until I moved back here to the USA in 2007). I just kept using their service because of 'convenience' but now I've had it will their lousy service and steep prices.

So, I recently changed to hostinger.com. I noticed that that previous service had me change the DNS of tseatc.com to its own host (because they made it the cpanel for me to host several of my other websites on). But, since I changed to hostinger.. hostinger told me I should change tseatc.com to their DNS (and Nameserver) now - so it can work. That's what I did. Now everything is on hostinger and all works ok except for the Simple Machines Forum.

I just need to fix this error I'm getting: 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

Sir Osis of Liver

Quote from: Sir Osis of Liver on January 24, 2025, 11:51:56 AMI'm wondering which SMF version was running before the move, and whether upgrade was attempted.

It's also possible the nameserver update wasn't done correctly, and your forum may still be linking to the old server.  Easiest way to check that is to rename agreement.txt > agreement.sav on new server and see if direct link still works.
When in Emor, do as the Snamors.
                              - D. Lister

Sir Osis of Liver

Just checked, if you're running SMF version earlier than 2.0.19 you'll get the Subs.php error in php 8.2.  You'll need to upload a clean set of 2.0.19 files, or upgrade to 2.1.4, or drop your php version to 7.4.
When in Emor, do as the Snamors.
                              - D. Lister

tonywells82

Quote from: Sir Osis of Liver on January 25, 2025, 10:28:00 PM
Quote from: Sir Osis of Liver on January 24, 2025, 11:51:56 AMI'm wondering which SMF version was running before the move, and whether upgrade was attempted.

It's also possible the nameserver update wasn't done correctly, and your forum may still be linking to the old server.  Easiest way to check that is to rename agreement.txt > agreement.sav on new server and see if direct link still works.


I did rename that. See my error now:

Warning: require_once(/home/tseatcc/public_html/smf/Sources/QueryString.php): Failed to open stream: No such file or directory in /home/u725526139/domains/tseatc.com/public_html/smf/index.php on line 52

Fatal error: Uncaught Error: Failed opening required '/home/tseatcc/public_html/smf/Sources/QueryString.php' (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u725526139/domains/tseatc.com/public_html/smf/index.php:52 Stack trace: #0 {main} thrown in /home/u725526139/domains/tseatc.com/public_html/smf/index.php on line 52

Doug Heffernan

Quote from: tonywells82 on January 26, 2025, 12:55:25 PMI did rename that. See my error now:

Warning: require_once(/home/tseatcc/public_html/smf/Sources/QueryString.php): Failed to open stream: No such file or directory in /home/u725526139/domains/tseatc.com/public_html/smf/index.php on line 52

Fatal error: Uncaught Error: Failed opening required '/home/tseatcc/public_html/smf/Sources/QueryString.php' (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u725526139/domains/tseatc.com/public_html/smf/index.php:52 Stack trace: #0 {main} thrown in /home/u725526139/domains/tseatc.com/public_html/smf/index.php on line 52

Check your Settings.php file and make sure that it's not empty.

tonywells82

#25
Quote from: Sir Osis of Liver on January 25, 2025, 11:13:59 PMJust checked, if you're running SMF version earlier than 2.0.19 you'll get the Subs.php error in php 8.2.  You'll need to upload a clean set of 2.0.19 files, or upgrade to 2.1.4, or drop your php version to 7.4.


I was trying to install 2.1.4 but I get this error message:

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-Compat.php on line 100
Quote from: Doug Heffernan on January 26, 2025, 01:37:41 PM
Quote from: tonywells82 on January 26, 2025, 12:55:25 PMI did rename that. See my error now:

Warning: require_once(/home/tseatcc/public_html/smf/Sources/QueryString.php): Failed to open stream: No such file or directory in /home/u725526139/domains/tseatc.com/public_html/smf/index.php on line 52

Fatal error: Uncaught Error: Failed opening required '/home/tseatcc/public_html/smf/Sources/QueryString.php' (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u725526139/domains/tseatc.com/public_html/smf/index.php:52 Stack trace: #0 {main} thrown in /home/u725526139/domains/tseatc.com/public_html/smf/index.php on line 52

Check your Settings.php file and make sure that it's not empty.

No it's not empty. See below;

<?php
/**********************************************************************************
* Settings.php                                                                    *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel ([email protected])                    *
* =============================================================================== *
* Software Version:           SMF 1.1                                             *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006 by:          Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/


########## Maintenance ##########
# Note: If $maintenance is set to 1, the forum will be unusable!  Change it to 0 to fix it.
$maintenance = 0; # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
$mtitle = 'Upgrading the forum...'; # Title for the Maintenance Mode message.
$mmessage = 'Don\'t worry, we will be back shortly with an updated forum.  It will only be a minute ;).'; # Description of why the forum is in maintenance mode.

########## Forum Info ##########
$mbname = 'The Southeast Asian Treasure Connection'; # The name of your forum.
$language = 'english'; # The default language file set for the forum.
$boardurl = 'http://www.tseatc.com/smf'; # URL to your forum's folder. (without the trailing /!)
$webmaster_email = '[email protected]'; # Email address to send emails from. (like [email protected].)
$cookiename = 'SMFCookie989'; # Name of the cookie to set for authentication.

########## Database Info ##########


########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = '/home/tseatcc/public_html/smf'; # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = '/home/tseatcc/public_html/smf/Sources'; # Path to the Sources directory.

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error = 1581658179;


# Make sure the paths are correct... at least try to fix them.
if (!file_exists($boarddir) && file_exists(dirname(__FILE__) . '/agreement.txt'))
$boarddir = dirname(__FILE__);
if (!
file_exists($sourcedir) && file_exists($boarddir . '/Sources'))
$sourcedir = $boarddir . '/Sources';

$cachedir = '/home/tseatcc/public_html/smf/cache';
?>

tonywells82

Quote from: Sir Osis of Liver on January 25, 2025, 11:13:59 PMJust checked, if you're running SMF version earlier than 2.0.19 you'll get the Subs.php error in php 8.2.  You'll need to upload a clean set of 2.0.19 files, or upgrade to 2.1.4, or drop your php version to 7.4.


I tried to upgrade to 2.1.4 and got the following message;

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-Compat.php on line 100

Doug Heffernan

Quote from: tonywells82 on January 26, 2025, 02:05:03 PMI tried to upgrade to 2.1.4 and got the following message;

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-Compat.php on line 100

First of all, never post sensitive data such as the database details in public as it poses a huge security risk. I edited your post above and removed them.

That said, what version of Smf are you upgrading from, 1.1.? I am asking because that's the version at your Settings.php file. If that's the case most likely you are using a very old php version, 5 and smf 2.1. doesn't support it. You will have to upgrade your php version too.

And last but certainly not least, please don't bump your topic within 24 hours. We're all volunteers here and provide support on our own free time and dime. Thank you for your understanding.


Sir Osis of Liver

Quote from: tonywells82 on January 26, 2025, 02:05:03 PMI tried to upgrade to 2.1.4 and got the following message;

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-Compat.php on line 100

How did you do the upgrade?

If your forum actually is 1.1 you may have to upgrade in steps.  2.1.4 upgrader is supposed to upgrade from any earlier version, but sometimes it doesn't.  And you'll have problems with php versions.  1.1 branch supported up to php 5.4, 2.0.18 php 7.4, 2.0.19 php 8.0, and 2.1.4 iirc supports 8.1/8.2.  Does your control panel allow you to select php version, and if so, which versions are available?
When in Emor, do as the Snamors.
                              - D. Lister

tonywells82

My website tseatc.com is migrated onto the new host now. See below new error message:

Warning: require_once(/home/tseatcc/public_html/smf/Sources/QueryString.php): Failed to open stream: No such file or directory in /home/u725526139/domains/tseatc.com/public_html/smf/index.php on line 52

Fatal error: Uncaught Error: Failed opening required '/home/tseatcc/public_html/smf/Sources/QueryString.php' (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u725526139/domains/tseatc.com/public_html/smf/index.php:52 Stack trace: #0 {main} thrown in /home/u725526139/domains/tseatc.com/public_html/smf/index.php on line 52

Doug Heffernan

Quote from: tonywells82 on February 15, 2025, 03:15:25 PMMy website tseatc.com is migrated onto the new host now. See below new error message:

Warning: require_once(/home/tseatcc/public_html/smf/Sources/QueryString.php): Failed to open stream: No such file or directory in /home/u725526139/domains/tseatc.com/public_html/smf/index.php on line 52

Fatal error: Uncaught Error: Failed opening required '/home/tseatcc/public_html/smf/Sources/QueryString.php' (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u725526139/domains/tseatc.com/public_html/smf/index.php:52 Stack trace: #0 {main} thrown in /home/u725526139/domains/tseatc.com/public_html/smf/index.php on line 52

Check your Settings.php file and make sure that it's present and it's not corrupted. i.e. it has been emptied out somehow.

tonywells82

#31
Quote from: Doug Heffernan on February 15, 2025, 03:55:43 PM
Quote from: tonywells82 on February 15, 2025, 03:15:25 PMMy website tseatc.com is migrated onto the new host now. See below new error message:

Warning: require_once(/home/tseatcc/public_html/smf/Sources/QueryString.php): Failed to open stream: No such file or directory in /home/u725526139/domains/tseatc.com/public_html/smf/index.php on line 52

Fatal error: Uncaught Error: Failed opening required '/home/tseatcc/public_html/smf/Sources/QueryString.php' (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u725526139/domains/tseatc.com/public_html/smf/index.php:52 Stack trace: #0 {main} thrown in /home/u725526139/domains/tseatc.com/public_html/smf/index.php on line 52

Check your Settings.php file and make sure that it's present and it's not corrupted. i.e. it has been emptied out somehow.

It's there. 5 years old. See below;

<?php
/**********************************************************************************
* Settings.php                                                                    *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel ([email protected])                    *
* =============================================================================== *
* Software Version:           SMF 1.1                                             *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006 by:          Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/


########## Maintenance ##########
# Note: If $maintenance is set to 1, the forum will be unusable!  Change it to 0 to fix it.
$maintenance = 0; # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
$mtitle = 'Upgrading the forum...'; # Title for the Maintenance Mode message.
$mmessage = 'Don\'t worry, we will be back shortly with an updated forum.  It will only be a minute ;).'; # Description of why the forum is in maintenance mode.

########## Forum Info ##########
$mbname = 'The Southeast Asian Treasure Connection'; # The name of your forum.
$language = 'english'; # The default language file set for the forum.
$boardurl = 'http://www.tseatc.com/smf'; # URL to your forum's folder. (without the trailing /!)
$webmaster_email = '[email protected]'; # Email address to send emails from. (like [email protected].)
$cookiename = 'SMFCookie989'; # Name of the cookie to set for authentication.

########## Database Info ##########
$db_server = 'localhost';
$db_name = 'tseatcc_tseatcc';
$db_user = 'tseatcc_twells';
$db_passwd = 'password_removed';
$db_prefix = 'smf_';
$db_persist = 0;
$db_error_send = 1;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = '/home/tseatcc/public_html/smf'; # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = '/home/tseatcc/public_html/smf/Sources'; # Path to the Sources directory.

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error = 1581658179;


# Make sure the paths are correct... at least try to fix them.
if (!file_exists($boarddir) && file_exists(dirname(__FILE__) . '/agreement.txt'))
$boarddir = dirname(__FILE__);
if (!
file_exists($sourcedir) && file_exists($boarddir . '/Sources'))
$sourcedir = $boarddir . '/Sources';

$cachedir = '/home/tseatcc/public_html/smf/cache';
?>

Sir Osis of Liver

Does the file /smf/Sources/QueryString.php exist?  There was a problem with GoDaddy some years back where misconfigured security on their ftp servers was deleting a dozen or so source files immediately after upload.  The solution was to upload the files using cpanel file manager.

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

Sir Osis of Liver

Hmm, looks like the file is there.  PHP version?  Did you run repair_settings on new host?

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

tonywells82

Quote from: Sir Osis of Liver on February 16, 2025, 01:07:15 PMDoes the file /smf/Sources/QueryString.php exist?  There was a problem with GoDaddy some years back where misconfigured security on their ftp servers was deleting a dozen or so source files immediately after upload.  The solution was to upload the files using cpanel file manager.


Yes this file does exist. It's 12 years old.

tonywells82

Quote from: Sir Osis of Liver on February 16, 2025, 02:20:31 PMHmm, looks like the file is there.  PHP version?  Did you run repair_settings on new host?


PHP Version 8.2.27

No I did not run repair_settings on the new host? Where is it? I can't seem to find that to run it.


tonywells82

Quote from: Doug Heffernan on February 16, 2025, 04:27:31 PM
Quote from: tonywells82 on February 16, 2025, 04:24:33 PMNo I did not run repair_settings on the new host? Where is it? I can't seem to find that to run it.

What is repair_settings.php?

Unfortunately, that file is missing. Please send it to me here or my [email protected]

Doug Heffernan

Quote from: tonywells82 on February 16, 2025, 05:34:39 PMUnfortunately, that file is missing. Please send it to me here or my [email protected]

I just tried it and it's not missing. You can try to download it from the follow link as well:

https://download.simplemachines.org/index.php?tools

tonywells82

Quote from: Doug Heffernan on February 16, 2025, 05:40:53 PM
Quote from: tonywells82 on February 16, 2025, 05:34:39 PMUnfortunately, that file is missing. Please send it to me here or my [email protected]

I just tried it and it's not missing. You can try to download it from the follow link as well:

https://download.simplemachines.org/index.php?tools

I had to download it. See below message:

Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'tseatcc_twells'@'localhost' (using password: YES) in /home/u725526139/domains/tseatc.com/public_html/smf/repair_settings.php:1197 Stack trace: #0 /home/u725526139/domains/tseatc.com/public_html/smf/repair_settings.php(1197): mysqli_connect() #1 /home/u725526139/domains/tseatc.com/public_html/smf/repair_settings.php(355): smc_compat_initiate() #2 /home/u725526139/domains/tseatc.com/public_html/smf/repair_settings.php(20): initialize_inputs() #3 {main} thrown in /home/u725526139/domains/tseatc.com/public_html/smf/repair_settings.php on line 1197

tonywells82

This is the message on the smf page now:

Warning: require_once(/home/tseatcc/public_html/smf/Sources/QueryString.php): Failed to open stream: No such file or directory in /home/u725526139/domains/tseatc.com/public_html/smf/index.php on line 52

Fatal error: Uncaught Error: Failed opening required '/home/tseatcc/public_html/smf/Sources/QueryString.php' (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u725526139/domains/tseatc.com/public_html/smf/index.php:52 Stack trace: #0 {main} thrown in /home/u725526139/domains/tseatc.com/public_html/smf/index.php on line 52

Sir Osis of Liver

If you're actually trying to run a 1.1 forum, you'll have to downgrade php to a 5.x version if your host allows it.  Else you can try upgrading the database directly to 2,1 with the 2.1.4 upgrade package (good luck).

You must run repair_settings if you've changed hosts.  You'll have to contact host support if server won't allow it to run,
When in Emor, do as the Snamors.
                              - D. Lister

Kindred

what version of SMF are you running?


 for php 8.2, you must be on 2.1.4

2.0.19 only supports up to 8.1 officially...

anything before 2.0.19 does not support php 8 at all
Сл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

OP has moved a 1.1 forum to new host running php 8.2.  We're trying to get him upgraded from 1.1 to 2.1.4.  Per his Settings.php posted above, it's still at 1.1.
When in Emor, do as the Snamors.
                              - D. Lister

Advertisement: