Jump to content
  • 0

Help me with install Flux CP


ReSp

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   0
  • Joined:  10/23/15
  • Last Seen:  

Hello.

I copy files from this: https://github.com/HerculesWS/FluxCP to my host, then correct application.php and servers.php

Application i correct only: 'InstallerPassword' - ********

In servers.php i correct: 

'Hostname'   => '127.0.0.1',
'Username'   => 'username of my server in sql',
'Password'   => 'password of my server in sql',
'Database'   => 'base of my server in sql
 
Then i get this problem when i open in browser http://17*.**.**.**/
ErrorAn error occurred while trying to process your request.
Please try contacting an administrator: admin@localhost
',
 
What i do wrong? Or maybe i forgot do anything?

I change in servers php and application php 127.0.0.1 to localhost but nothing......problem not solved.....

Edited by Emistry
codebox
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  74
  • Reputation:   3
  • Joined:  07/12/14
  • Last Seen:  

Catchable fatal error: Object of class Flux_Config could not be converted to string in /var/www/lib/Flux.php on line 482

 

482 line: return is_dir(FLUX_THEME_DIR."/$themeName");

 
What should i do whith this?

Critical Error

An error was encountered during the lifetime of the application.

This could be due to a variety of problems, such as a bug in the application.

However, normally it is caused by misconfiguration.

Exception Details

Error: Flux_Error

Message: Critical MySQL error in Installer/Updater: Table 'cp_banlog' already exists

File: /var/www/lib/Flux/Installer/Schema.php:133

File Line Function/Method /var/www/lib/Flux/Installer/Schema.php 157 Flux_Installer_Schema::install() /var/www/lib/Flux/Installer/MainServer.php 46 Flux_Installer_Schema::update() /var/www/modules/install/index.php 83 Flux_Installer_MainServer::updateAll() /var/www/lib/Flux/Template.php 337 include() /var/www/lib/Flux/Dispatcher.php 168 Flux_Template::render() /var/www/index.php 170 Flux_Dispatcher::dispatch() Exception Trace As String

#0 /var/www/lib/Flux/Installer/Schema.php(157): Flux_Installer_Schema->install(497)

#1 /var/www/lib/Flux/Installer/MainServer.php(46): Flux_Installer_Schema->update()

#2 /var/www/modules/install/index.php(83): Flux_Installer_MainServer->updateAll()

#3 /var/www/lib/Flux/Template.php(337): include('/var/www/module...')

#4 /var/www/lib/Flux/Dispatcher.php(168): Flux_Template->render()

#5 /var/www/index.php(170): Flux_Dispatcher->dispatch(Array)

#6 {main}

delete the sql tables that already installed and this should solve it for you

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  74
  • Reputation:   3
  • Joined:  07/12/14
  • Last Seen:  

Hello.

I copy files from this: https://github.com/HerculesWS/FluxCP to my host, then correct application.php and servers.php

Application i correct only: 'InstallerPassword' - ********

In servers.php i correct: 

'Hostname'   => '127.0.0.1',
'Username'   => 'username of my server in sql',
'Password'   => 'password of my server in sql',
'Database'   => 'base of my server in sql
 
Then i get this problem when i open in browser http://17*.**.**.**/
 
Error

An error occurred while trying to process your request.

Please try contacting an administrator: admin@localhost

',
 
What i do wrong? Or maybe i forgot do anything?

I change in servers php and application php 127.0.0.1 to localhost but nothing......problem not solved.....

open config/error.php

 

change $showExceptions = false; to true

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   0
  • Joined:  10/23/15
  • Last Seen:  

Look in logs, share folder data for user and then get it:

 

Not Found

The requested URL /localhost/ was not found on this server.

Apache/2.2.22 (Debian) Server at 17*.**.**.** Port **

 

It is try to open url http://17*.**.**.**/localhost/?module=install

Edited by ReSp
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  74
  • Reputation:   3
  • Joined:  07/12/14
  • Last Seen:  

 

your config/application.php

 

should look like this

	'ServerAddress'        => 'YOURDOMAIN.OR.IP',              // This value is the hostname:port under which Flux runs. (e.g., example.com or example.com:80)
	'BaseURI'              => '/flux',                       // here your flux cp folder, if its the main page should be left empty
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   0
  • Joined:  10/23/15
  • Last Seen:  

Catchable fatal error: Object of class Flux_Config could not be converted to string in /var/www/lib/Flux.php on line 482

 

482 line: return is_dir(FLUX_THEME_DIR."/$themeName");

 
What should i do whith this?

Critical Error
An error was encountered during the lifetime of the application.
This could be due to a variety of problems, such as a bug in the application.
However, normally it is caused by misconfiguration.
Exception Details
Error: Flux_Error
Message: Critical MySQL error in Installer/Updater: Table 'cp_banlog' already exists
File: /var/www/lib/Flux/Installer/Schema.php:133
File Line Function/Method /var/www/lib/Flux/Installer/Schema.php 157 Flux_Installer_Schema::install() /var/www/lib/Flux/Installer/MainServer.php 46 Flux_Installer_Schema::update() /var/www/modules/install/index.php 83 Flux_Installer_MainServer::updateAll() /var/www/lib/Flux/Template.php 337 include() /var/www/lib/Flux/Dispatcher.php 168 Flux_Template::render() /var/www/index.php 170 Flux_Dispatcher::dispatch() Exception Trace As String
#0 /var/www/lib/Flux/Installer/Schema.php(157): Flux_Installer_Schema->install(497)
#1 /var/www/lib/Flux/Installer/MainServer.php(46): Flux_Installer_Schema->update()
#2 /var/www/modules/install/index.php(83): Flux_Installer_MainServer->updateAll()
#3 /var/www/lib/Flux/Template.php(337): include('/var/www/module...')
#4 /var/www/lib/Flux/Dispatcher.php(168): Flux_Template->render()
#5 /var/www/index.php(170): Flux_Dispatcher->dispatch(Array)
#6 {main}
Edited by Emistry
codebox
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   1
  • Joined:  01/17/16
  • Last Seen:  

 
ErrorAn error occurred while trying to process your request.
Please try contacting an administrator: admin@localhost
',
 
What i do wrong? Or maybe i forgot do anything?

I change in servers php and application php 127.0.0.1 to localhost but nothing......problem not solved.....

 

If he tell this Your config.php is inccorrect a user or your database is typed wrong try to take a look

 

Look at Your Database and try to delete your CP_ tables and reinstall

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   0
  • Joined:  10/23/15
  • Last Seen:  

thank you

Link to comment
Share on other sites

×
×
  • Create New...