Forum

empty configuration...
 
Notifications
Clear all

empty configuration page

8 Posts
2 Users
0 Reactions
14.2 K Views
(@guest)
Posts: 120
Active Member
Topic starter
 
[#159]

I installed project'or ria on my apache server (with last mysql and php5), the configuration page shows only :

"Configuration
This screen will help you configure Project'Or RIA at first run."

No buttons, no links, nothing. So i tried to install it on easyPhp on one other computer, same problem.
After that, always on my easyPhp server, i created a database "projector" with the user "projector" as the owner with all rights and I modified parameters.php :

" $paramDbUser='projector';
$paramDbPassword='projector';
$paramDbName='projector'; "

(same problem with root user and root passwd)

I don't know what to do now anyone can help me please ?

Configuration :
XP
EasyPhp 5.3.6.0
PHP 5.3.6
MySql 5.5.10
Apache 2.2.17
Project'or ria 1.6.1
web browsers : firefox 6.0 beta ; IE8 (same problem)

web skills :
i hate php ^^


 
Posted : 09 Aug 2011 11H49
(@guest)
Posts: 120
Active Member
Topic starter
 

Same issue on me.
The configuration screen is showing for half of second and redirecting immediately to blank configuration screen with message "
Configuration

This screen will help you configure Project'Or RIA at first run. "

I tried to install parameters manually as explained in configuration section of manual but noway again. Every time the page is redirecting to the same result.

My configuration is XAMPP 1.7.4 on windows 7 Pro x64

Please could someone give a trick to solve this ???

Regards


 
Posted : 09 Aug 2011 12H56
(@guest)
Posts: 120
Active Member
Topic starter
 

Hi together!

I've the same problem. Any solutions?

Regards,
Christian


 
Posted : 09 Aug 2011 13H19
(@babynus)
Posts: 14952
Member Admin
 

Hi,
I'm investigation on this issue.
I will let you know as soon as I have a fixing.
Regards.
Babynus.


 
Posted : 09 Aug 2011 16H31
(@babynus)
Posts: 14952
Member Admin
 

Hi issue is fixed.
In fact config screen only worked on Chrome...
V1.6.2 will soon be deployed.

You can also replace /tool/config.php with :

<?php
// ==================================================================================================
// This file includes all specific parameters for ProjectOr application
// Automatic configuration at first run
// ==================================================================================================
header ('Content-Type: text/html; charset=UTF-8');
restore_error_handler();
// Database parameters (connection information)
// BE SURE THIS DATA WAY NOT BE READABLE FROM WEB (see above important notice)
$param=array();

$param['DbType'] = 'mysql';                           
$label['DbType'] = "Database type";
$value['DbType'] = "leave 'mysql' (only possible value)";
$pname['DbType'] = 'paramDbType';
$ctrls['DbType'] = '=mysql=';

$param['DbHost'] = 'localhost';                       
$label['DbHost'] = "Database host";
$value['DbHost'] = "MySql Server name (default is 'localhost')";
$pname['DbHost'] = 'paramDbHost';
$ctrls['DbHost'] = 'mandatory';

$param['DbUser'] = 'root';                            
$label['DbUser'] = "Database user to connect";
$value['DbUser'] = "MySql valid user (defaul is 'root')";
$pname['DbUser'] = 'paramDbUser';
$ctrls['DbUser'] = 'mandatory';

$param['DbPassword'] = 'mysql';                       
$label['DbPassword'] = "Database password for user";
$value['DbPassword'] = "MySql password for user (defaul is 'mysql')";
$pname['DbPassword'] = 'paramDbPassword';
$ctrls['DbPassword'] = '';

$param['DbName'] = 'projectorria';                       
$label['DbName'] = "Database schema name";  
$value['DbName'] = "MySql database instance name";  
$pname['DbName'] = 'paramDbName';
$ctrls['DbName'] = 'mandatory';

$param['DbDisplayName'] = 'My Own Project'Or RIA';         
$label['DbDisplayName'] = "Name to be displayed"; 
$value['DbDisplayName'] = "any value possible to identify connected database"; 
$pname['DbDisplayName'] = 'paramDbDisplayName';
$ctrls['DbDisplayName'] = '';

$param['DbPrefix'] = '';                              
$label['DbPrefix'] = "Database prefix for table names";
$value['DbPrefix'] = "prefix on table names, used to store several instances under same schema, may be left blank";
$pname['DbPrefix'] = 'paramDbPrefix';
$ctrls['DbPrefix'] = '';

$param['crlf01']='';
$label['crlf01']='crlf';
 
$param['MailSender'] = '';                              
$label['MailSender'] = "eMail address of sender";
$value['MailSender'] = "a valid email as sender for mailing function";
$pname['MailSender'] = 'paramMailSender';
$ctrls['MailSender'] = 'email';

$param['MailReplyTo'] = '';                              
$label['MailReplyTo'] = "eMail address to reply to";
$value['MailReplyTo'] = "a valid email to define the reply to for mailing function";
$pname['MailReplyTo'] = 'paramMailReplyTo';
$ctrls['MailReplyTo'] = 'email';

$param['AdminMail'] = '';                              
$label['AdminMail'] = "eMail of administrator";
$value['AdminMail'] = "a valid email of the administratror (will appear on error messages)";
$pname['AdminMail'] = 'paramAdminMail';
$ctrls['AdminMail'] = 'email';

$param['MailSmtpServer'] = 'localhost';                              
$label['MailSmtpServer'] = "SMTP Server";
$value['MailSmtpServer'] = "address of SMTP (mail) server, may be left blank (default is 'localhost')";
$pname['MailSmtpServer'] = 'paramMailSmtpServer';
$ctrls['MailSmtpServer'] = '';

$param['MailSmtpPort'] = '25';                              
$label['MailSmtpPort'] = "SMTP Port";
$value['MailSmtpPort'] = "port to talk to SMTP (mail) server (default is '25')";
$pname['MailSmtpPort'] = 'paramMailSmtpPort';
$ctrls['MailSmtpPort'] = '';

$param['MailSendmailPath'] = '';                              
$label['MailSendmailPath'] = "Sendmail program path";
$value['MailSendmailPath'] = "to set only on issue to send mails, or not using default sendmail";
$pname['MailSendmailPath'] = 'paramMailSendmailPath';
$ctrls['MailSendmailPath'] = '';

$param['crlf02']='';
$label['crlf02']='crlf';

$param['MailTitle'] = '[Project'Or RIA] ${item} #${id} moved to status ${status}';                              
$label['MailTitle'] = "Automatic mail title";
$value['MailTitle'] = 'title of automatic mails, may content ${item}, ${id}, ${status}, ${name}';
$pname['MailTitle'] = 'paramMailTitle';
$ctrls['MailTitle'] = '';

