Re: Help Installing COncerto

1,078 views
Skip to first unread message

Brian Michalski

unread,
Jan 16, 2013, 12:53:04 PM1/16/13
to Concerto Group
ROOT_URL should just be "/" unless you move Concerto into a subfolder.  It references the path you type in a web browser to get to Concerto, not the file system path (which is what ROOT_DIR) is for.

Does /home/ufredy/public_html/common exist?

Thanks,
~Brian M


On Wed, Jan 16, 2013 at 9:20 AM, Fred Hernandez <fredy...@gmail.com> wrote:
More specifically How do I correct the FAILED status on the Common Directory, Image Upload and Template Upload that shows when I run http://server/install/diagnostics.php

Thanx


On Tuesday, January 15, 2013 2:35:02 PM UTC-6, Fred Hernandez wrote:
I just finished installing OCncerto on a Ubunto 12.10 Server

 Followed instructions all the way to the test using /install/diagnostics.php. results below

PHP Enviroment
PHP Version: PASS (5.4.6-1ubuntu1.1)
MySQL Support: PASS (Ok)
GD Support: PASS (2.0)
JSON Support: PASS (OK)
PATH INFO Global: PASS (/test)
Concerto Config
Config access: PASS (OK)
Common Directory: FAIL COMMON_DIR incorrectly setup, make sure it ends in a trailing '/'.
Image Upload Directory: FAIL Cannot write to IMAGE_DIR
Template Upload Directory: FAIL Cannot write to TEMPLATE_DIR
MySQL Connection test: PASS (OK)
The path info Global fails also but if i click on the /test link it shows as PASS.  Common directory, Image upload and Template upload fail.  What did I miss

Other clues. I expanded the concerto files to /home/ufredy/public_html/ folder 

When a web browser points to http://server/index.html  the browser displays the default index page
When a web browser points to http://server/test.php the web browser displays the PHP info page (the test.php file contains this line  <?php phpinfo(); ?>
When a web browser points to http://server/install/diagnostics.php  (as stated above) displays the correct page

but when the web browser points to http://server/index.php  it gets re-directed to /home/ufredy/public_html/admin/index.php/  and it states that The requested URL was not found in the server, however there is an index.php in the referenced folder.

below are the lines of how my config.inc.php file is configured

define('ROOT_DIR', '/home/ufredy/public_html/');      //server-side path where Concerto lives
define('COMMON_DIR', ROOT_DIR.'common/');             //server-side path to dir with resources for
                                                       //  multiple portions of Concerto, must end in a "/"
define('CONTENT_DIR', ROOT_DIR.'content/');      //server-side path to content images
define('IMAGE_DIR', CONTENT_DIR.'images/');      //server-side path to content images
define('TEMPLATE_DIR', CONTENT_DIR.'templates/');//server-side path to screen templates


//URLS for hyperlinks and the like
define('ROOT_URL', '/home/ufredy/public_html/');         //the root location where Concerto lives
define('SCREEN_URL', ROOT_URL.'screen/');        //location of front-end screen program
define('HARDWARE_URL', ROOT_URL.'hardware/');    //location of management for on-location machines
define('ADMIN_BASE_URL', ROOT_URL.'admin/');     //base URL on server for images, css, etc. for interface
define('ADMIN_URL', ADMIN_BASE_URL.'index.php'); 

Please any help is welcomed, 

ThanX



--
You received this message because you are subscribed to the Google Groups "Concerto Digital Signage" group.
To view this discussion on the web visit https://groups.google.com/d/msg/concerto-digital-signage/-/qmKPKrPMliYJ.

To post to this group, send email to concerto-dig...@googlegroups.com.
To unsubscribe from this group, send email to concerto-digital-s...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/concerto-digital-signage?hl=en.

Scott Kiser

unread,
Jan 18, 2013, 11:01:32 AM1/18/13
to concerto-dig...@googlegroups.com
Does the web server user have permissions to your public-HTML folder?

