• Previous message: [greg-dev] [gregarius-dev] Gregarius 0.5.4 : all I get is a blank page
  • Next message: [greg-dev] Gregarius 0.5.4 : all I get is a blank page
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    [greg-dev] [gregarius-dev] Gregarius 0.5.4 : all I get is a blank page

    Hi, 
    
    Have you tried a recently nightly? http://gregarius.net/nightlies/ 
    
    If you look at http://wiki.gregarius.net/index.php/Installation it gives
    you instructions on how to generate the dbstruct.sql file. 
    
    I would recommend going to http://yourhost.net/gregarius/install.php and
    seeing if you have all the requirements to run gregarius. It would be
    better not the use the installer as it is not ready to handle edge cases.
    Creating the dbinit.php file by copying over the sample file is better. 
    
    HTH,
    Sameer
    
    -----Original Message-----
    
    To: gregarius-dev at sinless.org
    From: Thibaut Cousin <linux at thibaut-cousin.net>
    Date: Fri, 14 Jul 2006 12:09:43 +0200
    Subject: [greg-dev] [gregarius-dev] Gregarius 0.5.4 : all I get is a blank
    	page
    Reply-To: gregarius-dev at sinless.org
    
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    
    Hello,
    
      I'm a newcomer with Gregarius. I downloaded version 0.5.4 and  
    tried to use it on the following system:
    
    - - OpenSUSE 10.1 x86_64
    - - Apache 2.0.54
    - - PHP 5.0.4
    - - SQLite 3.2.2
    
      My Apache server works fine, I already have a https-encrypted  
    webmail system (Squirrelmail) and phpLDAPadmin working on it. The  
    gregarius directory belongs to root, with reading permissions to  
    everyone.
      I added mod_rewrite to the list of modules to be loaded, and  
    greated a file gregarius.conf in /etc/apache2/conf.d containing the  
    following :
    
    <Directory "/srv/www/htdocs/gregarius">
            AllowOverride All
            Options FollowSymLinks SymLinksifOwnerMatch
    </Directory>
    
      Gregarius' documentation doesn't explain how to use a SQLite  
    database, so all I did was edit dbinit.php like this:
    
    define ('DBTYPE',"sqlite");
    define ('DBNAME','gregarius');
    define ('DBUNAME','gregarius_admin');
    define ('DBSERVER', '/var/tmp/gregarius.db');
    
      I don't know anything about sqlite, so I assumed that Gregarius  
    would guide me with the creation of the database. The file  
    gregarius.db doesn't exist, and so on.
      The documentation for MySQL mentions a dbstruct file to create the  
    structure of the database, but 1) this file is not present in the  
    archive, and 2) it has no equivalent for SQLite.
    
      After that, I opened Gregarius in my web browser, but all I get is  
    a blank page, with empty source code.
    
    - - I tried on Safari 2, Firefox 1.5 (on Mac and Linux) and Konqueror  
    3.5, so it's probably not a browser problem.
    - - I tried moving the .htaccess file out of the way, to no avail.
    - - There is no error in Apache's logs.
    - - I found mentions of options "rss.output.usemodrewrite" and  
    "rss.output.cachecontrol" but it seems the only way to tweak those  
    variables is through the admin interface, which I can't access (blank  
    page).
    
      I guess the problem could come from the fact that I didn't create  
    the database, but in this case shouldn't Gregarius at least display a  
    page with an error message ?
      Thank you for any help,
    
    - --
    Thibaut Cousin
    http://www.thibaut-cousin.net
    
    
    
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.4 (Darwin)
    
    iD8DBQFEt21tfBjEv/Ah2egRAssAAJ0f9s0AL+W5oL2vAY1432WfQWaA6wCeMNH3
    Op2yk5gHSN6qLl15zo99XNU=
    =LEez
    -----END PGP SIGNATURE-----
    _______________________________________________
    gregarius-dev mailing list
    gregarius-dev at sinless.org
    http://sinless.org/mailman/listinfo/gregarius-dev
    
    Posted by Sameer D'Costa [reply] at Fri Jul 14 16:00:30 CEST 2006