Hi everyone,

I'm currently setting up a boinc projet and I think I founded 2 bugs.

1)
In "html/user/pm.php" the function pm_form() is used. It is supposed to be 
defined in "html/inc/pm.inc" but it seems that since a recent release, the 
function has been renamed to pm_create_new() (but the calls where not changed 
in pm.php).
To solve this issue, as I didn't if there were other calls to this function in 
the code, I just added the following function in html/inc/pm.inc" :
function pm_form($error = null) {
        pm_create_new($error);
        exit(); 
}

The problem seems to be solved thanks to this trick.

2)      
On the main page of the website (and  everywhere else I think) the user profile 
pictures are included with a link like: URL_BASE/user_profile/images/pic.jpg
This kind of links are not working. To understand why you should first check 
the default httpd.conf :
     
   ## Settings for BOINC project alpha0

    Alias /alpha0 /home/boincadm/projects/alpha0/html/user
    Alias /alpha0_ops /home/boincadm/projects/alpha0/html/ops
    ScriptAlias /alpha0_cgi /home/boincadm/projects/alpha0/cgi-bin

    # Note: projects/*/keys/ should NOT be readable!

    <Directory "/home/boincadm/projects/alpha0/html">
        Options Indexes FollowSymlinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>

    <Directory "/home/boincadm/projects/alpha0/cgi-bin">
        Options ExecCGI
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>

And second recall that the directory hierarchy is the following:
        html/
                user/
                user_pofile/
                cache/
                inc/
                ...

The problem is thus that "user_profile/" is not in "user/" but directly in 
"html/". To fix the problem easily I just did: 
        cd html/user
        ln -s ../user_profile user_profile

It seems that this solution did the trick



I'm new to boinc_dev so if this is not the right way to report bugs, please 
excuse me and explain me how to do it properly.
And by the way here are the informations about the revision I have:
URL: http://boinc.berkeley.edu/svn/branches/server_stable
Repository Root: http://boinc.berkeley.edu/svn
Repository UUID: 677681c0-c3c0-48b4-bd46-92119ef6d97a
Revision: 22608
Node Kind: directory
Schedule: normal
Last Changed Author: davea
Last Changed Rev: 22328
Last Changed Date: 2010-09-09 01:16:13 +0200 (Thu, 09 Sep 2010)

Best Regards,
And thanks a lot for your work!

Arnaud Schoofs





_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to