Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • pakojoom Friend
    #141269

    Hello,

    I just tried to use the quickstart installation on a local server (Wamp server). On the frontpage i have this message :

    ———————
    Notice: Undefined variable: setimagearray in C:wampwwwdomodecomicamodulesmod_jaslideshow2mod_jaslideshow2.php on line 85

    Notice: Undefined variable: orderby in C:wampwwwdomodecomicamodulesmod_jaslideshow2mod_jaslideshow2.php on line 86

    Notice: Undefined variable: sort in C:wampwwwdomodecomicamodulesmod_jaslideshow2mod_jaslideshow2.php on line 86
    ———————

    Don’t know why….
    Thank you

    pakojoom Friend
    #304956

    One solution is in the PHP.INI :

    error_reporting = E_ALL & ~E_NOTICE

    But this is not a great solution… Why can’t you test your variables before using it ?

    [PHP]if (isset($vartest)) { //…… } [/PHP]

    jsliao Friend
    #305028

    its just declarations. PHP allows you not to declare variables. It is just a simple warning as declaring them is good programming practice but not necessary.

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  jsliao 15 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum