There will be a blog entry tomorrow which shows what you can currently
do with NoseRub. I did about 25 screenshots and will write a little
tutorial.
Before installing the new version, make sure to backup your
database.php and noserub.php! Also make sure to call the system update
URL. There is a new constant neccessary in noserub.php. I forgot to
update it in the branch and in the archive... But here is the
description:
/**
* E-Mail address, that is put into the From: header,
* when sending out emails.
*
* @name: NOSERUB_EMAIL_FROM
*/
define('NOSERUB_EMAIL_FROM', 'info@...');
This email address is currently used when sending out the registration
email. If you have problems receiving this mail, just go to your
database and remove the value in the "hash"-field for the user. After
that, you're able to log in.
Thanks,
Dirk
I tried to setup the latest release, but when running the system/
update, I always encounter an Missing controller error:
---
You are seeing this error because controller NoserubController could
not be found.
Notice: If you want to customize this error message, create app/views/
errors/missing_controller.ctp
Fatal: Create the class below in file: app/controllers/
noserub_controller.php
<?php
class NoserubController extends AppController {
var $name = 'Noserub';
}
?>
---
Just for the case I am asked to creat that file app/controllers/
noserub_controller.php, i tried that, than I encountered this message:
Parse error: parse error, unexpected T_STRING, expecting
T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/web12/html/app/
app_model.php on line 20
Now I am a little lost..
Any ideas?
Oliver
What exactly did you enter in NOSERUB_DOMAIN? And what did you put
into the document root of your webserver?
You should have a document root for instance at /var/www/htdocs and
then install NoseRub into there, so that there is a new directory /var/
www/htdocs/noserub/
After that, you should be able to call http://myserver.com/ and
http://myserver.com/noserub.
And this is a new description for the constant NOSERUB_DOMAIN:
/**
* Domain name, under which the noserub-server can be accessed
* Example: http://<NOSERUB_DOMAIN>/
* NOSERUB_DOMAIN should _not_ contain "http://" and also no
subdirectory
* like "myserver.com/noserub". The NOSERUB_DOMAIN defines the look
* of the NoseRub-ID. If you have "myserver.com" as NOSERUB_DOMAIN
* and "john.doe" as username, the NoseRub-ID is
"john...@myserver.com".
* Under http://myserver.com/noserub/john.doe will be the profile page
of
* that user.
* @name NOSERUB_DOMAIN
*/
define('NOSERUB_DOMAIN', '');
I hope that helps. You should not need to create any other file
manually (like noserub_controller.php).
Thanks,
Dirk