$param['MailMessage'] = 'The status of ${item} #${id} [${name}] has changed to ${status}';                              
$label['MailMessage'] = "Automatic mail message";
$value['MailMessage'] = 'message of automatic mails, may content ${item}, ${id}, ${status}, ${name}';
// ${id} : the id of the element
// ${item} : the class of the element
// ${status} : the new status of the element
// ${name} : the name of the element
$pname['MailMessage'] = 'paramMailMessage';
$ctrls['MailMessage'] = '';

$param['MailShowDetail'] = 'true"';                              
$label['MailShowDetail'] = "Automatic mail show detail";
$value['MailShowDetail'] = "'true' or 'false', set to true to add detail of item in automatic mail message";
$pname['MailShowDetail'] = 'paramMailShowDetail';
$ctrls['MailShowDetail'] = '=false=true=';

$param['crlf03']='';
$label['crlf03']='crlf';

$param['DefaultPassword'] = 'projector';                              
$label['DefaultPassword'] = "Default password for initialization";
$value['DefaultPassword'] = "any string possible as default password";
$pname['DefaultPassword'] = 'paramDefaultPassword';
$ctrls['DefaultPassword'] = 'mandatory';

$param['PasswordMinLength'] = '5';                              
$label['PasswordMinLength'] = "Min length for password";
$value['PasswordMinLength'] = "any integer, to force a long password (keep is reasonable)";
$pname['PasswordMinLength'] = 'paramPasswordMinLength';
$ctrls['PasswordMinLength'] = 'integer';

