Author Topic: Stuck on step 3 [solved]  (Read 9536 times)

0xFFFF

  • Newbie
  • *
  • Posts: 6
    • View Profile
Stuck on step 3 [solved]
« on: October 18, 2011, 02:29:50 AM »
Hi All,

Please excuse me if my problem has already been answered somewhere in the forums....
I searched and googled for this but couldn't find the answer.

I'm attempting to install feng office 1.7.5 on Ubuntu server 11.04.
The installation procedure goes well until I get to the third step "Complete the installation". Once I've entered the relevant data I click the submit button but I'm returned the the same page. Any ideas?

Installation procedures I've used thus far: (All involve a restart just before going to wwwmydomaincom/pm)
Attempt 1
Code: [Select]
wget httblah/link/to/fengoffice_1.7.5/fengoffice_1.7.5.zip
unzip fengoffice_1.7.5.zip
sudo mv fengoffice /var/www/pm
sudo chown -R www-data:www-data /var/www/pm
Then I'd go to wwwmydomaincom/pm and follow the installation procedure.

Attempt 2
Same arrangement as above only I created the database and feng user before starting the installation procedure:
Code: [Select]
create database myfengdb;
CREATE USER 'myfenguser'@'localhost' IDENTIFIED BY 'myfenguserpassword';
grant all on myfengdb.* to 'myfenguser'@'localhost';
quit;

Attempt 3 & 4
Same arrangement as 1 & 2 using 2.0.0beta2

Attempt 5 - 8
Because I had nothing better to do I substituted...
Code: [Select]
sudo chown -R www-data:www-data /var/www/pmfor...
Code: [Select]
sudo chmod 777 -r /var/www/pm

Fault finding process:
Tried setting DEBUG to true in /var/www/pm/config/config.php
Checked logs in /var/log/apache2

Apache: Apache/2.2.17 (Ubuntu)
PHP: PHP Version 5.3.5-1ubuntu7.2
MySQL: 5.1.54-1ubuntu4 (Ubuntu)

I'm sure the answer is going to smack me in the face but I'm not getting anywhere.

Regards,

0xFFFF
« Last Edit: November 17, 2011, 06:56:08 PM by 0xFFFF »

prickly

  • Freshman
  • *
  • Posts: 23
    • View Profile
Re: Stuck on step 3
« Reply #1 on: October 20, 2011, 09:10:46 PM »
Do you have a link to the steps you are following?

I documented my installation process here if that helps: pricklytech.wordpress.com/2011/06/19/ubuntu-server-10-4-lucid-installing-feng-office-1-7-4-community-edition/

0xFFFF

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Stuck on step 3
« Reply #2 on: October 20, 2011, 11:50:02 PM »
Thanks prickly,

Actually I used the feng documentation:
  • httpwwwfengofficecom/web/wiki/doku.php/installation#system_requirements
  • httpwwwfengofficecom/web/wiki/doku.php/installation#installation
  • httpwwwfengofficecom/web/wiki/doku.php/installer

My steps were similar to your blog minus the version difference.

Regards,

0xFFFF

0xFFFF

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Stuck on step 3
« Reply #3 on: November 04, 2011, 01:37:48 AM »
Due to the lack of help provided I have been forced to move to a different solution altogether.

I'll be keeping a mirror of the server if anyone is willing to try and help resolve the issue. I'd like to think that this could at least be resolved for other potential future users.

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Stuck on step 3
« Reply #4 on: November 04, 2011, 08:20:55 AM »
Hello there, welcome to Feng Office Forums if you haven't toally left yet.

Actually Feng 1.X is really easy to install, so if you are experiencing issues my guess is there are some faulty settings somewhere in your server or alike.

Once the installation procedure has been completed, a screen will appear asking you to create the user - you do not have to do it manually - and you should be able to log in with no problem.

Keep in mind if you moved the folders around you should delete the autoloader.php file so it can be regenerated with the new paths.

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

0xFFFF

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Stuck on step 3
« Reply #5 on: November 14, 2011, 08:09:49 AM »
Hi franponce87,

I have no plans on leaving. At the very least I like to see a thread closed for the right reasons. :)

Quote
Actually Feng 1.X is really easy to install
I agree with you 100%... right up to the point where it doesn't work  :P

Quote
Once the installation procedure has been completed, a screen will appear asking you to create the user - you do not have to do it manually - and you should be able to log in with no problem.
Attempt 1 was exactly that. Plonk it on the server, go to wwwmydomaincom/pm and follow the installation procedure. The step I'm stuck on is the "Complete the installation" step where you create the user. No matter what I attempt to enter in the page will simply reset.

mmccarn

  • Freshman
  • *
  • Posts: 33
    • View Profile
