Problems with GD and Image Verification.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sidewindr
    Member
    • Sep 2002
    • 73
    • 4.2.X

    Problems with GD and Image Verification.

    I have looked but I cannot find anything concrete in the way of help here. I know for image verification I need GD installed .. which it is ... see below

    Code:
    [jasonf@whisky 542 0 ~]$ gdlib-config --all
    GD library  2.0.11
    includedir: /usr/local/include
    cflags:     -I/usr/local/include
    ldflags:     -L/usr/openwin/lib -L/usr/local/lib -R/usr/local/lib
    libs:       -lXpm -lX11 -lpng -lz -lm
    libdir:     /usr/local/lib
    However the detected GD version in the AdminCP says N/A and the webserver error log contains the following

    Code:
    PHP Fatal error:  Call to undefined function:  imagecreate
    truecolor() in /usr/local/apache2/wwwroot/ls1/forum/includes/class_image.php on
    line 1284
    Am I missing something here? Help please!!
  • Marco van Herwaarden
    Senior Member
    • Nov 2004
    • 6999
    • 3.8.x

    #2
    To use GD, you need to have 2 things:
    - GD Installed and configured on your server
    - GD Activated in the PHP configuration
    Want to take your board beyond the standard vBulletin features?
    Visit the official Member to Member support site for vBulletin Modifications: www.vbulletin.org

    Comment

    • Sidewindr
      Member
      • Sep 2002
      • 73
      • 4.2.X

      #3
      I think I may have it sussed out, doing a complete upgrade of apache/php/gd etc tonight .. with any luck I will find the gd config within the php.ini during this process

      Comment

      • Sidewindr
        Member
        • Sep 2002
        • 73
        • 4.2.X

        #4
        Ok still having the problem after the re-install of php and mysql..

        vbulletin is detecting GD now and says

        Detected GD Version
        2.0 or higher

        In the Image settings of vBulletin Options.

        But the Image verification and the sample images in the Image Settings and User Registration settings do not display still.

        Comment

        • Sidewindr
          Member
          • Sep 2002
          • 73
          • 4.2.X

          #5
          Problem solved with the help of vbulletin support! Thanks guys you helped alot under tricky circumstances

          Problem was a CR at the bottom of the config.php file .. d'oh!!

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...