$param['lockPassword'] = 'false';                              
$label['lockPassword'] = "Disable password change functionality";
$value['lockPassword'] = "'true' or 'false', if set to true, only admin can reset password)";
$pname['lockPassword'] = 'lockPassword';
$ctrls['lockPassword'] = '=false=true=';

$param['crlf04']='';
$label['crlf04']='crlf';

// === i18n (internationalization)
$param['DefaultLocale'] = 'en';                              
$label['DefaultLocale'] = "Default locale to be used on i18n";
$value['DefaultLocale'] = "default language, 'en' for English, 'fr' for French, 'de' for German (more locales to come next)";
$pname['DefaultLocale'] = 'paramDefaultLocale';
$ctrls['DefaultLocale'] = '=en=fr=de=';

$param['DefaultTimezone'] = 'Europe/Paris';                              
$label['DefaultTimezone'] = "Default time zone";
$value['DefaultTimezone'] = "default time zone, list can be found at  http://us3.php.net/manual/en/timezones.php ";
$pname['DefaultTimezone'] = 'paramDefaultTimezone';
$ctrls['DefaultTimezone'] = '';

$param['Currency'] = '€';                              
$label['Currency'] = "Currency";
$value['Currency'] = "currency displayed for costs";
$pname['Currency'] = 'currency';
$ctrls['Currency'] = '';
$param['CurrencyPosition'] = 'after';                              
$label['CurrencyPosition'] = "Currency position";
$value['CurrencyPosition'] = "position of currency displayed for costs";
$pname['CurrencyPosition'] = 'currencyPosition';
$ctrls['CurrencyPosition'] = '=after=before=none=';

$param['crlf05']='';
$label['crlf05']='crlf';

// === display
$paramFadeLoadingMode='false';
$param['FadeLoadingMode'] = 'true';                              
$label['FadeLoadingMode'] = "Use fading mode for frames refresh";
$value['FadeLoadingMode'] = "'true' or 'false', if set to 'true' screens will appear in a fading motion";
$pname['FadeLoadingMode'] = 'paramFadeLoadingMode';
$ctrls['FadeLoadingMode'] = '=true=false=';

$param['RowPerPage'] = '50';                              
$label['RowPerPage'] = "Number of row per page on main Grid view";
$value['RowPerPage'] = "any integer to define number on rows rendering at a time (see Dojo ...)";
$pname['RowPerPage'] = 'paramRowPerPage';
$ctrls['RowPerPage'] = 'integer';

$param['IconSize'] = '22';                              
$label['IconSize'] = "Icon size on menu tree";
$value['IconSize'] = "'16' for small icons, '22' for medium icons, '32' for big icons";
$pname['IconSize'] = 'paramIconSize';
$ctrls['IconSize'] = '=16=22=32=';

$param['DefaultTheme'] = 'blue';                              
$label['DefaultTheme'] = "Default color theme, proposed while login";
$value['DefaultTheme'] = "'blue', 'red', 'green', 'orange', 'grey', 'white' or 'random' for randomly selected";
$pname['DefaultTheme'] = 'defaultTheme';
$ctrls['DefaultTheme'] = '=blue=red=green=orange=grey=white=random=';

$param['crlf06']='';
$label['crlf06']='crlf';

$param['PathSeparator'] = '/';                              
$label['PathSeparator'] = "Path separator";
$value['PathSeparator'] = "depending on system, '\' for Windows, '/' for Unix";
$pname['PathSeparator'] = 'paramPathSeparator';
$ctrls['PathSeparator'] = '=/=\=';

$param['crlf07']='';
$label['crlf07']='crlf';

$param['AttachementDirectory'] = '../files/attach/';                              
$label['AttachementDirectory'] = "Directory to store Attachments";
$value['AttachementDirectory'] = "any valid directory, set to empty string to disable attachment";
$pname['AttachementDirectory'] = 'paramAttachementDirectory';
$ctrls['AttachementDirectory'] = '';

$param['AttachementMaxSize'] = 1024*1024*2;                              
$label['AttachementMaxSize'] = "Max file size for attachment";
$value['AttachementMaxSize'] = "size in bytes (1024 * 1024 * MB)";
$pname['AttachementMaxSize'] = 'paramAttachementMaxSize';
$ctrls['AttachementMaxSize'] = 'integer';

