Menu

install issues - URGENT help pls

Help
raj k
2008-10-08
2012-06-07
  • raj k

    raj k - 2008-10-08

    I have set up my addressbook_db (ran the sql script) - and changed config.php with the required changes (db, host, user,password).

    When I access index.php - I see the following errors on the browser - an help pls ?

    Notice: Undefined index: group in C:\raj\installations\appache\htdocs\addressbook\include\dbconnect.php on line 32

    Notice: Undefined variable: sql_from in C:\raj\installations\appache\htdocs\addressbook\include\dbconnect.php on line 94

    Notice: Undefined variable: sql_where in C:\raj\installations\appache\htdocs\addressbook\include\dbconnect.php on line 95

    Fatal error: Call to undefined function mb_strtoupper() in C:\raj\installations\appache\htdocs\addressbook\include\translation.inc.php on line 598

    Thanks much !

     
    • raj k

      raj k - 2008-10-12

      ...and oh by the way , search does not seem to work on 3.2.9
      I really am hoping to see the home page similar to the one on Demo page - with a drop down filter for groups - and options for all addresses -

      Thanks

       
      • chatelao

        chatelao - 2008-10-12

        Hi chumma,

        The print-links are fixed. But I didn't see any errors with the search-string :-(.

        a) Try & installl v3.2.10
        b) Send me an e-Mail (chatelao(at)users.sourceforge.net) with your URL, so I can see the error.

        Regards O.

         
    • chatelao

      chatelao - 2008-10-08

      The warnings and the fatal error are removed in version 3.2.5 (a patch just for you ;-).

       
    • raj k

      raj k - 2008-10-09

      Hi
      Thanks much for the quick response - I just downloaded 3.2.6 hoping that is the latest (oct 8, 08) - but still getting the following errors - shd I look for 3.2.5 ?

      Notice: Undefined variable: group_name in C:\raj\installations\appache\htdocs\addressbook\include\dbconnect.php on line 38

      Notice: Undefined variable: group_name in C:\raj\installations\appache\htdocs\addressbook\include\dbconnect.php on line 108

      Notice: Undefined variable: group_name in C:\raj\installations\appache\htdocs\addressbook\include\dbconnect.php on line 108

      Notice: Undefined variable: group_name in \appache\htdocs\addressbook\include\dbconnect.php on line 108

      Notice: Undefined variable: group_name in \appache\htdocs\addressbook\include\dbconnect.php on line 108

      Notice: Undefined variable: group_name in \appache\htdocs\addressbook\include\dbconnect.php on line 108

      Notice: Undefined variable: group_name in \appache\htdocs\addressbook\include\dbconnect.php on line 108

      Notice: Undefined variable: group_name in \appache\htdocs\addressbook\include\dbconnect.php on line 118

      Notice: Undefined variable: group_name in \appache\htdocs\addressbook\include\dbconnect.php on line 151

      Fatal error: Call to undefined function mb_strtoupper() in \appache\htdocs\addressbook\include\translation.inc.php on line 303

      Thank you :-)

       
    • chatelao

      chatelao - 2008-10-09

      Which version of PHP / MySQL do you use?
      => Check with "phpinfo()".

       
    • chatelao

      chatelao - 2008-10-09

      3.2.6 should be ok too.

       
    • raj k

      raj k - 2008-10-09

      Hi
      Am using php v5.2.6 - incomptible ?

      thanks for you replies :-)

       
    • raj k

      raj k - 2008-10-09

      oh - and mySQL - 5.0.51b-community-nt MySQL Community Edition (GPL)

      Thanks

       
      • chatelao

        chatelao - 2008-10-10

        Version 3.2.8 should fix it.

        This was a though one, but I learned a lot:

        // Multibyte "ucfirst" function
        if (function_exists('mb_strtoupper')) {
        $msg = mb_strtoupper($msg[0]).substr($msg, 1);
        } else { // Backward compatiblity
        $msg = ucfirst($msg);
        }

        Regards
        Olivier

         
    • raj k

      raj k - 2008-10-10

      v3,2,8 (the latest pkg ) has the following code in the translation.inc.php

      if (version_compare(PHP_VERSION, '4.3.0', '>=')) {
      $msg = mb_strtoupper($msg[0]).substr($msg, 1);

      } else { // Backward compatiblity
          $msg = ucfirst($msg);
      }
      */
      

      ...and it still threw the error
      atal error: Call to undefined function mb_strtoupper() in \appache\htdocs\addressbook\include\translation.inc.php on line 303

      I commented the code and inserted the check for the function as you pasted in the above code and it worked !! Thank you :-)

      Ater a bit testing , I found the following issues :-)

      1. PrintAll and print phones link does not work -
        gives the following error:

      The requested URL /addressbook/view<br /><b>Notice</b>: Use of undefined constant page_ext_qry - assumed 'page_ext_qry' in <b>\appache\htdocs\addressbook\include\nav.inc.php</b> on line <b>22</b><br />.php was not found on this server.

      1. next Birthdays link - when clicked gives this error:
        Fatal error: Call to undefined function getMailer() in \appache\htdocs\addressbook\birthdays.php on line 86

      2. Home link does the listing of the files - I think it shd point to index.

      Thanks

       
      • chatelao

        chatelao - 2008-10-10

        Maybe you're still in mood to try version 3.2.9.

        => I just forgot to commit the changes for version 3.2.9 to the subversion repository :-).

        @Chamma: Thanks a lot for your patience to test the application again and again !

         
    • raj k

      raj k - 2008-10-12

      test the latest version - 3.2.9 - got bit busy in the past day !

      unfortunately I still have issues :-(

      1.next Birthdays gives the following error:

      Fatal error: Call to undefined function getMailer() in \appache\htdocs\addressbook\birthdays.php on line 86

      1. Print All gives the following error

      Not Found

      The requested URL /addressbook/view<br /><b>Notice</b>: Use of undefined constant page_ext_qry - assumed 'page_ext_qry' in <b>\appache\htdocs\addressbook\include\nav.inc.php</b> on line <b>22</b><br />.php was not found on this server.

      3.Print Phones gives the following error:

      Not Found

      The requested URL /addressbook/view<br /><b>Notice</b>: Use of undefined constant page_ext_qry - assumed 'page_ext_qry' in <b>\appache\htdocs\addressbook\include\nav.inc.php</b> on line <b>25</b><br />.php was not found on this server.

      4.When I do the home page - I do not see the list of addresses that I entered - I was expecting to see something similar as I see on the demo home page - with features to eidts etc - which is what attracted me to this project in the first place -- lol

      PS: Do you see the same errors as I list them OR is it just my php version ?

      Thanks

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.