Jump to content
  • 0

Issues Installing Blesta V3 Free Trial


alexistkd

Question

Recommended Posts

  • 0


Printing Stack Trace:

#0 /home/compraya/public_html/lib/model.php(256): Model::makeDSN(NULL)

#1 /home/compraya/public_html/lib/model.php(278): Model->makeConnection()

#2 /home/compraya/public_html/lib/model.php(117): Model->lazyConnect()

#3 /home/compraya/public_html/components/record/record.php(654): Model->query('SELECT `value` ...', Array)

#4 /home/compraya/public_html/components/session/session.php(233): Record->fetch()

#5 [internal function]: Session->sessionSelect('d29c131afa19c5e...')

#6 /home/compraya/public_html/components/session/session.php(170): session_start()

#7 /home/compraya/public_html/components/session/session.php(37): Session->sessionSet(1800, 'sessions', 'id', 'expire', 'value', 'blesta_sid')

#8 [internal function]: Session->__construct()

#9 [internal function]: ReflectionClass->newInstance()

#10 /home/compraya/public_html/lib/loader.php(211): call_user_func_array(Array, Array)

#11 /home/compraya/public_html/lib/loader.php(85): Loader::loadAndInitialize(Object(Main), 'component', Array)

#12 /home/compraya/public_html/lib/controller.php(117): Loader::loadComponents(Object(Main), Array)

#13 /home/compraya/public_html/app/app_controller.php(0): Controller->components()

#14 /home/compraya/public_html/plugins/cms/cms_controller.php(13): AppController->preAction()

#15 /home/compraya/public_html/plugins/cms/controllers/main.php(17): CmsController->preAction()

#16 /home/compraya/public_html/lib/dispatcher.php(102): Main->preAction()

#17 /home/compraya/public_html/index.php(21): Dispatcher::dispatch('/blesta')

#18 {main}

Link to comment
Share on other sites

  • 0

i got this from cli:

 

Attempting to verify database credentials... OK
Checking InnoDB support... OK
Installing database...
96/96 [========================================] 100%
Completed.
Configuring database...
23/23 [========================================] 100%
Completed.
Upgrading database...
4/4 [========================================] 100%
0/0 [========================================] 100%
2/2 [========================================] 100%
0/0 [========================================] 100%
2/2 [========================================] 100%
1/1 [========================================] 100%
1/1 [========================================] 100%
1/1 [========================================] 100%
1/1 [========================================] 100%
Completed.

Attempting to write config... Ensure that the file (/home/compraya/public_html/config/blesta-new.php) is writable.
Press any key to retry.
Link to comment
Share on other sites

  • 0

i got this from cli:

 

Attempting to verify database credentials... OK
Checking InnoDB support... OK
Installing database...
96/96 [========================================] 100%
Completed.
Configuring database...
23/23 [========================================] 100%
Completed.
Upgrading database...
4/4 [========================================] 100%
0/0 [========================================] 100%
2/2 [========================================] 100%
0/0 [========================================] 100%
2/2 [========================================] 100%
1/1 [========================================] 100%
1/1 [========================================] 100%
1/1 [========================================] 100%
1/1 [========================================] 100%
Completed.

Attempting to write config... Ensure that the file (/home/compraya/public_html/config/blesta-new.php) is writable.
Press any key to retry.

 

The config file could not be created. Make sure that blesta-new.php is writable by the web server. Be sure the /config/ directory is writable as well.

 

If this is a new installation, you should drop the tables it created before running the install again.

Link to comment
Share on other sites

  • 0

my info:

 

 PHP version 5.1.3 or greater is required. Your version: 5.4.17. PASS

The PDO extension is required. PASS

The pdo_mysql extension is required. PASS

The curl extension with a minimum version of 7.10.5 is required. Your version: 7.24.0 PASS

The openssl extension with a minimum version of 0.9.6 is required. Your version: 1.0.0 PASS

The ionCube Loader extension is required. PASS

The config file (/home/compraya/public_html/config/blesta-new.php) and directory (/home/compraya/public_html/config/) must be writable by the webserver (you can change these back after installation is complete). PASS
Recommended Requirements: PASS

For best results, PHP 5.2 or greater is recommended. PASS

The mcrypt extension is recommended for better performance. PASS

The gmp extension is highly recommended for better performance. PASS

The json extension is recommended for better performance. PASS

For better performance ensure that /home/compraya/public_html/cache/ is writable by the webserver. PASS

For best results a memory limit of at least 32M is recommended. Your setting: 512M PASS

For added security, 'register_globals' should be disabled. PASS

The imap extension is required to send and receive mail via SMTP and IMAP. PASS

The simplexml and libxml extensions are highly recommended as they may be required to interface with some systems. PASS

The zlib extension is highly recommend for better performance. PASS 
Link to comment
Share on other sites

  • 0

my db config blesta.php

 

Configure::set("Blesta.database_info", array(
	'driver' => "mysql",
	'host'	=> "{database_host}",
	//'port' => "8889",
	'database' => "{database_name}",
	'user' => "{database_user}",
	'pass' => "{database_password}",
	'persistent' => false,
	'charset_query' => "SET NAMES 'utf8'",
	'options' => array()
	)

that should not show my db real info? where is stored the real info

Link to comment
Share on other sites

  • 0

also i saw others websites with same issue http://www.hosting.spiderwebdesign.ca/ http://www.redcontrol.com.ar/ im concerned if this could be a bug or its our server config.

The error with those sites indicate the database credentials are incorrect.

 

 

my db config blesta.php

 

Configure::set("Blesta.database_info", array(
	'driver' => "mysql",
	'host'	=> "{database_host}",
	//'port' => "8889",
	'database' => "{database_name}",
	'user' => "{database_user}",
	'pass' => "{database_password}",
	'persistent' => false,
	'charset_query' => "SET NAMES 'utf8'",
	'options' => array()
	)

that should not show my db real info? where is stored the real info

 

Is that exactly how your database information appears in blesta.php? The tags (e.g. {database_password}) should be replaced with your database password. If your Blesta installation went so far as to create the database tables, populate data, and created the blesta.php config file, then try to edit it to set your database, host, user, and password.

Link to comment
Share on other sites

  • 0

Have had exactly the same issue when installing 3.0.0 - all permissions were checked but the installer threw an error about blesta-new.php not being writeable, however the DB had been populated and once I'd written the config file manually I was able to carry on with the initial setup screen.

 

What PHP version / Mysql version did you have?

 

It worked fine on my server in the video.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...