Menu

#1 config file is blank

v1.0_(example)
open
nobody
5
2009-02-12
2009-02-12
PQuery
No

After unpacking the config file is blank, also the instructions on step 5. talk about editing connect.php

"5. edit connect.php"

Discussion

  • Cândido

    Cândido - 2009-02-12

    The config file is filled when install occurs. I think the instructions are not correct. I could install this software ignoring the 5º and 6º steps. But after the install I get an error that I explain in other post.

     
  • PQuery

    PQuery - 2009-02-12

    Step 5 in the README should read:
    chmod 777 config.php

    my next problem I ran into was how the config file was made staring with line 47
    the quotes were getting left off of the variables

    /** Maximum width of thumbnail */
    define("_mlsThumbWidth",[thumbwidth]); <--
    /** Maximum height of thumbnail */
    define("_mlsThumbHeight",[thumbheight]); <--
    /** Maximum width of big image */
    define("_mlsImageWidth",[bigwidth]);<--
    /** Maximum height big image */
    define("_mlsImageHeight",[bigheight]); <--
    /** Number of vertical images in thumbnail-view */
    define("_mlsImagesVert",[imgvert]);<--
    /** Number of horizontal images in thumbnail-view */
    define("_mlsImagesHoriz",[imghoriz]);<--
    /** What picture to show in print-view (thumb, big or orig) */
    define("_mlsImagesPrintSize","[imgprintsize]");
    /** Number of horizontal images in print-preview (image selector) */
    define("_mlsImagesPrintPreview",[imgprintpreview]); <--
    /** Max allowed landscape images per line in print-page */
    define("_mlsImagesPrintLandscape",[imgprintlandscape]);
    /** Max allowed portrait images per line in print-page */
    define("_mlsImagesPrintPortrait",[imgprintportrait]); <--
    /** JPEG-Quality of thumbnail images (number between 0 and 95) */
    define("_mlsThumbQuality",[thumbqual]); <--
    /** JPEG-Quality of big images (number between 0 and 95) */
    define("_mlsBigQuality",[bigqual]); <--
    /** JPEG-Quality of original images (number between 0 and 95) */
    define("_mlsOrigQuality",[origqual]); <--

    then after I added quotes to all of these I had to go back and add the veriables for some of the directories and I still haven't gotten this up and running yet.

    But I thought I'd at least help debug

     

Log in to post a comment.