$param['crlf08']='';
$label['crlf08']='crlf';

$param['ReportTempDirectory'] = '../files/report/';                              
$label['ReportTempDirectory'] = "Temp directory for reports";
$value['ReportTempDirectory'] = "any valid directory in the web structure";
$pname['ReportTempDirectory'] = 'paramReportTempDirectory';
$ctrls['ReportTempDirectory'] = '';

$param['MemoryLimitForPDF'] = '512';                              
$label['MemoryLimitForPDF'] = "Memory limit for PDF reports";
$value['MemoryLimitForPDF'] = "any numeric value, for size in MB";
$pname['MemoryLimitForPDF'] = 'paramMemoryLimitForPDF';
$ctrls['MemoryLimitForPDF'] = '';

$param['crlf09']='';
$label['crlf09']='crlf';

$param['logFile'] = '../files/logs/projector_${date}.log';                              
$label['logFile'] = "Log file name";
$value['logFile'] = 'any valid file name, may contain '${date}' to get 1 file a day';
$pname['logFile'] = 'logFile';
$ctrls['logFile'] = '';

$param['logLevel'] = '2';                              
$label['logLevel'] = "Log level";
$value['logLevel'] = "'4' for script tracing, '3' for debug, '2' for general trace, '1' for error trace, '0' for none";
$pname['logLevel'] = 'logLevel';
$ctrls['logLevel'] = '=4=3=2=1=0=';

$paramDebugMode='false';
$param['DebugMode'] = 'false';                              
$label['DebugMode'] = "Setup Dojo debugging mode ";
$value['DebugMode'] = "'true' or 'false'";
$pname['DebugMode'] = 'paramDebugMode';
$ctrls['DebugMode'] = '=true=false=';

?>



  
  
  
  
  
  
  
  <script type="text/javascript" src="../external/dojo/dojo.js"
    djConfig='modulePaths: {i18n: "../../tool/i18n"},
              parseOnLoad: true, 
              isDebug: '>
  
   
    dojo.require("dojo.parser");
    dojo.require("dojo.i18n");
    dojo.require("dijit.Dialog"); 
    dojo.require("dijit.form.ValidationTextBox");
    dojo.require("dijit.form.TextBox");
    dojo.require("dijit.form.Button");
    dojo.require("dijit.form.Form");
    dojo.require("dijit.form.FilteringSelect");
    var fadeLoading=;
    dojo.addOnLoad(function(){
      currentLocale="";
      saveResolutionToSession();
      saveBrowserLocaleToSession();
      dijit.Tooltip.defaultPosition=["below","right"];
      //dojo.byId('login').focus();
      
      var changePassword=false;
      hideWait();
    }); 
  



  

Configuration


This screen will help you configure Project'Or RIA at first run.
loadContent("../tool/configCheck.php","configResultDiv", "configForm"); return false; $val) { if ($label[$par]=='crlf') {?>
 
<input id="param[]" name="param[]" style="width:300px" type="text" dojoType="dijit.form.TextBox" value="" />    <input id="pname[]" name="pname[]" type="hidden" value="" /> <input id="label[]" name="label[]" type="hidden" value="" /> <input id="value[]" name="value[]" type="hidden" value="" /> <input id="ctrls[]" name="ctrls[]" type="hidden" value="" />
 
a php file name where to store parameters, use non web access directory for security
 
 
 







 
Posted : 09 Aug 2011 17H29
(@guest)
Posts: 120
Active Member
Topic starter
 

Thank you for your fast answer babynus, it works for me 🙂


 
Posted : 09 Aug 2011 18H33
(@guest)
Posts: 120
Active Member
Topic starter
 

Hi babynus,

Thank you for your answer. After replacing the file it worked. 🙂

Best regards.


 
Posted : 09 Aug 2011 21H43
(@babynus)
Posts: 14952
Member Admin
 

V1.6.2 has been released, including this fix (and 2 other minor ones).

Regards.
Babynus.


 
Posted : 09 Aug 2011 22H09
Share:

Scroll to Top