HELP: "Undefined index: archive in..." issue

BASE-user
2007-09-21
2013-06-03
  • Notice: Undefined index: archive in /home/httpd/sites/base/base_main.php on line 77
    Notice: Undefined index: archive in /home/httpd/sites/base/base_main.php on line 83
    Notice: Undefined index: archive in /home/httpd/sites/base/base_main.php on line 114

    they are show up on the base_main.php, i believe that this give a bad effect with
    other functionality of BASE...

    Don't know what to do, please help to solve this problem..

    note:
    I use BASE-1.3.5(marie) on Trustix Secure Linux-3.0
    Apache/2.0.55 (Trustix Secure Linux/Linux)
    PHP/5.0.5 mod_python/3.1.4 Python/2.3.5 mod_perl/2.0.0 Perl/v5.8.7

     
    • Kevin Johnson
      Kevin Johnson
      2007-09-22

      Hi-

      First, your log level is set way to low in php.ini.  In the README for BASE is the setting we recommend.

      Second, most of these notice errors are fixed in the latest version of BASE.

      Thanks
      Kevin

       
    • Thanks for a response Kevin...

      My php.ini was set to use: memory_limit = 32M (from 8M)
      and, I can't find newer version of BASE from TSL-3.0 releases srpms,
      (so I use BASE-1.3.5(marie) from TSL-2.2 stable); However,
      I trying a new way with installing the BASE-1.3.8(jodie) and I get
      this following message...

      Warning: NewBASEDBConnection() [function.NewBASEDBConnection]: SAFE MODE Restriction in effect. The script whose uid is 501 is not allowed to access /home/httpd/sites/adodb/adodb.inc.php owned by uid 0 in /home/httpd/sites/base/includes/base_db.inc.php on line 565

      Warning: NewBASEDBConnection(/home/httpd/sites/adodb/adodb.inc.php) [function.NewBASEDBConnection]: failed to open stream: Success in /home/httpd/sites/base/includes/base_db.inc.php on line 565

      Warning: NewBASEDBConnection() [function.include]: Failed opening '/home/httpd/sites/adodb/adodb.inc.php' for inclusion (include_path='.:/usr/lib/php') in /home/httpd/sites/base/includes/base_db.inc.php on line 565

      Fatal error: Call to undefined function ADOLoadCode() in /home/httpd/sites/base/includes/base_db.inc.php on line 575

      there is anyone can tell what was going on? and how to solve this problem? help...
      thanks...

       
      • Kevin Johnson
        Kevin Johnson
        2007-09-24

        May I ask what TSL is?  The reason you are getting the error is that some type of protection, "SAFE MODE", is blocking access to the adodb files.

        Kevin

         
    • QUOTE: "May I ask what TSL is?"
      TSL stands for Trustix Secure Linux the OS I've used.

       
    • The problem is on the variable 'safe_mode' in the php.ini file.
      After i set it to 'Off' everything works with no problem. by the way
      is everything ok while I set it to 'Off'?

      When I try to install Image_Canvas-0.3.1, the system told me..
      "No handlers for package.xml version 2.0"
      whats happening? and how to solve this? so I can install it
      successfully?! (^^!)

      thanks
      rachmat

       
    • the problem is on the pear version that TSL-3.0 used, it's quite old.
      the solution is upgrade it to newer version.

      thanks (^^,)
      rachmat