mah bad..
Omg why
Posts
Clickbait wroteBacklash wroteWhile y'all are here, is the offer still open on helping out with Lewd's codebase? I'd really like to help patch the place up, and starting a solo project has kinda rekindled my interest in learning new languages/frameworks. ^_^
Ah, and don't worry if the code's a bit of a mess. I've recently been given the rather unfortunate task of learning how to maintain my whole province's parole system, which utilizes a cut-rate CRM system with scarce docs, so I'm used to asking questions. ^^'7
if you wanna help contribute to lewd's codebase. the next iteration of lewd's backend is open source and located here: https://github.com/neko/mybb-api
Finally had a few days when I didn't have migraines... Well, a day and a half. Thought I'd take it easy on the weekend, and ended up with a massive headache. >~<'
Still~, even if it's a rough week, I'm committed to this project. I read about half of myBB's official docs on interacting with the DB, and took a more in-depth look at your code over the past few hours. [ By the way, can I just mention how much I appreciate the inclusion of a "To Do" list? Seriously, if you wanna detail that further, go right ahead. <3 ]
I'm fluent in PHP, but I haven't touched it in ages. But luckily, I work with SQL every day, changing production data every time some officer missspells someone's name, or hit the wrong option on a dropdown, that sort of thing. I saw you wrote some functions in /includes/components/members/controller.php, and that's most likely where I'll start... ^^
... most likely when I feel better, though. God... I'm so glad I found this place. If it wasn't for the people here, my family might've still convinced me it was "anxiety"... ><'
Backlash wroteClickbait wroteBacklash wroteWhile y'all are here, is the offer still open on helping out with Lewd's codebase? I'd really like to help patch the place up, and starting a solo project has kinda rekindled my interest in learning new languages/frameworks. ^_^
Ah, and don't worry if the code's a bit of a mess. I've recently been given the rather unfortunate task of learning how to maintain my whole province's parole system, which utilizes a cut-rate CRM system with scarce docs, so I'm used to asking questions. ^^'7
if you wanna help contribute to lewd's codebase. the next iteration of lewd's backend is open source and located here: https://github.com/neko/mybb-api
Finally had a few days when I didn't have migraines... Well, a day and a half. Thought I'd take it easy on the weekend, and ended up with a massive headache. >~<'
Still~, even if it's a rough week, I'm committed to this project. I read about half of myBB's official docs on interacting with the DB, and took a more in-depth look at your code over the past few hours. [ By the way, can I just mention how much I appreciate the inclusion of a "To Do" list? Seriously, if you wanna detail that further, go right ahead. <3 ]
I'm fluent in PHP, but I haven't touched it in ages. But luckily, I work with SQL every day, changing production data every time some officer missspells someone's name, or hit the wrong option on a dropdown, that sort of thing. I saw you wrote some functions in /includes/components/members/controller.php, and that's most likely where I'll start... ^^
... most likely when I feel better, though. God... I'm so glad I found this place. If it wasn't for the people here, my family might've still convinced me it was "anxiety"... ><'
i haven't had time to touch it myself for the past week, but will try to keep things going.
the mybb docs aren't super helpful as i'm not using any php from mybb. tho i'd suggest setting up a normal mybb 1.8 installation so u have a db to work off.
i hope you feel better soon!
Clickbait wroteBacklash wroteClickbait wroteBacklash wroteWhile y'all are here, is the offer still open on helping out with Lewd's codebase? I'd really like to help patch the place up, and starting a solo project has kinda rekindled my interest in learning new languages/frameworks. ^_^
Ah, and don't worry if the code's a bit of a mess. I've recently been given the rather unfortunate task of learning how to maintain my whole province's parole system, which utilizes a cut-rate CRM system with scarce docs, so I'm used to asking questions. ^^'7
if you wanna help contribute to lewd's codebase. the next iteration of lewd's backend is open source and located here: https://github.com/neko/mybb-api
Finally had a few days when I didn't have migraines... Well, a day and a half. Thought I'd take it easy on the weekend, and ended up with a massive headache. >~<'
Still~, even if it's a rough week, I'm committed to this project. I read about half of myBB's official docs on interacting with the DB, and took a more in-depth look at your code over the past few hours. [ By the way, can I just mention how much I appreciate the inclusion of a "To Do" list? Seriously, if you wanna detail that further, go right ahead. <3 ]
I'm fluent in PHP, but I haven't touched it in ages. But luckily, I work with SQL every day, changing production data every time some officer missspells someone's name, or hit the wrong option on a dropdown, that sort of thing. I saw you wrote some functions in /includes/components/members/controller.php, and that's most likely where I'll start... ^^
... most likely when I feel better, though. God... I'm so glad I found this place. If it wasn't for the people here, my family might've still convinced me it was "anxiety"... ><'
i haven't had time to touch it myself for the past week, but will try to keep things going.
the mybb docs aren't super helpful as i'm not using any php from mybb. tho i'd suggest setting up a normal mybb 1.8 installation so u have a db to work off.
i hope you feel better soon!
So sorry for going radio silent on this for so long. I've kinda been struggling with my migraines as of late. Luckily though, I had some more time to work on stuff these past two days, so after cleaning up my SQL install, I figured I'd try and get this API up and running. Unfortunately though, when I try and navigate to one of the routes you've already built - in this case corresponding to the GetMemberBySlug function - I'm met by this big ol' error. >~<'
Content of xxx.xxx.xxx.xxx:4079/members/Backychan
note : "backychan" is also my system account username.
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in
/home/backychan/pomf-api/mybb-api/vendor/nette/database/src/Database/ResultSet.php:70 Stack trace: #0
/home/backychan/pomf-api/mybb-api/vendor/nette/database/src/Database/ResultSet.php(70): PDOStatement->execute() #1
/home/backychan/pomf-api/mybb-api/vendor/nette/database/src/Database/Connection.php(162): Nette\Database\ResultSet->__construct() #2
/home/backychan/pomf-api/mybb-api/vendor/nette/database/src/Database/Connection.php(241): Nette\Database\Connection->query() #3
/home/backychan/pomf-api/mybb-api/includes/components/member/controller.php(11): Nette\Database\Connection->fetchAll() #4
/home/backychan/pomf-api/mybb-api/includes/components/member/routes.php(5): MyBBApi\Controllers\MemberController::GetMemberList() #5
/home/backychan/pomf-api/mybb-api/vendor/mark-php/mark/src/App.php(88): {closure}() #6
/home/backychan/pomf-api/mybb-api/vendor/workerman/workerman/Connection/TcpConnection.php(660): Mark\App->onMessage() #7
/home/backychan/pomf-api/mybb-api/vendor/workerman/workerman/Events/Select.php(293): Workerman\Connection\TcpConnection->baseRead() #8
/home/backychan/pomf-api/mybb-api/vendor/workerman/workerman/Worker.php(2426): Workerman\Events\Select->loop() #9
/home/backychan/pomf-api/mybb-api/vendor/workerman/workerman/Worker.php(1551): Workerman\Worker->run() #10
/home/backychan/pomf-api/mybb-api/vendor/workerman/workerman/Worker.php(1381): Workerman\Worker::forkOneWorkerForLinux() #11
/home/backychan/pomf-api/mybb-api/vendor/workerman/workerman/Worker.php(1355): Workerman\Worker::forkWorkersForLinux() #12
/home/backychan/pomf-api/mybb-api/vendor/workerman/workerman/Worker.php(542): Workerman\Worker::forkWorkers() #13
/home/backychan/pomf-api/mybb-api/vendor/mark-php/mark/src/App.php(74): Workerman\Worker::runAll() #14 /home/backychan/pomf-api/mybb-api/server.php(5):
Mark\App->start() #15 {main} Next Nette\Database\ConnectionException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in
/home/backychan/pomf-api/mybb-api/vendor/nette/database/src/Database/ResultSet.php:70 Stack trace: #0
/home/backychan/pomf-api/mybb-api/vendor/nette/database/src/Database/Drivers/MySqlDriver.php(60): Nette\Database\DriverException::from() #1
/home/backychan/pomf-api/mybb-api/vendor/nette/database/src/Database/ResultSet.php(73): Nette\Database\Drivers\MySqlDriver->convertException() #2
/home/backychan/pomf-api/mybb-api/vendor/nette/database/src/Database/Connection.php(162): Nette\Database\ResultSet->__construct() #3
/home/backychan/pomf-api/mybb-api/vendor/nette/database/src/Database/Connection.php(241): Nette\Database\Connection->query() #4
/home/backychan/pomf-api/mybb-api/includes/components/member/controller.php(11): Nette\Database\Connection->fetchAll() #5
/home/backychan/pomf-api/mybb-api/includes/components/member/routes.php(5): MyBBApi\Controllers\MemberController::GetMemberList() #6
/home/backychan/pomf-api/mybb-api/vendor/mark-php/mark/src/App.php(88): {closure}() #7
/home/backychan/pomf-api/mybb-api/vendor/workerman/workerman/Connection/TcpConnection.php(660): Mark\App->onMessage() #8
/home/backychan/pomf-api/mybb-api/vendor/workerman/workerman/Events/Select.php(293): Workerman\Connection\TcpConnection->baseRead() #9
/home/backychan/pomf-api/mybb-api/vendor/workerman/workerman/Worker.php(2426): Workerman\Events\Select->loop() #10
/home/backychan/pomf-api/mybb-api/vendor/workerman/workerman/Worker.php(1551): Workerman\Worker->run() #11
/home/backychan/pomf-api/mybb-api/vendor/workerman/workerman/Worker.php(1381): Workerman\Worker::forkOneWorkerForLinux() #12
/home/backychan/pomf-api/mybb-api/vendor/workerman/workerman/Worker.php(1355): Workerman\Worker::forkWorkersForLinux() #13
/home/backychan/pomf-api/mybb-api/vendor/workerman/workerman/Worker.php(542): Workerman\Worker::forkWorkers() #14
/home/backychan/pomf-api/mybb-api/vendor/mark-php/mark/src/App.php(74): Workerman\Worker::runAll() #15
/home/backychan/pomf-api/mybb-api/server.php(5): Mark\App->start() #16 {main}
Naturally, the config.php file had its strings changed to match a DB user with access to the test forum's database "POMF_DB". I Googled around, and most people pointed me towards tweaking some settings in /etc/mysql, but that didn't seem to solve the issue.
Do you think there might be something I'm doing wrong? I don't wanna break somethin' you've already wrote, but odds are it's something really silly anyways.
Any help would be much-appreciated! <3

