Advertisement:

Author Topic: [SMF Converter] UBB.threads 7.5  (Read 55326 times)

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,157
  • Gender: Male
    • Macedonian electronics forum
Re: [SMF Converter] UBB.threads 7.5
« Reply #100 on: May 27, 2018, 07:30:37 PM »
An Error Has Occurred!
Package upload failed due to the following error:
"Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable. If you continue to experience this problem you should try extracting the package on your PC and uploading the extracted files into a subdirectory in your Packages directory and try again. For example, if the package was called shout.tar.gz you should:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF."

Did you do what was proposed in the error?
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline Ruben Rocha

  • Semi-Newbie
  • *
  • Posts: 42
Re: [SMF Converter] UBB.threads 7.5
« Reply #101 on: June 04, 2018, 03:01:41 PM »
importing ip ban lists.
For the sake of argument.
Ubb uses % not * which I can run a update query to fix that.
But the issue goes from
the ban list has bans like
192.168.0.*
192.168.*.*
or even 192.*.*.*

It always fails in the importer.
What would be the proper format to edit the existing ip ban list.
for ones that have a top level ip ban.
 that will be accepted.

There are like 5000 ip bans so it is hard to manually preview them.



Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,157
  • Gender: Male
    • Macedonian electronics forum
Re: [SMF Converter] UBB.threads 7.5
« Reply #102 on: June 04, 2018, 08:24:54 PM »
But the issue goes from
the ban list has bans like
192.168.0.*
192.168.*.*
or even 192.*.*.*

???... who in their right mind would put that range in a ban list ???... it's a reserved range for private LANs, no one can have a public IP starting with 192.168.

Why not add 127.0.0.1 to the list as well ::).

What would be the proper format to edit the existing ip ban list.

Empty out the entire column with the IP bans. IP bans are pointless anyway. Exceptions are some rare cases with bot spam and or DDoS attacks... but a more efficient way to handle them would be through htaccess, not by IP ban lists in the forum itself.
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline Ruben Rocha

  • Semi-Newbie
  • *
  • Posts: 42
Re: [SMF Converter] UBB.threads 7.5
« Reply #103 on: June 05, 2018, 12:23:18 PM »
The 192.168.0 was an example to show only where the wildcards are placed not actual ip's in the ban list.

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,157
  • Gender: Male
    • Macedonian electronics forum
Re: [SMF Converter] UBB.threads 7.5
« Reply #104 on: June 05, 2018, 06:28:05 PM »
Oh, good... for a moment there I thought someone actually banned 192.16.*.* ::) ;D.

Did you empty out the IP bans column?

Code: [Select]
UPDATE table_name SET column_name = ''
Do a database backup first.

"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline Ruben Rocha

  • Semi-Newbie
  • *
  • Posts: 42
Re: [SMF Converter] UBB.threads 7.5
« Reply #105 on: June 07, 2018, 12:41:29 PM »
Even before your reply I did that and it runs successfully .
I have been using a backup copy for a beta run.
By my question still remains what would be the proper format for a wildcard in a ip?
92.XXX.XXX.XXX
what would I replace the x with?

I am doing the conversion not the owner and I think they want it so.
I mean I could just delete the banned ip's with a wild card. But.....

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,157
  • Gender: Male
    • Macedonian electronics forum
Re: [SMF Converter] UBB.threads 7.5
« Reply #106 on: June 08, 2018, 06:59:19 AM »
By my question still remains what would be the proper format for a wildcard in a ip?
92.XXX.XXX.XXX
what would I replace the x with?

In SMF or UBB.threads? If it's in SMF, I can do a test IP ban and check what's written in the database if you want ;).
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline Ruben Rocha

  • Semi-Newbie
  • *
  • Posts: 42
Re: [SMF Converter] UBB.threads 7.5
« Reply #107 on: June 18, 2018, 01:39:12 PM »
I am not going to worry about it I deleted all the ip's with wildcards in the ban list and it works.
For what it is worth I found one mis configured ip while doing so.
But I am not going to revisit it.
I am moving on.
Thanks anyway.

Offline Ruben Rocha

  • Semi-Newbie
  • *
  • Posts: 42
Re: [SMF Converter] UBB.threads 7.5
« Reply #108 on: June 18, 2018, 01:48:26 PM »
FYI,
This importer works fine all the way to ubb 7.6.1.1
I have done three different versions in ubb 7.5.7 7.6.0 and 7.6.1.1 all working

However the errors some users have reported is due to corrupted data in ubb, which happens.

I have figured out how to fix the errors plus with manual queries import almost everything from ubb using this version.

Polls however are hit and miss.

PS,
This version should be on the converter page with some caveats.
The current version in the converters page is for wwwThreads only the precursor to ubbThreads.