Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: txcas on February 18th, 2014, 06:00 AM

Title: Latest commit breaks private messages
Post by: txcas on February 18th, 2014, 06:00 AM
Putting here so it can be tracked:
Unknown column 'hey_pm' in 'field list'
File: /home/creedmoo/public_html/upgrade/gz/app/Subs.php
Line: 408
Title: Re: Latest commit breaks private messages
Post by: Nao on February 18th, 2014, 07:16 AM
Looks like your database wasn't upgraded at all...

It works perfectly for wedge.org and my local install.

What is the value of your $we_shot variable in Settings.php?
Title: Re: Latest commit breaks private messages
Post by: txcas on February 18th, 2014, 02:01 PM
There is no $we_sho variable in my settings.php file.  The settings.php file does not have any of the modifications you put in originalfiles.php.  I have two Wedge sites and they are both doing this.  BTW, I just copied over scrip.js, notifications.php, and subs.php and still get the same error.
Title: Re: Latest commit breaks private messages
Post by: Nao on February 18th, 2014, 02:46 PM
Did you copy settings.php manually or change its permissions in a way that prevents wedge from updating it..?

Another reason to give me ftp access. Your host is obviously giving you a sub par experience.
Title: Re: Latest commit breaks private messages
Post by: txcas on February 18th, 2014, 03:39 PM
FTP credentials sent.  I also disabled CloudFlare just in case.  I did not copy settings.php manually and it has the default permissions the install script set.
Title: Re: Latest commit breaks private messages
Post by: txcas on February 18th, 2014, 09:48 PM
CHMOD permissions on settings.php are 644. 
Title: Re: Latest commit breaks private messages
Post by: Nao on February 18th, 2014, 11:33 PM
I've got PMs from you and Bunstonious with FTP+admin credentials, all good I think, I'll look into both of your sites tomorrow, and try to come up with a fix.

I'm a bit overwhelmed because I spent the better part of my day paying the price of my moving some member fields into the data column. (From now on, I'll think twice before I do that... :P) (But I still want to do it, because I think it's a good opportunity to show that the data column really makes sense.)
Title: Re: Latest commit breaks private messages
Post by: Bunstonious on February 19th, 2014, 08:46 AM
Quote from Nao on February 18th, 2014, 11:33 PM
I've got PMs from you and Bunstonious with FTP+admin credentials, all good I think, I'll look into both of your sites tomorrow, and try to come up with a fix.
All good mate, whenever you are ready.

Like I said in the PM, if FTP doesn't work just try the web file manager, I tested that as working today.
Title: Re: Latest commit breaks private messages
Post by: Nao on February 19th, 2014, 02:54 PM
@Bunstonious, okay... Your FTP sucks. It doesn't like my favorite client, so I had to install FileZilla (which I dislike), and then it took over a minute to connect, and even then, the LIST commands always ends up timing out. I don't know what your host is, but they're really, really bad.

Now, onto your problem...

I went to see your index.php file through your web access, and... Where the hell is the upgrader code?!
It looks like your files are all dated February 14, which is before my changes.

Did you revert your forum back to an older version, or something...? Because I'm not going to upload all files "like that", given how hard it is to handle your file system... :-/
Posted: February 19th, 2014, 02:52 PM

@txcas, yours only took a minute to check...
Your /index.php file is outdated. Just because 99% of the updated files are in /core/ (and it's the goal), doesn't mean you can skip index.php all the time... It's still the main hub for Wedge actions... :whistle:
Next, please! :P
Title: Re: Latest commit breaks private messages
Post by: txcas on February 19th, 2014, 04:05 PM
Thanks Nao.  That makes sense.  I copied over index.php and the upgrade ran just fine.
Title: Re: Latest commit breaks private messages
Post by: Bunstonious on February 19th, 2014, 10:00 PM
Moved my response to my Topic.
Title: Re: Latest commit breaks private messages
Post by: Nao on February 19th, 2014, 11:05 PM
Ah yes, I got the problems mixed up, I guess...!