Jump to content

Recommended Posts

Posted

Hey gang!

 

I installed a script on one of the sites I do work for and I need to change one of the config php files to show the full path to my script installation.

 

The guy who wrote the script said it should look something like this:

"/home/yourname/public_html/observatory"

 

would my path be:

"/home/indiemanagers/public_html/observatory"?

 

Basically I have to change this part of the config file:

>#-----------------------------------------------------------------------
# PATH SETTINGS
#-----------------------------------------------------------------------
# Jamroom will try to auto-detect the path that it's scripts are running
# in, but on some servers this may not work 100% of the time.  Leave
# this at the default unless Jamroom tells you to change it.  Default is
# "detect" - any other value and Jamroom will attempt to use it as the
# ABSOLUTE path to the jamroom scripts.  Note that this must be the
# absolute path - i.e. /full/path/to/jamroom (note no trailing slash)
$config['jamroom_path'] = 'detect';

# if the $config['jamroom_path'] setting has been set to something OTHER
# then detect you must enter the URL for Jamroom here as well so Jamroom
# knows how to resolve relative URLS within its scripts.  Leave this at
# the default "detect" unless you have modifed the value above this one.
# if you do need to put an entry in, put it in like so:
# http://path/to/jamroom - note there is no trailing slash "/".
$config['jamroom_url'] = 'detect';

#-----------------------------------------------------------------------

 

Thanks for the help.

Posted
would my path be:

"/home/indiemanagers/public_html/observatory"?

Yes, if it is in a folder called observatory in the public_html folder and your domain folder is indiemanagers.

Posted

yessir, it is in a folder called 'observatory'...

 

will try that and see if I can get this baby working!

 

Thanks Bruce!

Posted

Arghhh it didn't work!

 

>#-----------------------------------------------------------------------
# PATH SETTINGS
#-----------------------------------------------------------------------
# Jamroom will try to auto-detect the path that it's scripts are running
# in, but on some servers this may not work 100% of the time. Leave
# this at the default unless Jamroom tells you to change it. Default is
# "detect" - any other value and Jamroom will attempt to use it as the
# ABSOLUTE path to the jamroom scripts. Note that this must be the
# absolute path - i.e. /full/path/to/jamroom (note no trailing slash)
$config['jamroom_path'] = '/home/indiemanagers/public_html/observatory';

# if the $config['jamroom_path'] setting has been set to something OTHER
# then detect you must enter the URL for Jamroom here as well so Jamroom
# knows how to resolve relative URLS within its scripts. Leave this at
# the default "detect" unless you have modifed the value above this one.
# if you do need to put an entry in, put it in like so:
# http://path/to/jamroom - note there is no trailing slash "/".
$config['jamroom_url'] = 'http://www.indiemanagers.com/observatory';

 

Got this error:

ERROR! Jamroom is unable to determine the path to its scripts - verify the entries in config/settings.cfg.php.

 

Could it be anything else?

 

The observatory folder is in the public_html folder.

Posted

OK Rick will give that a shot

Posted

instead of

># http://path/to/jamroom - note there is no trailing slash "/".
$config['jamroom_url'] = 'http://www.indiemanagers.com/observatory';

 

did you try

 

># http://path/to/jamroom - note there is no trailing slash "/".
$config['jamroom_url'] = '/home/cpanelname/public_html/observatory';

Posted

just gonna try that Don! Thanks for reading the post!

 

:)

Posted

Hmmm that is strange.. I am still getting a template error.

 

This thing is really tough!

 

Thanks guys.

Posted

Ok I see I did not read close enough,

there are two places for the path.

first the home path

then the url

 

does this work (with your own cpanel name) in the first path.

 

 

>#-----------------------------------------------------------------------
# PATH SETTINGS
#-----------------------------------------------------------------------
# Jamroom will try to auto-detect the path that it's scripts are running
# in, but on some servers this may not work 100% of the time. Leave
# this at the default unless Jamroom tells you to change it. Default is
# "detect" - any other value and Jamroom will attempt to use it as the
# ABSOLUTE path to the jamroom scripts. Note that this must be the
# absolute path - i.e. /full/path/to/jamroom (note no trailing slash)
$config['jamroom_path'] = '/home/YOUR_CPANEL_NAME/public_html/observatory';

# if the $config['jamroom_path'] setting has been set to something OTHER
# then detect you must enter the URL for Jamroom here as well so Jamroom
# knows how to resolve relative URLS within its scripts. Leave this at
# the default "detect" unless you have modifed the value above this one.
# if you do need to put an entry in, put it in like so:
# http://path/to/jamroom - note there is no trailing slash "/".
$config['jamroom_url'] = 'http://www.indiemanagers.com/observatory';

 

and did you try it first with the detect left in?

Posted

Heya Don!

 

Yes I tried and tried and tired with detect in there and it didn't work. The person who wrote the script told me to put in the full path and try that.

 

Looks like we got it working now.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   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.

×
×
  • Create New...