New installation in local host

151 views
Skip to first unread message

Vs Parimi

unread,
Feb 4, 2016, 5:31:15 PM2/4/16
to Guide on the Side discussion
Greetings All,

I am new to guide on side. I have just downloaded it to check on my local machine to test it and recommend to our college.

My default directory is /var/www/html

i have created a database guide_on_the_side with user gots_user having access to it and the changes in the config.yml is given below

application_title: Guide on the Side
theme: GuideOnTheSide

feedback_link:
  enabled: true
  default_text: "What did you think of this tutorial?"

database:
  datasource:Mysql
  host:localhost
  login:root
  password:linux3
  database:guide_on_the_side

lucene:
  enabled: false

email:
  # smtp (recommended) or php
  transport: php
  send_from:
  send_all_feedback_to:
  log: false

When i am trying to import the file the below message displays

cspace@cspace:/var/www/html/guide_on_the_side/app$ ../lib/Cake/Console/cake Migrations.migration run all --plugin Tags
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  <title>
        Errors  </title>
  <base href="/" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=PT+Sans|Crimson+Text|Droid+Sans:regular,bold" /><link rel="stylesheet" type="text/css" href="/var/www/html/guide_on_the_side/lib/Cake/Console/js/jquery_ui/css/wireframe/jquery-ui-1.10.3.custom.min.css" /><link rel="stylesheet" type="text/css" href="/var/www/html/guide_on_the_side/lib/Cake/Console/css/default.css" /><script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script><script type="text/javascript">
if (typeof jQuery == 'undefined')
{
  document.write(unescape('%3Cscript%20type%3D%22text%2Fjavascript%22%20src%3D%22%2Fvar%2Fwww%2Fhtml%2Fguide_on_the_side%2Flib%2FCake%2FConsole%2Fjs%2Fjquery-1.7.2.min.js%22%3E%3C%2Fscript%3E'));
}
</script><link rel="stylesheet" type="text/css" href="/var/www/html/guide_on_the_side/lib/Cake/Console/css/formalize/css/formalize.css" /><script type="text/javascript" src="/var/www/html/guide_on_the_side/lib/Cake/Console/js/jquery.tools.min.js"></script><script type="text/javascript" src="/var/www/html/guide_on_the_side/lib/Cake/Console/js/jquery_ui/js/jquery-ui-1.10.3.custom.min.js"></script><script type="text/javascript" src="/var/www/html/guide_on_the_side/lib/Cake/Console/js/ui_tools_conflict_fix.js"></script><script type="text/javascript" src="/var/www/html/guide_on_the_side/lib/Cake/Console/js/common.js"></script><script type="text/javascript">
//<![CDATA[
cakephp = new Object();cakephp.webroot = "/";cakephp.jsroot = "/js/";
//]]>
</script></head>
<body>
  <div id="container">
    <div id="content">
      <div id="userinfo">
            </div>
      <div class="banner">
          <h1>
          <a href="/admin">Guide on the Side</a>          </h1>
      </div>
      <h2>An Internal Error Has Occurred.</h2>
<p class="error">
    <strong>Error: </strong>
    An Internal Error Has Occurred.</p>
     
    </div>
  </div>

    </body>
</html>cspace@cspace:/var/www/html/guide_on_the_side/app$

Can you please let me know. Where i would have gone wrong or is something missing ?

Thanks in advance

Regards,

Kiran Parimi




Mike Hagedon

unread,
Aug 8, 2016, 4:17:50 PM8/8/16
to Guide on the Side discussion
Hi Kiran,
Sorry for the very long delay! Did you ever figure out how to install GotS? If not, let this list know and we'll try to help out.

Mike

Daniel Dafoe

unread,
Jan 1, 2017, 12:16:49 PM1/1/17
to Guide on the Side discussion
I too am having difficulties with this step. Can't seem to run the Cake commands from the command line. It must be a problem with that `Datasource: Database/Mysql` line. What should the value of that property map to?

Mike Hagedon

unread,
Jan 3, 2017, 12:45:48 PM1/3/17
to Guide on the Side discussion
Hi Daniel,
I just noticed that the original post didn't have spaces after the colons in that section. The config file requires spaces after the colons. Can you double-check that in your database section?

The datasource property should be the way it is in the sample if you're using MySQL:

datasource: Database/Mysql

You can also turn up the debugging output in app/Config/core.php: 

Configure::write('debug', 2);

Let us know how it goes.

Mike

wichitastateu...@gmail.com

unread,
Jan 5, 2017, 12:38:49 PM1/5/17
to Guide on the Side discussion
Hi, Mike!

On behalf of Kiran I wish to report that we did manage to install GotS, though I don't know what was wrong with that instance. We wound up getting our IT folks to do it from scratch on another machine. Thanks for the follow-up, and best of luck to Daniel.

Samuel
Reply all
Reply to author
Forward
0 new messages