Re: Stuck on step 3
« Reply #6 on: November 14, 2011, 09:30:48 AM »
Is there anything in the Feng logfile at <FENG>/cache/log.php? (search the feng wiki for 'debugging' for more info).

You say that your install fails at Step 3 - on my install, the screen labeled 'Step 3' is where I enter the credentials that allow Feng to connect to my sql server.  If I enter incorrect credentials, I get a red error box saying 'Failed to connect to database with data you provided: Access denied for user 'fo_user'@'localhost' (using password: YES)'.  Are you getting any on-screen error at this point?

I create my webapp databases differently than you did; here are the commands I use.  I don't know enough msql to know if this is functionally the same as what you did.  I also don't know if I need 'with grant option'...
Code: [Select]
create database feng;
grant all privileges on feng.* to fo_user@localhost identified by 'password' with grant option;

After installing feng, I wanted to go back and get the settings I'd used for Step 3 to post here.  In order to re-run the install script, I had to delete <FENG>/config/config.php.

After creating the database using the command shown above, I used the following settings on the 'Step 3: System Settings' screen:
Database type: MySQL
Host name: localhost
Username: fo_user
Password: password
Database name: feng
Table prefix: fo_
Database engine: InnoDB
Absolute script URL: (I didn't change this)



0xFFFF

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Stuck on step 3
« Reply #7 on: November 14, 2011, 08:22:33 PM »
Is there anything in the Feng logfile at <FENG>/cache/log.php? (search the feng wiki for 'debugging' for more info).

Hi mmccarn,

As previously stated, I have alread enabled debug. Just to clarify incase I have done something wrong:
sudo vi ./config/config.php and I change define('DEBUG', false); to define('DEBUG', true);
./cache/log.php does not exist. It is never created.

Last entry in the access log:
0.0.0.0 - - [01/xxx/0000:00:00:00 +0000] "GET /fengoffice/index.php HTTP/1.1" 200 1424 "httpwwwmywebsitedotcom/fengoffice/index.php?c=access&a=complete_installation" "Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0"

There is nothing in the error log or the mysql log. Is there another log file(s) worth looking at?

You say that your install fails at Step 3 - on my install, the screen labeled 'Step 3' is where I enter the credentials that allow Feng to connect to my sql server.  If I enter incorrect credentials, I get a red error box saying 'Failed to connect to database with data you provided: Access denied for user 'fo_user'@'localhost' (using password: YES)'.  Are you getting any on-screen error at this point?

No. I pass this step without any trouble.
I've made my way to the "Complete the installation" step where the Administrator username, email address and password are requested including the company name.

I create my webapp databases differently than you did; here are the commands I use.  I don't know enough msql to know if this is functionally the same as what you did.  I also don't know if I need 'with grant option'...
Code: [Select]
create database feng;
grant all privileges on feng.* to fo_user@localhost identified by 'password' with grant option;

After installing feng, I wanted to go back and get the settings I'd used for Step 3 to post here.  In order to re-run the install script, I had to delete <FENG>/config/config.php.

After creating the database using the command shown above, I used the following settings on the 'Step 3: System Settings' screen:
Database type: MySQL
Host name: localhost
Username: fo_user
Password: password
Database name: feng
Table prefix: fo_
Database engine: InnoDB
Absolute script URL: (I didn't change this)

I tried a fresh install using the commands you use. Still no success. I'm stuck at the same spot.

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Stuck on step 3
« Reply #8 on: November 16, 2011, 12:03:46 PM »
Great to know you haven't thrown the towel yet hehe :)
If the log.php file does not get created it means that it is not logging any error at all, so unless you see something else at the Apache log, I have no idea what could be causing this.
By the way, you do need the config/config.php file to make it work, otherwise if you delete it, it would ask you to install the application along its database again.

I would still make sure permissions are right, and not being affected from .htaccess from parent folders for instance.

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

0xFFFF

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Stuck on step 3 [Solved]
« Reply #9 on: November 16, 2011, 10:31:55 PM »
Problem solved. It was a frameset / hostname issue.

Nothing was wrong with the feng install.
I have domainA, DomainB and DomainC. DomainB and DomainC display content from DomainA in a frameset.

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Stuck on step 3 [solved]
« Reply #10 on: November 25, 2011, 03:24:54 PM »
Great to know!!

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

Vincent706

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Stuck on step 3
« Reply #11 on: March 01, 2019, 08:04:43 AM »
I guess something is wrong in the code handling that.

destroix

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Stuck on step 3 [solved]
« Reply #12 on: May 13, 2019, 02:58:53 AM »
Hello there, welcome to Feng Office Forums if you haven't toally left yet.

Actually Feng 1.X is really easy to install, so if you are experiencing issues my guess is there are some faulty settings somewhere in your server or alike.






 

anything