SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jun 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP Errors when running script

    I have a script I need to run. When I try to run it I get:


    Warning: Missing argument 1 for vb_datamanager_forum() in /includes/class_dm_forum.php on line 109

    Fatal error: Registry object is not an object in /includes/class_dm.php on line 177

    The file im trying to run is convert.php

    I have attached convert.php, and the vbulletin file which describes the function in detail. I'm appreciative of any and all help.

    Files
    Attached Files Attached Files

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    16,433
    Mentioned
    160 Post(s)
    Tagged
    1 Thread(s)

    db obj

    Hi cavema, welcome to the forums,
    the zip hasn't been approved yet, but
    Constructor - checks that the registry object has been passed correctly.
    vB_DataManager_Forum vB_DataManager_Forum (vB_Registry &$registry, [integer $errtype = ERRTYPE_STANDARD])
    vB_Registry &$registry: Instance of the vBulletin data registry object - expected to have the database object as one of its $this->db member.
    The database is working OK otherwise?

  3. #3
    SitePoint Member
    Join Date
    Jun 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think i solved the problem


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •