Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthordom
    • CommentTimeJul 24th 2005
     # 1
    I've just set up a copy of Vanilla at http://a-story.dbwebdesign.net/forum/ and I'm getting a whole host of error messages.

    These 4 appear to be on most pages, and some pages bring others into the fray too:

    Warning: Undefined property: Scripts in /www/a-story.co.uk/www/forum/controls/Common.Controls.php on line 319
    Warning: Undefined property: StyleSheets in /www/a-story.co.uk/www/forum/controls/Common.Controls.php on line 324
    Warning: Undefined property: String in /www/a-story.co.uk/www/forum/library/Utility.Writer.class.php on line 18
    Warning: Undefined property: Strings in /www/a-story.co.uk/www/forum/controls/Common.Controls.php on line 356

    The obligatory PHP Info page can be found at http://dbwebdesign.net/info
    and yes, that does say 4.1.2. I'm guessing that's what's causing the issues, but thought it worth checking anyway. Also, if that is what's causing the issues then I guess mark would appreciate knowing what versions of PHP Vanilla chokes on.

    Anyway, suggestions to fix it (other than upgrade, I'm working on that, but my sysadmin knowledge ain't as good as it could (should?) be) would be greatly appreciated.
    •  
      CommentAuthorMark
    • CommentTimeJul 24th 2005
     # 2
    Posting to update the timestamp.
    • CommentAuthorrobm
    • CommentTimeJul 24th 2005
     # 3
    There are about 400,000 security issues and general bugs that have been fixed in the 3 minor revisions since 4.1.2. I would wager there's nothing you could do except upgrade, and even there was it would be strongly recommended to upgrade anyway.
    •  
      CommentAuthordom
    • CommentTimeJul 24th 2005 edited
     # 4
    Nah, I've tried that to no avail. `apt-get dist-upgrade` wants to remove an even more amazing 80 packages, including many things that i would deam as essential, so that's a no no as well!

    I understand that I need to upgrade, and I am working on doing so (as mentioned above) but I was hoping there was a way to get Vanilla working in the mean time.

    edit: this should be at the bottom of the comments, but the timestamp fun put it here!
    •  
      CommentAuthordom
    • CommentTimeJul 24th 2005
     # 5
    Yeah, I'm trying to tackle the upgrade thing, but `apt-get install php4` has decided it needs to remove about 35 things, including mysql-server, which has me understandably concerned. Hence I'm waiting to get hold of someone knowledgeable before doing anything rash.
    •  
      CommentAuthorMark
    • CommentTimeJul 24th 2005
     # 6
    I guess your version of php handles classes a little differently.
    I always say that upgrading is not the answer.
    I can probably fix this for the next release (hopefully late tonight or early tomorrow morning).
    •  
      CommentAuthorlech
    • CommentTimeJul 24th 2005
     # 7
    what's up with the "22 hours" thing btw?
    •  
      CommentAuthorMark
    • CommentTimeJul 24th 2005
     # 8
    Oh wierd. I didn't even notice that.
    I haven't made any changes. I'll have to do some digging.
    • CommentAuthorrobm
    • CommentTimeJul 24th 2005 edited
     # 9
    Upgrading is the answer though. What's the point in fixing for broken versions of PHP when it's silly for users of such versions not to upgrade?

    dom, can you not just apt-get -u upgrade?
    •  
      CommentAuthordom
    • CommentTimeJul 25th 2005
     # 10
    I'm guessing that you didn't manage to find a fix for this in the upgrade, given that I am now running it and still have the same issues.

    Time to find people who can help me upgrade without trashing my system!
    •  
      CommentAuthorpipasoft
    • CommentTimeAug 1st 2005
     # 11
    I'm in the same boat - PHP 4.12 and no plans to upgrade - too much running on the server. if anyone finds out a way to get this ot work on 4.12, let me know.

    Brian
    http://pipasoft.com
    http://myvogonpoetry.com
  1.  # 12
    you should be able to upgrade fairly painlessly from php 4.12 to 4.x...
    •  
      CommentAuthordom
    • CommentTimeAug 1st 2005
     # 13
    I ended up reformatting my system after everyone's response to the issue was "omgwtf, we don't know what it's doing". So, I am now the proud owner of a shiny PHP 4.3, and thus not suffering from this.

    Upgrading to a new version is generally pretty painless. At worst, a manual upgrade will only take a teeny bit of knowledge and an hour or two (plus copious backups, just in case ^^).
  2.  # 14
    If you are using 4.1.2, you need to initialize these variables in the class definitions.
    •  
      CommentAuthorMark
    • CommentTimeAug 15th 2005
     # 15
    I could have sworn that bug was fixed. I know for a fact that I changed that code.

    If anyone else is getting these errors, please say so now.
  3.  # 16
    Hey Mark,

    I just downloaded last night and had the errors so have been going through initializing them as I see the warning pop up throughout the app.
    •  
      CommentAuthorMark
    • CommentTimeAug 16th 2005 edited
     # 17
    dammit. Rather than changing the source yourself (or as well as), could you record them somewhere and then pass them my way? There is no reason why that shouldn't be in the next rev of Vanilla, but I can't duplicate, so I don't know what to fix.
    •  
      CommentAuthorKrak
    • CommentTimeSep 24th 2005
     # 18
    OMG, I cant believe I didnt see this when I searched. :( So I started another thread.
    http://lussumo.com/community/comments.php?DiscussionID=897&page=1#Item_14
    Should have looked harder I guess...

    I got the newest Vanilla, and get the same errors, also running PHP 4.1.2...
    I might be able to get my server admin to upgrade if thats what I must do but, how do I fix this? It sounds like there is a work around? Initializing something? Where/how do I do that?
    •  
      CommentAuthorKrak
    • CommentTimeSep 24th 2005
     # 19
    Got it fixed, just updated PHP, was at 4.1.2 now is 4.3.10-15...

    Problems gone....
Add your comments
    Username Password
  • Format comments as