TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,040
  • Total Topics: 21,335
  • Online today: 321
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 125
  • Total: 125

Error on new host

Started by bynw, Today at 03:56:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bynw


Link to my forum: https://rhemuthcastle.com
SMF version: 2.1.8
TP version: 3.0.3
Default Forum Language: Engilsh
Theme name and version: SMF Default Curve 2
Browser Name and Version: Firefox 158.0.1
Mods installed:
Discord Web Hooks
Discord Who's Online
Email Obfuscator
Google Member Map
Email Inactive Users
ListUnsubscribePost
SMF Gallery Lite
SMF 2.1.5 Update
SMF 2.1.6 Update
SMF 2.1.7 Update
More Spiders
SMF 2.1.8 Update
TinyPortal
Related Error messages: I have recently moved hosts. Updated TinyPortal and SMF. I noticed the the following field in TinyPortal still has the old host's path listed. Path where TinyPortal images are uploaded to on your server.
So prior to updating TinyPortal I went to update this field with the correct new path and got an error. The error still happens after updating TinyPortal as well.


Type of error
General
Error message
readdir(): Argument #1 ($dir_handle) must be of type resource or null, false given
File
/actual/path/hidden/Sources/TPortalAdmin.php
Line
2975
URL of page causing the error
https://rhemuthcastle.com/index.php?action=tpadmin
Backtrace information

    #0: smf_exception_handler()
    Called from unknown on line -1


lurkalot

Confirmed, I get the same error on my test site.

@rjen

I do not get an error and can change it without problem
Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Quote from: @rjen on Today at 12:16:55 PMI do not get an error and can change it without problem

That's strange. I have at least three sites that have the wrong setting in them which I didn't realise until now, but all of them produce the same error when I try to correct it.  All running SMF 2.1.8 and TP 3.0.3  The only change made to the server recently was change to PHP: 8.4.27 not sure if that's relevant.

Version Information:
Forum version: SMF 2.1.8 (more detailed)
Current SMF version: SMF 2.1.8
GD version: 2.3.3
MySQL engine: MariaDB
MySQL version: 10.11.19-MariaDB-cll-lve
SMF file based caching: 2.1.8
SQLite3 database based caching: 3.53.4
PHP: 8.4.27 (more detailed)
Server version: LiteSpeed

@rjen

Same error? Any extra info in the error trace?
Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Think it's the same error info as posted above.  Here's my Backtrace info,

Type of error
General
Error message
readdir(): Argument #1 ($dir_handle) must be of type resource or null, false given
File
/home/cxxxxxxc/domains/cxxxxxe.com/public_html/testsite3/Sources/TPortalAdmin.php
Line
2975
URL of page causing the error
https://cctestsite.com/testsite3/index.php?action=tpadmin

Backtrace information
#0: smf_exception_handler()
Called from unknown on line -1

lurkalot

I've changed it on one site the old fashioned way by editing it in the database, but I have two more sites that won't change via the TP admin > settings page.

@rjen

Quote from: lurkalot on Today at 04:23:52 PMThink it's the same error info as posted above.  Here's my Backtrace info,

Type of error
General
Error message
readdir(): Argument #1 ($dir_handle) must be of type resource or null, false given
File
/home/cxxxxxxc/domains/cxxxxxe.com/public_html/testsite3/Sources/TPortalAdmin.php
Line
2975
URL of page causing the error
https://cctestsite.com/testsite3/index.php?action=tpadmin

Backtrace information
#0: smf_exception_handler()
Called from unknown on line -1

That's not very helpful I am afraid
Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Quote from: @rjen on Today at 04:29:49 PM
Quote from: lurkalot on Today at 04:23:52 PMThink it's the same error info as posted above.  Here's my Backtrace info,

Type of error
General
Error message
readdir(): Argument #1 ($dir_handle) must be of type resource or null, false given
File
/home/cxxxxxxc/domains/cxxxxxe.com/public_html/testsite3/Sources/TPortalAdmin.php
Line
2975
URL of page causing the error
https://cctestsite.com/testsite3/index.php?action=tpadmin

Backtrace information
#0: smf_exception_handler()
Called from unknown on line -1

That's not very helpful I am afraid

No I guess not, like it's the same as above.  Is there anything else I can do to provide you with more info?


This website is proudly hosted on Crocweb Cloud Website Hosting.