“It's such a miracle if you get the lines halfway right.”
Robert Lowell

author: Nicole J. LeBoeuf

actually writing blog

i seem to have a web page again
Sat 2019-03-30 13:50:16 (in context)

This just in: I am successfully drawing info from the database again.

I finally, finally, after three honking months, sat down to reteach myself PHP/MySQL code via the w3schools.com tutorial. Apparently a huge portion of the code I used to create all my websites got deprecated in 2012. Apparently the version of PHP to which my ISP updated itself to in December stopped supporting that deprecated code. Which meant everything went BOOM and also "Access Denied."

So, OK. First thing I do is, I create myself a Hello World page and I set about connecting to the database using the 2019-approved code extension. I can't connect. I get "Access Denied" on my fresh new code too. Wut.

So OK. I go back into my cpanel and just, I dunno, change the database user's gods-damned database password. Cpanel tells me, "Make the password stronger! Let me generate one for you!" I say OK. Fine. Password generated. Password strength approved. Password changed.

And damn if suddenly I don't get a working web page again.

I mean, OK, some things are still not working. You might notice the attracting "SELECT command denied to user blah blah table 'manuscripts' blah blah" at the top of the page. BUT I DON'T CARE IT'S PROGRESS.

So. BRB, digging into the code to find out why that particular database call is failing. Because I can blog now, but I'd also like to be able to update my submissions database, and that's hard to do is table 'manuscripts' is inaccessible.

This has been your incomprehensible and boring technological update on the state of the actual writing blog. Stay tuned for hopefully making all those error messages go away.

email