Did a little further prodding at the aforementioned issue... It looks like the problem isn't with any code that's being executed after the page loads. In fact, the browser doesn't even get that far. Instead, my copy of the app would throw errors if I included even a simple "echo" statement in the function embedded in a route.
I'm willing to bet it's a problem with the Nette database. I'm gonna look at the documentation and debug it when I have time.
Right now, though, I'm literally about to pass out... My migraines would be killing me if it weren't for all my meds, ahh~... Peace out, y'all.

SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
have u tried restarting ur mysql server
Backlash posts qt gifs. Oh can we get back the like button? 
ugh, change of plans, no longer recoding lewd, angel pissed me off again...
no longer recoding lewd but am working on potentially migrating to another forum software!
it'll be slightly confusing for people and missing some functionality but it'll work better than current lewd + have more features out of the box
w0000
PINGAS
yea
No change of plans
I'm not in your discord to piss you off tho...my post was innocent
all good though o.ob
Clickbait wroteugh, change of plans, no longer recoding lewd, angel pissed me off again...
no longer recoding lewd but am working on potentially migrating to another forum software!
it'll be slightly confusing for people and missing some functionality but it'll work better than current lewd + have more features out of the box
eeeeh~? Where is this quote from!
Nonetheless, I kinda think that that forum style may well suit us a bit better that having everything segregated, but it would lose a bit of its uniqueness.
Yeah I like that
malmon wroteClickbait wroteugh, change of plans, no longer recoding lewd, angel pissed me off again...
no longer recoding lewd but am working on potentially migrating to another forum software!
it'll be slightly confusing for people and missing some functionality but it'll work better than current lewd + have more features out of the box
eeeeh~? Where is this quote from!
Nonetheless, I kinda think that that forum style may well suit us a bit better that having everything segregated, but it would lose a bit of its uniqueness.
It does look nice, yeah! I'm personally pretty excited for this new software. Any chance you could bring back the "Love" button on our posts, too? That was like, one of the best features of 1.0. Tied with sparkly names. ^~^
Backlash wrotemalmon wroteClickbait wroteugh, change of plans, no longer recoding lewd, angel pissed me off again...
no longer recoding lewd but am working on potentially migrating to another forum software!
it'll be slightly confusing for people and missing some functionality but it'll work better than current lewd + have more features out of the box
eeeeh~? Where is this quote from!
Nonetheless, I kinda think that that forum style may well suit us a bit better that having everything segregated, but it would lose a bit of its uniqueness.
It does look nice, yeah! I'm personally pretty excited for this new software. Any chance you could bring back the "Love" button on our posts, too? That was like, one of the best features of 1.0. Tied with sparkly names. ^~^
Be careful you might drive QTbait away with asking for things~

