Author Topic: Forum Error?  (Read 3067 times)

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3248
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Forum Error?
« on: November 26, 2015, 09:30:40 PM »
Am I the only one who is getting this?
I see this on 3 different devices at the top of every page...

(click to show/hide)
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4505
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: Forum Error?
« Reply #1 on: November 26, 2015, 09:41:18 PM »
Your image doesn't work, but if you are talking about the "Deprecated: preg_replace()" messages, I'm getting those too.

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Lexima Warrior
  • ****
  • Posts: 2900
  • LV: 365
  • Gender: Male
  • Bringer of Salt
    • View Profile
Re: Forum Error?
« Reply #2 on: November 26, 2015, 10:28:14 PM »
Yeah, someone has to edit the PHP code according to SoulShaker. It's a generally easy fix since you're just replacing method names.



(click to show/hide)
NNID: KK20-CP

Offline Soulshaker3

  • Edgy and Edging
  • Transcended Spirit
  • ***
  • Posts: 224
  • LV: 3
  • Gender: Male
  • I'm secsi
    • View Profile
Re: Forum Error?
« Reply #3 on: November 26, 2015, 10:57:13 PM »
You can also disable warnings in the PHP config, but the code changing should be the one done, since you know, you won't see other warnings if you disable them.
Hellow?

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5128
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Forum Error?
« Reply #4 on: November 27, 2015, 03:34:04 AM »
it's because SMF 1.x is an old version and the host probably upgraded the php install.
I'm getting tempted to tackle the migration to 2.x again...
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19898
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Forum Error?
« Reply #5 on: November 27, 2015, 11:01:00 AM »
What Ryex said. I wanted to fix this ASAP, but I literally didn't have any spare time in the last few days. I am likely to do this finally tomorrow.

Feel free to try the 2.x migration. The script database, shoutbox and some other stuff will have to be ported though.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Soulshaker3

  • Edgy and Edging
  • Transcended Spirit
  • ***
  • Posts: 224
  • LV: 3
  • Gender: Male
  • I'm secsi
    • View Profile
Re: Forum Error?
« Reply #6 on: November 27, 2015, 11:20:30 AM »
Quote
it's because SMF 1.x is an old version and the host probably upgraded the php install.

But... that's what I said to KK bitch in private :K Me wants credit.

About the migration if you need any help with PHP I "may" be able to help.
Hellow?

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5128
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Forum Error?
« Reply #7 on: November 27, 2015, 07:18:50 PM »
if you can get me a dump of the code and the database so I can do testing I'll see what I can do. my hope is that I can make this a drop in upgrade for you. Perhaps I can even migrate the themes.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19898
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Forum Error?
« Reply #8 on: November 27, 2015, 07:44:11 PM »
Alright. I'll get all of this ready tomorrow.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Lexima Warrior
  • ****
  • Posts: 2900
  • LV: 365
  • Gender: Male
  • Bringer of Salt
    • View Profile
