webgyrl Posted February 19, 2005 Posted February 19, 2005 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. Quote
TCH-Bruce Posted February 20, 2005 Posted February 20, 2005 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. Quote
webgyrl Posted February 20, 2005 Author Posted February 20, 2005 yessir, it is in a folder called 'observatory'... will try that and see if I can get this baby working! Thanks Bruce! Quote
webgyrl Posted February 20, 2005 Author Posted February 20, 2005 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. Quote
TCH-Rick Posted February 20, 2005 Posted February 20, 2005 The part after /home/ should be your CPanel username. indiemanagers is not your username, it is too long. Quote
TCH-Don Posted February 20, 2005 Posted February 20, 2005 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'; Quote
webgyrl Posted February 20, 2005 Author Posted February 20, 2005 just gonna try that Don! Thanks for reading the post! Quote
webgyrl Posted February 20, 2005 Author Posted February 20, 2005 Hmmm that is strange.. I am still getting a template error. This thing is really tough! Thanks guys. Quote
TCH-Don Posted February 20, 2005 Posted February 20, 2005 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? Quote
webgyrl Posted February 20, 2005 Author Posted February 20, 2005 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.