Pascal29 / myroundcube

Automatically exported from code.google.com/p/myroundcube
0 stars 0 forks source link

[register] Plugin does not appear on RC login screen. #516

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Token: a81786f330ff8cc485b690ad8d74c60a (Don't modify this token!)
Version: 2.7.9.1 (24-11-2012)
PHP: 5.3.3-7 squeeze15
RCMAIL: 0.8.6
Database: mysql
SERVER: Apache/2.2.16 (Debian)
----
I.  Issue Description:
Taskbar's grey bar appears, but it's empty.

Taskbar is activated, register is activated, and everything was configured 
according to
http://myroundcube.com/myroundcube-plugins/register-plugin.

One thing is ambiguous for me in this sentence:
"set the database settings such as host, port, database username, database 
password and database name where new users will be saved into"
Which database? Roundcube database or postfix database?

I don't know if it's related or not, but the following error appears in the top 
of the screen when I click on Settings in Roundcube:

Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when 
safe_mode is enabled or an open_basedir is set in 
/var/www/clients/client0/web12/web/plugins/http_request/class.http.php on line 
711 Warning: Error writing to log file 
/var/www/clients/client0/web12/web/logs/errors; Please check permissions in 
/var/www/clients/client0/web12/web/program/include/main.inc on line 1965 
Notice: Failed to load plugin file 

As I know open_basedir is set by ISPConfig, and it cannot be disabled.

postfix.admin is installed and configured.

II. Steps to reproduce the Issue:
1. I attach config.inc1.php from .../plugins/register/
2. I attach config.inc2.php from .../plugins/register/drivers/postfixadmin_db/

(xxxxx.hu in the config file is of course not the domain name I used)

Thank you in advance,

adazlord

Original issue reported on code.google.com by adazlord on 15 Apr 2013 at 10:03

Attachments:

GoogleCodeExporter commented 9 years ago
Additional information: the following code exists in the source of the webpage, 
so it's enabled, it's downloaded, but somehow not displayed.
I tried it with many versions of browsers and Windows.

var rcmail = new rcube_webmail();
rcmail.set_env({"task":"login","x_frame_options":"sameorigin","skin":"larry","ke
ep_alive":60,"action":"","comm_path":".\/?_task=login","date_format":"yy-mm-dd",
"request_token":"2b3d460d107680e130a63edc330ff96d"});
rcmail.gui_container("loginfooter","bottomline");
rcmail.add_label({"loading":"Bet\u00f6lt\u00e9s...","servererror":"Szerverhiba!"
,"requesttimedout":"A k\u00e9r\u00e9s t\u00fall\u00e9pte az 
id\u0151korl\u00e1tot","register.pluginname":"Self-Registration","register.plugi
ndescription":"This is a plugin for self-registration (IMAP 
accounts).","register.register":"Register","register.registeraccount":"Sign up 
for your own MyRoundCube Mail Account","register.domain_groups":"Domain 
Groups","register.email":"Email 
Address","register.password":"Password","register.confirm_password":"Confirm 
Password","register.sign_up":"Sign up","register.sign_up_long":"Sign up your 
IMAP Account","register.back":"Back","register.failure":"Unknown 
failure","register.invalidemail":"Email Address is 
invalid.","register.passwordshort":"Password is too short (at least %s digits 
required).","register.passwordnotmatch":"Password Confirmation does not 
match.","register.userexists":"User already exists. Choose another 
name.","register.createuserfailed":"Failed to create 
user.","register.createusersuccess":"User has been successfully 
created.","register.disallowedaccount":"Username is reserved. Choose another 
name.","register.emailmodified":"Username has been modified."});
rcmail.gui_object('loginform', 'form');
rcmail.gui_object('message', 'message');
</script>

<script type="text/javascript" 
src="plugins/plugin_manager/plugin_manager_fixes.js?s=1349924158"></script>
<script type="text/javascript" 
src="plugins/register/register.js?s=1365811336"></script>
<script type="text/javascript" 
src="plugins/jqueryui/js/jquery-ui-1.9.1.custom.min.js?s=1362237268"></script>
<script type="text/javascript" 
src="plugins/jqueryui/js/i18n/jquery.ui.datepicker-hu.js?s=1362237268"></script>
</head>
<body>

Original comment by adazlord on 15 Apr 2013 at 11:50

GoogleCodeExporter commented 9 years ago
Did you configure taskbar plugin? This is the plugin which is responsible to 
show the icon on login page.

Your question:
One thing is ambiguous for me in this sentence:
"set the database settings such as host, port, database username, database 
password and database name where new users will be saved into"
Which database? Roundcube database or postfix database?

You have to define postfix database there.

Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when 
safe_mode is enabled or an open_basedir is set in 
/var/www/clients/client0/web12/web/plugins/http_request/class.http.php on line 
711 Warning: Error writing to log file 
/var/www/clients/client0/web12/web/logs/errors; Please check permissions in 
/var/www/clients/client0/web12/web/program/include/main.inc on line 1965 
Notice: Failed to load plugin file

Which other plugins are installed?

Original comment by roland.l...@gmail.com on 16 Apr 2013 at 3:37

GoogleCodeExporter commented 9 years ago
I thought I configured taskbar plugin as well, but I didn't :( There was no 
config.inc, only dist, so thank you, now register plugin is displayed!!

But I still don't know how to make it work with Roundcube 0.8.6.
Postfixadmin (http://postfixadmin.sourceforge.net/) and RCPFA (the Roundcube 
plugin for Postfixadmin, http://nejc.skoberne.net/projects/rcpfa/) are both 
very outdated, and RCPFA patch doesn't work.

Can you please help in this?

Thank you very much

Original comment by adazlord on 16 Apr 2013 at 8:56

GoogleCodeExporter commented 9 years ago
There is a video how to install the plugin on iRedmail (Postfix):

http://myroundcube.com/myroundcube-plugins/register-plugin
http://www.youtube.com/watch?v=ozhFt5ILWr8

Original comment by roland.l...@gmail.com on 17 Apr 2013 at 3:45

GoogleCodeExporter commented 9 years ago
Thank you, but I don't have iRedmail. It doesn't work without that?

Original comment by adazlord on 17 Apr 2013 at 10:05

GoogleCodeExporter commented 9 years ago
You have Postfix and Postfixadmin. So, things should be the same, basically.

This is a bug tracker and not a support forum.

Original comment by roland.l...@gmail.com on 17 Apr 2013 at 10:14

GoogleCodeExporter commented 9 years ago
Thank you

Original comment by adazlord on 17 Apr 2013 at 12:12