Re: Forum Error?
« Reply #9 on: November 28, 2015, 07:55:01 AM »
Yes please. I hate how every submit brings me to a blank page and I have to change the URL to get back to the forums. :(



(click to show/hide)
NNID: KK20-CP

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19898
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Forum Error?
« Reply #10 on: November 28, 2015, 11:23:39 AM »
I tried replacing the call, but I gave up somewhere at the end since I realized that I'm not even sure I'm doing it properly due to some regex match syntax in PHP. Sometimes $1, $2, etc. are used and some times escaped \\1, \\2, etc. are used and I'm not sure if this is it. >.<

I'll send you everything, Ryex. See if you wanna port it to SMF 2.0. I'll try to disable the deprecation warnings for now.

EDIT: Didn't work. :/ I contacted support. Let's see if they can do it. But for now the actual best option might be to temporarily switch to an old PHP version until we upgrade to SMF 2.0.

EDIT: Alright, I got a reply and the warnings are now disabled. We should really switch to 2.0 ASAP. If PHP gets updated again at some moment, it's possible that the forum will stop working. >.<

EDIT: Yup, switching is the way to go. They won't update that part of the code. :/ http://www.simplemachines.org/community/index.php?topic=528463.0

Ryex, feel free to completely wreck everything. We'll figure out the additional stuff later. The theme can also go, I'm ok with that. We can always remake or update it at some point later.
« Last Edit: November 28, 2015, 12:22:41 PM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5128
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Forum Error?
« Reply #11 on: November 30, 2015, 06:29:12 AM »
well I have two clones working and one clone upgraded, wen't simi smoothly. I'll be doing work this week to convert things but I looks like the themes will have to be remade. At least the themeing in SMF 2 is much MUCH easier.

EDIT:
script database ported. that was actually rather easy
(click to show/hide)
« Last Edit: November 30, 2015, 08:25:57 AM by Ryex »
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19898
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Forum Error?
« Reply #12 on: November 30, 2015, 12:24:39 PM »
That's fucking awesome! :D I can't wait for the switch.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Soulshaker3

  • Edgy and Edging
  • Transcended Spirit
  • ***
  • Posts: 224
  • LV: 3
  • Gender: Male
  • I'm secsi
    • View Profile
Re: Forum Error?
« Reply #13 on: December 01, 2015, 12:21:15 AM »
Quote
I looks like the themes will have to be remade

Oh boy, I like this part :V:
Hellow?

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5128
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Forum Error?
« Reply #14 on: December 05, 2015, 05:24:03 AM »
so, I've mostly converted CP's main theme to SMF2. It's a bit rough, I need transparent images, but it works for now. the script database is of course ported. I however have yet to get any of our addons working. but that at least should be easy.

I'll have a test site up soon for everyone to look at and try and break.

EDIT:
a screen shot for ya
(click to show/hide)
« Last Edit: December 05, 2015, 06:51:24 AM by Ryex »
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5128
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Forum Error?
« Reply #15 on: December 10, 2015, 06:21:10 AM »
OK.
Blizz has graciously provided a test subdomain and I've set up a 2.0 converted CP there. Please go test it out  it uses a new shoutbox system so play around with that if you would

http://forumnew.chaos-project.com/index.php

The theme is as far as i'm concerned complete, if you have problems with readability or something looks ugly/wrong let me know.
Right now there is only a clone of CP's default theme but I have plans to convert the dark Red theme and the dark and light blue theme
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Lexima Warrior
  • ****
  • Posts: 2900
  • LV: 365
  • Gender: Male
  • Bringer of Salt
    • View Profile
Re: Forum Error?
« Reply #16 on: December 10, 2015, 07:06:23 AM »
Am I dumb or is there no way to post in the shoutbox?



(click to show/hide)
NNID: KK20-CP

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5128
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Forum Error?
« Reply #17 on: December 10, 2015, 10:49:10 AM »
it might be me, I vaguely remember something about only admins having power to post in it by default. I' probably have to go in and add normal user permissions

EDIT: should be working now
« Last Edit: December 10, 2015, 10:57:24 AM by Ryex »
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19898
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Forum Error?
« Reply #18 on: December 10, 2015, 10:59:52 AM »
Didn't you say you got the script database working? xD It won't work for me.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5128
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Forum Error?
« Reply #19 on: December 10, 2015, 11:59:37 AM »
that freaking template keeps disappearing on me. fixed.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: Forum Error?
« Reply #20 on: December 10, 2015, 07:13:07 PM »
Shouldn't you still be able to view the shoutbox even when not logged in?

EDIT: My only complaints about the shoutbox.

(click to show/hide)

Also, I hope you convert the other themes at SOME point (not immediately, unless you want to of course) because I haven't looked at a light theme in ages.
« Last Edit: December 10, 2015, 07:15:09 PM by gameus »

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19898
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Forum Error?
« Reply #21 on: December 10, 2015, 10:55:03 PM »
Lol, I agree with the insta-ban thing.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5128
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Forum Error?
« Reply #22 on: December 11, 2015, 12:08:31 AM »
Ok, I've cleaned up the shout box area.
as for the del and ban links available for mods and admins those can be hidden, they could before with the [hide admin links] at the top of the shout box
now that link looks like a little gear. it saves the setting across sessions so you can keep them hidden until you need them

The ban link might be deceptive but it only effects the shoutbox and is managed separately from smf's bans

you might want to type /help into the shoutbox and hit enter to look at the commands you can use.

EDIT: remember to use shift F5 to get the latest changes to things like style sheets and JS
« Last Edit: December 11, 2015, 12:32:31 AM by Ryex »
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4505
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: Forum Error?
« Reply #23 on: December 11, 2015, 01:15:39 AM »
I hate to be that guy that complains about small details, but I'm really not a fan of the colored backgrounds on pretty much everything.  It's okay for the board and topic links, but not so much for the posts, profiles, etc.  Also, I don't like how the posts page keeps the extra space on the sides of the page, I prefer it use as much screen space as possible like it does now.

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5128
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Forum Error?
« Reply #24 on: December 11, 2015, 02:54:24 AM »
The width thing is actually a setting in the admin panel and it defaults to 90%, I bumped it to 95 so you can see how that looks.
I toned down the bgcolors so they don't pop as hard moving them closer to gray, let me know if these things help, dont for get to shift f5 for a clean cache
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Lexima Warrior
  • ****
  • Posts: 2900
  • LV: 365
  • Gender: Male
  • Bringer of Salt
    • View Profile
Re: Forum Error?
« Reply #25 on: December 11, 2015, 03:39:28 AM »
I like how the default login time option is "Forever". We advocate that everyone should be more like Aqua.

Also, I now have 15000 posts. I too can be over 9000. :D



(click to show/hide)
NNID: KK20-CP

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5128
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Forum Error?
« Reply #26 on: December 11, 2015, 04:19:45 AM »
wait what... how..? does SMF 2 have a security hole or something?
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: Forum Error?
« Reply #27 on: December 11, 2015, 10:01:07 AM »
Whatever you did to the shoutbox now makes it expand with every new message.

(click to show/hide)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19898
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Forum Error?
« Reply #28 on: December 11, 2015, 10:52:12 AM »
:rofl:
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5128
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Forum Error?
« Reply #29 on: December 11, 2015, 11:23:14 AM »
... you guys really like to knit pick... fine I'll apply a fixed height and make it have a scrollbar.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19898
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Forum Error?
« Reply #30 on: December 11, 2015, 03:09:38 PM »
Don't worry, there's time to fix everything. The important thing is that most things work properly. We'll take it from there.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5128
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Forum Error?
« Reply #31 on: December 11, 2015, 08:49:02 PM »
well I made the shoutbox a fixed height.

I have everything set up for you to do an upgrade anytime, all files and instructions in a git repo. exactly the same steps I used to get the test site running. you just need to find the time and let me know when you want it. I'd estimate about 3-4 hours.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19898
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Forum Error?
« Reply #32 on: December 11, 2015, 09:43:26 PM »
Get everything ready. I'll likely do it this weekend.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.