graitapon / concerto-platform

Automatically exported from code.google.com/p/concerto-platform
0 stars 0 forks source link

Issues with concerto-platform setup #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Need help with the concerto-platform setup/configuration on Windows XP SP3.

The setup fails when creating a superadmin user. The output shows the following 
output (the error is at the end)

your PHP version: 5.3.8 - PASSED    -
your PHP 'safe mode' is turned OFF - PASSED -
your PHP 'short open tag' is turned ON - PASSED -
Host: localhost, Port: , Login: root CONNECTED - PASSED -
MySQL database test IS CONNECTABLE - PASSED -
v2.0.5 IS UP TO DATE    -
superadmin user test    superadmin user DOESN'T EXISTS - FAILED

I can examine the MySQL data and I can see that the script has successfully 
create various tables under the database but it seems to fail to create a user.

Appreciate any pointers on what might be causing this. Does the 
concerto-platform create any log file that I can examine to understand what 
might be failing?

Thanks in advance for your help,
AStudentForLife

Original issue reported on code.google.com by apteashu...@gmail.com on 12 Jan 2012 at 6:42

GoogleCodeExporter commented 8 years ago
In case anyone is interested in resolving this issue (or running into this), 
the following information may help.

I'm running MySQL version 5.5.13 and I tried running the SQL command from 
save_superadmin.php (line 36) through the MySQL client and it fails indicating 
that there is not default value for 'first_name'. I've changed this line to the 
following and the setup moves beyond this check (and it successfully inserts 
the new user into the database):

$sql = sprintf("INSERT INTO `%s` SET `login`='%s', `md5_password`='%s', 
`firstname`='', `lastname`='', `email`='', `phone`='', `Group_id`='0', 
`last_action_time`='0', `Owner_id`='0', `Sharing_id`='0', `superadmin`='1'", 
User::get_mysql_table(),$_POST['login'],md5($_POST['pass']));

Hope this helps.

Original comment by apteashu...@gmail.com on 14 Jan 2012 at 8:02

GoogleCodeExporter commented 8 years ago
I was wondering if anyone has tried installing concert-platform on Windows? 
After resolving the super_admin issue described in my previous post, it seems 
to me that the setup aborts prematurely. The test page does not seem to perform 
all the checks, nor does it show any errors. 

PHP version at least v5.3   your PHP version: 5.3.8 - PASSED
PHP 'safe mode' must be turned OFF  your PHP 'safe mode' is turned OFF - PASSED
PHP 'short open tag' must be turned ON  your PHP 'short open tag' is turned ON 
- PASSED
MySQL connection test   Host: localhost, Port: , Login: root CONNECTED - PASSED
MySQL database connection test  MySQL database test IS CONNECTABLE - PASSED
Check for the latest Concerto Platform version  your current version: v2.0.5 IS 
UP TO DATE
superadmin user test    superadmin user EXISTS - PASSED
Rscript file path must be set.  your Rscript file path: 
C:\R\R_2_14_1\bin\RScript EXISTS - PASSED

This is different from the screen shot shown in the Installation document.

My platform details are given below:

Windows XP SP3
MySQL: 5.5.13
Apache 2.2.1
PHP 5.3.8
R 2.14.1

Any help would be appreciated.

Original comment by apteashu...@gmail.com on 14 Jan 2012 at 8:11

GoogleCodeExporter commented 8 years ago
Right now the only supported OS is Linux. Windows support should be implemented 
in the third version of Concerto shortly after its publication.

Original comment by LisPrzem...@gmail.com on 23 Jan 2012 at 1:12

GoogleCodeExporter commented 8 years ago
I too face this issue, however with Red Hat Linux 64 bit.

Original comment by m.krishn...@jouve.in on 25 Jul 2013 at 9:36