Topic on Project:Support desk

173.92.120.228 (talkcontribs)

Okay, so I decided to upgrade from 1.28.2 to 1.29 and now I'm regretting it. I made a full backup of the site earlier in the day so I didn't feel the need to do another before Installatron started. I used it to upgrade and right before finishing it popped up telling me it couldn't log on the database. All of my settings got changed. I changed them back and it seems to be working. But now I'm having problems. When I log out and log in I'm given errors (like it inserts "localhost" between the site name and index.php in the url or upon logging in the page won't refresh) and then when you edit the page doesn't reload but rather stays on the ?action=submit page. When trying to create a new account the site displays several more errors, despite having created the account. As for the backup I didn't do a "home backup" and "database backup", rather I did a "full backup" so now I don't know how to fix anything!

173.92.120.228 (talkcontribs)

Special:Random no longer works as well.

Bttfvgo (talkcontribs)

This is my post, I just couldn't log in on the desktop so I posted anonymously. My login's saved on my phone so I'm able to post under my actual name now. Ugh. Haven't had this many problems in years!

MarkAHershberger (talkcontribs)

What errors are you seeing? Are you sure that the LocalSettings.php is the same?

Bttfvgo (talkcontribs)

Right now the only errors that I see are blank pages. For instance, Special:Random stays on that page and is blank, when you log out and log in the page freezes on a blank page with a header which reads "Log in" (&returnto= and &returntoquery= do not work - they don't redirect - but when you go to a page you are logged in), when you edit a page and submit it hangs on a blank page (action=submit doesn't redirect - but apparently the edit is saved).

I've updated all of my extensions. Creating an account now seems to work with no errors. Uploading a file will upload a file, but the page doesn't redirect. Well, it does, but the page is blank except for the header which reads "Upload file". I haven't really noticed anything else...

Bttfvgo (talkcontribs)

Also, running the update.php script yields "Undefined variable" errors on Extensions Babel, Universal Language Selector and Translate. - I've gotten the ones in Babel to stop by adding the $wmg variables it alludes to (versus $wg).

MarkAHershberger (talkcontribs)

What errors are you seeing in the log file?

Bttfvgo (talkcontribs)

Hi sir! Which log file? The three in the logs directory only contain a jumbled mass of all page requests and my ftp uploads. I didn't see anything that looked useful... I checked a file named "error_log" but it only had about a thousand lines, all reading the same thing [07-Dec-2017 22:30:01 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0 but the same message goes back to October, so I don't think that could be it. I don't want to have reinstall if I don't have to. LocalSettings is unchanged. I enabled "display_errors" but it isn't showing anything. Am I overlooking something? Thank you for taking the time to help!

Bttfvgo (talkcontribs)

My server logs only say the same thing: <code>PHP:  syntax error, unexpected '$' in /home/trumpipedia/public_html/php.ini on line 12</code> but that can't be it.

星耀晨曦 (talkcontribs)

php.ini contains $ ?

Bttfvgo (talkcontribs)

It comes from a few lines that start with "$mail" - it's code I had found when I was trying to get my mail server to install.

Bttfvgo (talkcontribs)

I messed up because I did a full site backup but before I used installatron I didn't do its backup (like I usually do). It seemed like everything was working great but then it popped up with an error message which read "<code>Upgrading: Error: mysql database connection failed: host = http://www.trumpipedia.com database = [ username = > true, password = **HIDDEN** errstr = Could not connect to 'http://www.trumpipedia.com' using the username '> true,' and password **HIDDEN** (mysql) -- Unknown MySQL server host 'http' (1)</code>" I clicked edit and changed everything although it took about three times to get the information to stick. I got an email saying the install failed. I went to try it again and it wouldn't let me do it because it said I was running the current version.

And then it started acting up... Also, during my create user test, clicking on the confirm email link brings me to nothing on the desktop (a blank page - "about:blank") and a "Safari cannot open the page because it is a local file." error on mobile. User account creation has completely stopped (ever since the upgrade). when I was getting a fairy decent daily influx of users.

Bttfvgo (talkcontribs)

Sir I know you are busy so I won't bug you. I had everything so messed up it about got deleted. Luckily I was able to restore the working 1.28.2 version from the full backup I had done earlier that day. I accidentally removed my install from installatron so I guess it's like a standalone copy now. That's okay. I think if I go through the upgrade guide and upgrade the site myself, I think I'll have much better luck doing it that way. And seeing it's no longer on installatron, I guess I'll just have to do all of the upgrading myself (which I would rather do if it would save me all the hassle!) I've even had several new user signups since the site went back online so hopefully that's a good sign that everything's up and running. Thanks again sir!

Bttfvgo (talkcontribs)

One more thing - I did notice when I finally got the old site running and was able to run the update script (the new version gave me a plethora of problems as far as running maintenance scripts) was that it said my php needed an upgrade (it's 5.4 and I needed at least 5.5). I can get my hosting company to up it to 7.1 in the morning, but it makes me wonder if that could have been the problem all along. The funny thing is I was going to upgrade my php first but seeing I couldn't do it without contacting my hosting company I chose to upgrade the site first. I think that was my biggest mistake. I'll try upgrading by hand tomorrow and if that doesn't work I'll let you know! Thanks again!