>>> Next entry: Secret Messages
<<< Previous entry: Alone Again, Naturally


HarshawJ Posted by HarshawJ in Musings
on Thursday, November 17, 2005 01:23:16 AM
in a "annoyed" mood.
image
Bad Code

Serves me right. That will teach me. Short cuts are not worth the time saving. Never let other do for you what you should do for yourself. Re-useable code is only reuseable if will always work. A stich in time ain’t worth a dime.

So, what brought on all the platitudes? Simple, the hosting service did me a big favor and upgraded the versions of PHP and MySQL to newer and “more powerful” versions and left me with a code versioning issue. Turns out that much of the software is written for this site used a “shortcut” in the PHP language and when they upgraded the PHP version the PHP people fixed the shortcut. Oops. What does that mean? well some of the software no longer works correctly. This is a bad thing, both on Pmachines part (the people who make the software I am using to run the site) and the PHP people for closing a very useful shortcut and not telling people about it up front.

The shortcut in question is an “Assign By Reference” procedure that is used in most languages, but now not by PHP (or at least not assigning the results of a results function) and that is causing all kinds of problems. In the “Category Lister” plugin that I wrote I called the very assignment that is now illegal. I have fixed it, but there are other plugins using the same call and in a more complex way and I need to fix them as well. You will notice that the recent comments list is “Out of Order” right now.

Worse, the error logs for the site are going nuts, but the site is still working on many levels. I will have to wait for a new version of the software to solve many of these issues but for now it will have to do. You should not actually see a difference in the site operation, most of the errors are in the namagement modules. Oh well, I do it all the hard way for now.

(2) Comments • (0) TrackbacksPermalink

Comments

Posted by TxRose on
11/17/05 05:40:05 AM
Ahh. Sounds like just a minor gliche for now and something that a genius like you can think of a work around in no time flat. cheese

We are patient in the meantime...

Laters.

K

Posted by HarshawJ on
11/24/05 11:49:26 PM
I am trying... there is a lot to do, I have to re-write the plugin, and that is a lot of work.

Joe Cool - JB

Page 1 of 1 pages

Add a Comment

Name:

Email:

Location:

URL:

Smileys | Comment Codes

Remember my personal information

Notify me of follow-up comments?

Submit the word you see below:
 -
***** All comments are now moderated. Please post a comment on the content of the post, not the title to be accepted. *****

qrcode

Play EVE ONLINE
February 2012
S M T W T F S
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      

Catagories:

Recent Posts:

Recent Comments:

  • On 10/25/11 05:27:20 AM,
    Emma Wilkinson, in
    That Darn Cat
    started to comment:
    "Such a lovely cat. I would get and take care of…"

  • On 10/22/11 12:37:55 AM,
    Wedding Speech, in
    The Saga of the Watched Bagel
    started to comment:
    "Nice, after hours of staring blindly at a computer screen a…"

  • On 10/07/11 05:15:48 AM,
    Fred Cobber, in
    That Darn Cat
    started to comment:
    "Quite comical walking the cat but I have a feeling that…"

  • On 08/23/11 11:32:50 AM,
    Jane, in
    The Saga of the Watched Bagel
    started to comment:
    "Ha, your watched bagel cracked me up. nice writing!"

  • On 07/28/11 09:23:16 AM,
    micle Jhonson, in
    The Saga of the Watched Bagel
    started to comment:
    "Outstanding piece of writing particularly Watched Bagel! I presume that a…"

  • On 07/15/11 10:52:24 AM,
    craig, in
    The Saga of the Watched Bagel
    started to comment:
    "this sounds like the saga I have with my toaster every…"

  • On 06/08/11 11:30:29 AM,
    Steve Waugh, in
    A Viva Las Vegas Wedding
    started to comment:
    "This is exactly what I was looking for. It was a…"

  • On 04/24/11 08:39:13 PM,
    best romantic movies, in
    On Being Romantic
    started to comment:
    "i'm looking for some animes with a lot of romance in…"

  • On 02/04/11 11:26:42 PM,
    gast*** byp***, in
    That Darn Cat
    started to comment:
    "Aw, how sweet of you to take in the cat. And…"

  • On 01/21/11 02:47:02 AM,
    dui attorney in boston, in
    Urban Legend?
    started to comment:
    "This was on an episode of SouthPark one time. They didn't…"

Site Search:

Advanced Search

Archives:

Blogroll:

Just For Kicks Inc
Daily sneaker news and information from various shoe brands.

Strange New Products
Great Stuff to have and to own for yourself.

Art News Blog
News from the art world.

Drawn Blog
Cartooning news and views.

Worldly Inquiring Mind
Sparking interests - both in humor and fact/opinion