ReSp Posted January 16, 2016 Posted January 16, 2016 (edited) 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 January 16, 2016 by Emistry codebox
0 AsuraBro Posted January 19, 2016 Posted January 19, 2016 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 DetailsError: Flux_Error Message: Critical MySQL error in Installer/Updater: Table 'cp_banlog' already exists File: /var/www/lib/Flux/Installer/Schema.php:133File 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 1
0 AsuraBro Posted January 16, 2016 Posted January 16, 2016 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..... open config/error.php change $showExceptions = false; to true
0 ReSp Posted January 16, 2016 Author Posted January 16, 2016 (edited) 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 January 16, 2016 by ReSp
0 AsuraBro Posted January 16, 2016 Posted January 16, 2016 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
0 ReSp Posted January 18, 2016 Author Posted January 18, 2016 (edited) 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 January 19, 2016 by Emistry codebox
0 Miranagou Posted January 20, 2016 Posted January 20, 2016 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 1
Question
ReSp
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:
I change in servers php and application php 127.0.0.1 to localhost but nothing......problem not solved.....
Edited by Emistrycodebox
7 answers to this question
Recommended Posts