(sent from my mobile phone)

--Scott Kiser
Network, Telecom and Systems
Ivy Tech Community College - Northeast

On Jan 16, 2013, at 2:47 PM, Fred Hernandez <fredy...@gmail.com> wrote:

Yes the path  /home/ufredy/public_html/ exists and all of the concerto files were placed there.

in apache2 I created a virtual site and edited its config as shown below
 
<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        DocumentRoot /home/ufredy/public_html/
        <Directory / >
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /home/ufredy/public_html/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>


so my "live" default web site points to /home/ufredy/public_html/  wich is precisly the location of the concerto files.


Now here is how my config.inc.php file looks like now


//Important paths

define('ROOT_DIR', '/');      
define('COMMON_DIR', ROOT_DIR.'common/');                                                            
define('CONTENT_DIR', ROOT_DIR.'content/');     
define('IMAGE_DIR', CONTENT_DIR.'images/');    
define('TEMPLATE_DIR', CONTENT_DIR.'templates/');

//URLS for hyperlinks and the like
define('ROOT_URL', '/');                        
define('SCREEN_URL', ROOT_URL.'screen/');       
define('HARDWARE_URL', ROOT_URL.'hardware/');    
define('ADMIN_BASE_URL', ROOT_URL.'admin/');     
define('ADMIN_URL', ADMIN_BASE_URL.'index.php'); /


Now with the described configuration above is I point a web browser to the ubuntu server IP address i get the /home/ufredy/public_html/admin/index.php  page displayed wich is titled front page but there is "nothing" active exept a link "View More Live Content" that when I click on it goes to admin/index.php/wall/

When i run home/ufredy/public_html/install/diagnostics.php i still get the FAILED status shown below.

  • Common Directory: FAIL COMMON_DIR incorrectly setup, make sure it ends in a trailing '/'.
  • Image Upload Directory: FAIL Cannot write to IMAGE_DIR
  • Template Upload Directory: FAIL Cannot write to TEMPLATE_DIR

  • SO the question is am I even close to have a concerto server functional?

  • ThanX

Scott Kiser

unread,
Jan 18, 2013, 2:24:50 PM1/18/13
to concerto-dig...@googlegroups.com
So Concerto is installed in a sub folder concerto in public_html? Include the sub folder in your config thus:

define('ROOT_DIR', '/home/ufredy/public_html/concerto/');    

Also your root_url should read:

define('ROOT_URL', '/~ufredy/concerto/');         

Then browse to http://server/~ufredy/concerto and see what comes up. 

(sent from my mobile phone)

--Scott Kiser
Network, Telecom and Systems
Ivy Tech Community College - Northeast

On Jan 18, 2013, at 11:04 AM, Fred Hernandez <fredy...@gmail.com> wrote:

Yes. I used chmod 777 on all files and folders under ... /home/ufredy/public_html/concerto...  

Rahat Mahbub

unread,
Jul 21, 2013, 4:48:20 AM7/21/13
to concerto-dig...@googlegroups.com
Make sure your PHP has the permissions to write to the folder. Often it runs as a different users without the correct permissions. If you are using apache, you should check the httpd.conf file.

On Monday, January 21, 2013 1:50:51 PM UTC-8, Fred Hernandez wrote:
Done but no luck. 

So here is what is working right now.

Apache2 default site points to /home/ufredy/public_html/Concerto/



config.inc.php located at /var/www/concerto/config.inc.php 
define('ROOT_DIR', '/home/joe/public_html/

define('ROOT_URL', '/home/ufredy/public_html/

So in a web browser i type my server's IP address and it takes me to /home/ufredy/public_html/Concerto/admin/index.php and it paints the "Front page" but the only links available are Home which just repaints the Front page and another link that point to  /home/ufredy/public_html/Concerto/admin/index.php/wall.

Any and all comments are welcomed i don't want to give up on this app but where else do I need to look in?

ThanX
Reply all
Reply to author
Forward
0 new messages