Re: [campsite-support] Fatal error: Call to undefined function camp_session_set() in /admin-files/lo
  • Please insert the following line in login.php, at line 6:
    require_once($_SERVER['DOCUMENT_ROOT']."/$ADMIN_DIR/lib_campsite.php");

    Mugur

    On Fri, Jun 13, 2008 at 6:11 AM, wrote:

    > Author: lhan@ideaglobal.com
    > Link: http://code.campware.org/phorum/read.php?8,6439,6439#msg-6439
    >
    > --------------------------------------------------------------------------------
    >
    > when I tried to log in the admin interface, I got this error:
    >
    > Fatal error: Call to undefined function camp_session_set() in
    > /home/ideamart/public_html/admin-files/login.php on line 9
    >
    > thanks
    >
    > Han
    >
    > --
    > Sent from Campware Forums
    > http://code.campware.org/phorum
    >
  • 2 Comments sorted by
  • hi,

    The error is not appearing but the page is blank. Please help,

    Thanks

    Han
    䐼噉猠祴敬∽潦瑮›〱瑰愠楲污㸢਍ⴭⴭ‭牏杩湩污䴠獥慳敧ⴠⴭⴭ਍਍䐼噉匠奔䕌∽慢正牧畯摮⌺㑅㑅㑅※潦瑮挭汯牯戺慬正㸢਍䈼䘾潲㩭⼼㹂㰠⁁牨晥∽慭汩潴洺杵牵爮獵杀慭汩挮浯•䥔䱔㵅洢杵牵爮獵杀慭汩挮浯㸢畍畧⁲畒㱳䄯ാ㰊䐯噉ാ㰊䥄㹖਍䈼吾㩯⼼㹂㰠⁁牨晥∽慭汩潴挺浡獰瑩ⵥ畳灰牯䁴慣灭慷敲漮杲•䥔䱔㵅挢浡獰瑩ⵥ畳灰牯䁴慣灭慷敲漮杲㸢慣灭楳整猭灵潰瑲捀浡睰牡⹥牯㱧䄯ാ㰊䐯噉ാ㰊䥄㹖਍䈼匾湥㩴⼼㹂䘠楲慤ⱹ䨠湵⁥〲‬〲㠰㔠〺‵䵁⼼䥄㹖䐼噉ാ㰊㹂畓橢捥㩴⼼㹂删㩥嬠慣灭楳整猭灵潰瑲⁝䍛浡獰瑩⁥畓灰牯嵴䘠瑡污攠牲牯›慃汬琠湵敤楦敮⁤畦据楴湯挠浡彰敳獳潩彮敳⡴
湩⼠摡業⵮楦敬⽳潬楧⹮桰⁰湯氠湩⁥㰹䐯噉㰾䐯噉ാ㰊䥄㹖䈼㹒⼼䥄㹖਍Please insert the following line in login.php, at line 6:
    require_once($_SERVER['DOCUMENT_ROOT']."/$ADMIN_DIR/lib_campsite.php");

    Mugur


    On Fri, Jun 13, 2008 at 6:11 AM, wrote:

    Author: lhan@ideaglobal.com
    Link: http://code.campware.org/phorum/read.php?8,6439,6439#msg-6439
    --------------------------------------------------------------------------------

    when I tried to log in the admin interface, I got this error:

    Fatal error: Call to undefined function camp_session_set() in /home/ideamart/public_html/admin-files/login.php on line 9

    thanks

    Han

    --
    Sent from Campware Forums
    http://code.campware.org/phorum
  • Please edit the php.ini file, search for error_reporting, set it to E_ALL:
    error_reporting = E_ALL

    Restart apache, load the login page again and send me the error message.

    Mugur

    2008/6/20 Liew Keong Han :

    > hi,
    >
    > The error is not appearing but the page is blank. Please help,
    >
    > Thanks
    >
    > Han
    >
    > 䐼噉猠祴敬∽潦瑮›〱瑰愠楲污㸢਍ⴭⴭ‭牏杩湩污䴠獥慳敧ⴠⴭⴭ਍਍䐼噉匠奔䕌∽慢正牧畯摮⌺㑅㑅㑅※潦瑮挭汯牯戺慬正㸢਍䈼䘾潲㩭⼼㹂㰠⁁牨晥∽慭汩潴洺杵牵爮獵杀慭汩挮浯•䥔䱔㵅洢杵牵爮獵杀慭汩挮浯㸢畍畧⁲畒㱳䄯ാ㰊䐯噉ാ㰊䥄㹖਍䈼吾㩯⼼㹂㰠⁁牨晥∽慭汩潴挺浡獰瑩ⵥ畳灰牯䁴慣灭慷敲漮杲•䥔䱔㵅挢浡獰瑩ⵥ畳灰牯䁴慣灭慷敲漮杲㸢慣灭楳整猭灵潰瑲捀浡睰牡⹥牯㱧䄯ാ㰊䐯噉ാ㰊䥄㹖਍䈼匾湥㩴⼼㹂䘠楲慤ⱹ䨠湵⁥〲‬〲㠰㔠〺‵䵁⼼䥄㹖䐼噉ാ㰊㹂畓橢捥㩴⼼㹂删㩥嬠慣灭楳整猭灵潰瑲⁝䍛浡獰瑩⁥畓灰牯嵴䘠瑡污攠牲牯›慃汬琠湵敤楦敮⁤畦据楴湯挠浡彰敳獳潩彮敳⡴
湩⼠摡業⵮楦敬⽳潬楧⹮桰⁰湯氠湩⁥㰹䐯噉㰾䐯噉ാ㰊䥄㹖䈼㹒⼼䥄㹖਍Please
    > insert the following line in login.php, at line 6:
    >
    > require_once($_SERVER['DOCUMENT_ROOT']."/$ADMIN_DIR/lib_campsite.php");
    >
    > Mugur
    >
    > On Fri, Jun 13, 2008 at 6:11 AM, wrote:
    >
    >> Author: lhan@ideaglobal.com
    >> Link: http://code.campware.org/phorum/read.php?8,6439,6439#msg-6439
    >>
    >> --------------------------------------------------------------------------------
    >>
    >> when I tried to log in the admin interface, I got this error:
    >>
    >> Fatal error: Call to undefined function camp_session_set() in
    >> /home/ideamart/public_html/admin-files/login.php on line 9
    >>
    >> thanks
    >>
    >> Han
    >>
    >> --
    >> Sent from Campware Forums
    >> http://code.campware.org/phorum
    >>
    >
    >