Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started by: madfitz on February 23rd, 2014, 11:21 PM
-
I've been seeing a few of these in my error log today:
PHP Fatal error: Call to protected method wess::string2color() from context '' in /home/.../gz/app/Class-CSS.php on line 1367
Ideas on cause/cure?
-
Are you sure you're using the latest revision..?
This was fixed a few days ago.
-
I am absolutely 100% certain I am using the latest revision as I check in several times a day and always grab the latest. However...
if you post new revs which say (for example) "6 files changed" I only overwrite those 6 files (plus index.php in the root folder). Is this right or wrong? Should I overwrite *every* wedge file?
-
Then what's the date of your core/app/Class-CSS.php file?
-
The last (installed) file is dated 19 Feb.
Edit: Sorry for the delays when answering, I check in before work, during work breaks and after work.
-
Then it's not up to date...
-
Then I ask again... if you post new revs which say (for example) "6 files changed" I only overwrite those 6 files (plus index.php in the root folder). Is this right or wrong? Should I overwrite *every* wedge file?
That was the latest "reported" update to that file. Should I replace every file with every new rev - or just the revised files?
Edit: This was the last "reported" revision that I can see you posted - dated 19/2/14: http://wedge.org/pub/feats/6108/new-revs/msg294224/#msg294224
-
I just update the revised files by looking at the commit section of here: https://github.com/Wedge/wedge and don't bother with index.php (unless updated). Of course I download a new zip each time to get the latest files.
If you had been doing this then the file in question would have been updated because (as your link shows) it is listed as being updated.
-
I do the same Farjo, and did this on 19 Feb, but just days later Nao says my file is out of date - though I haven't seen a later revision of the same file :-/
-
Ohhhh I see. Sorry mate I'm being daft ::)
-
Right, hopefully this post is more constructive :^^;:
This rev changes the file http://wedge.org/pub/feats/6108/new-revs/msg294263/#msg294263
...which you can more clearly see in this commit https://github.com/Wedge/wedge/commit/6fed32d3364530edd87d6be1cd03cf96db20bdc3
so your file should be dated 20th or later.
-
Edit: This was the last "reported" revision that I can see you posted - dated 19/2/14: http://wedge.org/pub/feats/6108/new-revs/msg294224/#msg294224
No, it isn't...
I'm assuming that testers don't want to bother with file versions and just overwrite everything every time they update.
If you want to update files one by one, you should rely on the commit list, rather than my manual changelogs, because I don't always list all files. I only list them for *my* own convenience when I want to find thematic groupings, but not as an exhaustive listing of all files you should update. For that, you can also just click the '6 files changed' link, and indeed see which files were modified.
As for the rest... See Farjo's last post!
-
I don't want to overwrite every file with every commit because my forum is on hosted web space (not my local machine) and I'm thinking about bandwidth here. I'd prefer to only update the absolute minimum required files...
For that, you can also just click the '6 files changed' link, and indeed see which files were modified.
Which is what I do (or at least what I try to do (I clearly missed that one) :huh:
-
Safest way to do that:
Install git on your machine... (Or even GitHub for Windows, if you're not planning to do a lot of heavy modifications).
Clone/fork the Wedge repo(s) onto your hard drive.
When you see changes were made, just pull again from the remote repo.
Only the changed files will get their last modified date, err... Modified. I know, I'm repeating myself.
This is how I'm (manually) updating wedge.org, by the way. :P My FTP client has a shortcut to look for modified files, and only upload those.
-
@Nao what is your FTP client?
-
CuteFTP v2.8... dating back to 1998 or so. I just never liked other clients, even the cool open source popular ones like Filezilla.
-
Oh! Thanks. Are you using an old operating system?
-
Nope, windows 7... actually, it's probably the only 16-bit program I still use! And it has its bugs too. But the ui is unbeatable to me. I know it by heart.
-
I just installed Github for Windows and setup rules in FlashFXP to upload new/changed files only. This Github thing is all new to me so this could be interesting!
-
I'm trying WinSCP which so far is syncing effectively.
-
I don't think I've ever tried this one...