Here is a sample local_config.php file:
Your $ls_fn file is missing a declaration for \$$varname.
Your \$base_url variable needs to include the text %network_name% or spawning will not work.
Your \$domain_suffix variable must not start with a period.
Unable to locate network ..
Please edit local_config.php and remove the line that looks like this:
define("CURRENT_DB", "");
I can't find a database name in here: .
The $current_theme_rel_path variable (set to ) seems to be incorrect. The current setting indicates that the theme directory should be accessible at or , but it doesn't seem to be.
Check your local_config.php file.
1) { array_shift($domain_bits); } $domain_suffix = implode(".", $domain_bits); $base_url = "http://%network_name%.$domain_suffix"; for ($tries = 0; ($tries < 100) && (strpos($fn, "/web") !== FALSE); ++$tries) { if (strrpos($fn, "/web") == strlen($fn) - 4) { $uri = rtrim($uri, "/"); $base_url .= $uri; break; } $fn = dirname($fn); $uri = dirname($uri); } // format results as a local_config.php file return '<?php // database connection string $peepagg_dsn = "mysql://user:password@server/databasename"; // where to log messages and errors. note that this file must be writeable by the web server. $logger_logFile = "$path_prefix/log/pa.log"; // url of the "web" directory $base_url = "'.$base_url.'"; // the constant part of the domain (such that if we chop this off the server name, we should get the network name). $domain_suffix = "'.$domain_suffix.'"; // relative path from '.$path_prefix.' or $base_url to the current theme: $current_theme_rel_path = "Themes/Alpha"; ?>
(except with your own database details).
'; } define('TAG_TYPE_COLLECTION',1); define('TAG_TYPE_CONTENT',2); define('DEFAULT_TAG_SOUP_SIZE',1); #define('SB_UPLOAD_DIR','/home/gaurav/public_html/new_ui3/peopleagg/web/sb-files'); #define('SB_UPLOAD_URL','http://pokemon.broadbandmechanics.com/~gaurav/new_ui3/peopleagg/web/sb-files'); #define('SB_MC_LOCATION','/home/gaurav/public_html/new_ui3/peopleagg/MCdescriptions'); //define file type array $GLOBALS['file_type_info'] = array('audio'=>array('type'=>'audio', 'ext'=>'ac3|aif|aiff|asf|avi|mov|moov|mpa|mpg|mpeg|mp1|mp2|mp3|mp4|ogg|ram|wav|wma|rm', 'max_file_size'=>3000000 ), 'video'=>array('type'=>'video', 'ext'=>'aac|asf|avi|divx|m1v|m2p|m2v|mov|moov|mpg|mpeg|mpv|ogm|omf|swf|vob|wmv|mpe', 'max_file_size'=>3000000 ), 'image'=>array('type'=>'image', 'ext'=>'gif|jpg|jpeg|png|xpm|bmp', 'max_file_size'=>500000 ), 'doc'=>array('type'=>'doc', 'ext'=>'txt|doc|rtf|pdf', 'max_file_size'=>3000000 ), ); //..eof define file type array // Constants for forums define('PARENT_TYPE_CATEGORY','category'); define('PARENT_TYPE_COLLECTION','collection'); define('PARENT_TYPE_NEWS','news'); define('PARENT_TYPE_MESSAGE','message'); //.... Constants for forums // page names to be used in page setting define ('PAGE_USER_PRIVATE',1); define ('PAGE_USER_PUBLIC',2); define ('PAGE_GROUPS_HOME',3); define ('PAGE_GROUPS_CATEGORY',4); define ('PAGE_HOMEPAGE',5); define ('PAGE_PEOPLES',6); define ('PAGE_ADDGROUP',7); define ('PAGE_GROUP',8); define ('PAGE_CHOOSECONTENT',9); define ('PAGE_CREATECONTENT',10); define ('PAGE_PERMALINK',12); define ('PAGE_MANAGECONTENT',13); define ('PAGE_MEDIA_MANAGEMENT',14); define ('PAGE_MESSAGE',15); define ('PAGE_ADDMESSAGE',16); define ('PAGE_SEARCH',17); define ('PAGE_CREATESBCONTENT',18); define ('PAGE_SHOWCONTENT',22); // END OF page names to be used in page setting // END OF page names to be used in page setting define ('PAGE_MEDIA_GALLERY', 19); define ('PAGE_FORUM_MESSAGES',20); // END OF page names to be used in page setting define ('PAGE_REGISTER', 21); define ('PAGE_INVITATION', 23); define ('PAGE_EDIT_PROFILE', 24); define ('PAGE_ALL_PEOPLE', 25); define ('PAGE_GROUP_MEMBERS', 26); define ('PAGE_VIEW_ALL_MEMBERS', 27); define ('PAGE_EDIT_RELATION', 28); define ('PAGE_FORGOT_PASSWORD', 29); define ('PAGE_LOGIN', 30); define ('PAGE_GROUP_INVITE', 31); define ('PAGE_MEDIA_FULL_VIEW', 32); define ('PAGE_POSTCONTENT', 33); define ('PAGE_CREATE_NETWORK', 34); define ('PAGE_NETWORKS_HOME', 35); define ('PAGE_LINKS_MANAGEMENT', 36); define ('PAGE_NETWORKS_CATEGORY', 37); define ('PAGE_NETWORK', 38); define ('PAGE_GROUP_MEDIA_GALLERY', 39); define ('PAGE_EDIT_MEDIA', 40); define('ALPHA_USERNAME', 'paalpha'); define('ALPHA_PASSWORD', 'paalpha'); // SITE NAME $config_site_name = "PeopleAggregator"; // default sender email $default_sender = "no-reply@PeopleAggregator.com"; // Debug $debug_for_user = TRUE; // FOR MAILING SUBJECT AND MESSAGES $invite_pa_subject = "%first_name% has invited you to join %site_name%!"; $invite_pa_message_top = ""; $invite_pa_message = " Click here to register: %register_url% Or if you are already registered on %site_name%, click here to accept this invitation: %accept_url% ------------------------------------ "; $network_join_subject = "%first_name% has joined your network - %network_name% on %site_name%"; $network_join_message = "Hi \n %first_name% has joined your network - %network_name% on %site_name%. To view the profile of the user view the following link: %user_url% "; $invite_accept_pa_subject = "%first_name% has accepted your invitation to join %site_name%"; $invite_accept_pa_message = "Hi \n %first_name% has accepted your invitation to join %site_name%"; $invite_accept_group_subject = "%first_name% has accepted your invitation to join the %group_name% group."; $invite_accept_group_message = "Hi,\n\n%first_name% has accepted your invitation to join the %group_name% group."; $invite_deny_pa_subject = "%first_name% has declined your invitation to join %site_name%"; $invite_deny_pa_mesage = "Hi,\n\n%first_name% has declined your invitation to join %site_name%"; $invite_deny_group_subject = "%first_name% has declined your invitation to join the %group_name% group."; $invite_deny_group_message = "Hi,\n\n%first_name% has declined your invitation to join the %group_name% group. "; $invite_group_subject = "%first_name% has invited you to join %group_name% group"; $invite_group_message = " ------------------------------------- If you are already a registered member of %site_name%, click here to accept to accept the invitation: %accept_url% To register click: %register_url%"; $forgot_password_subject = "Hi %first_name% %last_name%, your username/password information - by %site_name%"; $forgot_password_message = "Hi %first_name%,\n\n"; $forgot_password_message .= "Your user name: %user_name% To change your password, click on the link below:"; $forgot_password_message .= "\n\n%base_url%/change_password.php?log_nam=%user_name%&uid=%user_id%&forgot_password_id=%forgot_password_id%"; define('SB_DIR_NAME','sb-files'); define('SB_UPLOAD_DIR',"$path_prefix/web/".SB_DIR_NAME); define('SB_UPLOAD_URL',"$base_url/".SB_DIR_NAME); define('SB_MC_LOCATION',"$path_prefix/MCdescriptions"); define('DESCRIPTION_LENGTH', 300); /* Invitation message for inviting someone to your group. */ $invitation_message = " I've created my own group - \"%group_title%\" - on $config_site_name and I'd like you to connect to me so we can stay in touch. You can view the group blog, forums, reviews, ratings, photos, lists - and all sorts of things that happen in this group. To join my group please click on the link given below."; $invitation_append_message = " To join this group click: %group_join_url% To see my profile visit: %group_author_url% "; define('GROUP_INVITE_APPEND_MESSAGE', $invitation_append_message); $invitation_subject = "%first_name% %last_name% has invited you to join a group on $config_site_name"; define('GROUP_INVITE_SUBJECT', $invitation_subject); $invitation_message = "I have created my own group on $config_site_name. This is a fantastic community portal. I'd like you to join this group. You can view all blogs, reviews, photos, events and all sorts of things that happen in this group. You can also post your blogs, reviews, events and much more in this group once you become a member."; define('GROUP_INVITE_MESSAGE', $invitation_message); $invite_to_pa = "Hi, I've created my own place on $config_site_name and I'd like you to connect to me so we can stay in touch. You can view my blog, my reviews, my ratings, my photos, my lists - and all sorts of things that matter to me. You can create a personal page and blog of your own, which will be linked to mine. That way you'll always know when I post something new! "; define('INVITE_TO_PA', $invite_to_pa); $invite_to_pa_network = "Hi, I've joined /%network_name%/.peopleaggregator.net network in $config_site_name and I'd like you to join this network so we can stay in touch. You can view my blog, my reviews, my ratings, my photos, my lists - and all sorts of things that matter to me. "; define('INVITE_TO_PA_NETWORK', $invite_to_pa_network); $invite_message_footer = "\n\nThanks,\n%first_name% %last_name%"; define('INVITE_MESSAGE_FOOTER', $invite_message_footer); /* This will set the maximum numbers of characters to be displayed on a line */ define('CHUNK_LENGTH', 26); define('LONGER_CHUNK_LENGTH', 60); define('TITLE_LENGTH', 38); define('GROUP_TITLE_LENGTH', 18); define('GROUP_TITLE_LENGTH_LONG', 25); define('COMMENT_LENGTH', 30); define('NAME_LENGTH', 15); /* Array for displaying messages in Community blog & My page . */ $post_type_message = array( 'all'=>array('message'=>'No content published.'), 'blog'=>array('message'=>'No Blog Post published.'), 'event'=>array('message'=>'No Event published.', 'queryString'=> 'sb_mc_type=event/generic'), 'review'=>array('message'=>'No Review published.', 'queryString'=> 'sb_mc_type=review/localservice'), 'people_showcase'=>array('message'=>'No People Showcase published.', 'queryString'=> 'sb_mc_type=showcase/person'), 'video'=>array('message'=>'No Video published.', 'queryString'=> 'sb_mc_type=media/video'), 'audio'=>array('message'=>'No Audio published.', 'queryString'=> 'sb_mc_type=media/audio'), 'image'=>array('message'=>'No Image published.', 'queryString'=> 'sb_mc_type=media/image'), 'group_showcase'=>array('message'=>'No Group Showcase published.', 'queryString'=> 'sb_mc_type=showcase/group') ); /* This array has all the fields in which we will allow the basic html tags */ $allow_html_in_fields = array( 'description'=>'description', '/event/description'=>'/event/description', '/media/description'=>'/media/description', '/review/description'=>'/review/description', '/review/subject/activities'=>'/review/subject/activities', '/review/subject/touristspots'=>'/review/subject/touristspots', '/review/subject/historiclocations'=>'/review/subject/historiclocations', '/group/description'=>'/group/description', '/group/quote'=>'/group/quote', '/group/principles'=>'/group/principles', '/showcase/description'=>'/showcase/description', '/showcase/contributions'=>'/showcase/contributions', '/showcase/quote'=>'/showcase/quote', '/showcase/wishlist"'=>'/showcase/wishlist', '/showcase/movies'=>'/showcase/movies', '/showcase/books'=>'/showcase/books', '/showcase/musicians'=>'/showcase/musicians', '/showcase/food'=>'/showcase/food', 'groupdesc'=>'groupdesc', 'comment'=>'comment', 'body'=>'body' ); $outputthis_error_message = "You haven't specified any external blogs. Log on to OutputThis.org to specify targets"; define('OUTPUTTHIS_ERROR_MESSAGE', $outputthis_error_message); // Ping Server URL $ping_server = "$base_url/Ping/ping.php"; //Constant for Ping Server to define the type of activity define('PA_ACTIVITY_USER_ADDED', 1); define('PA_ACTIVITY_CONTENT_ADDED', 2); define('PA_ACTIVITY_GROUP_ADDED', 3); define('PA_ACTIVITY_NETWORK_ADDED', 4); // variables for default relation, media //following line has been commented please add following line in your local_config.php and specify user id which should be added as friend to every body //$default_relation_id = 1; // meida type file name, title, album name $default_image_file_name = "arizona.gif"; $default_image_title = "Arizona"; $default_image_album_name = "My Image Album"; $default_audio_file_name = "sampler.mp3"; $default_audio_title = "sampler"; $default_audio_album_name = "My Audio Album"; $default_video_file_name = "marcPeepAggIntro.mov"; $default_video_title = "the Intro to PeepAgg video"; $default_video_album_name = "My Video Album"; $default_link_categories = array( 0 => array('name' => 'Fav Blogs'), 1 => array('name' => 'Great Sources'), 2 => array('name' => 'Company'), 3 => array('name' => 'Misc. fun places') ); $default_links_array = array(0 => array('title'=> 'Scripting.com','url'=> 'http://scripting.com'), 1 => array('title'=> 'Scobelizer', 'url'=> 'http://scobleizer.wordpress.com/'), 2 => array('title'=> 'Doc', 'url'=> 'http://doc.weblogs.com/'), 3 => array('title'=> 'Read/Write', 'url'=> 'http://www.readwriteweb.com/'), 4 => array('title'=> 'Napsterization', 'url'=> 'http://napsterization.org/stories/'), 5 => array('title'=> 'GigaOm (Om Malik)', 'url'=> 'http://gigaom.com/'), 6 => array('title'=> 'PaidContent.org', 'url'=> 'http://paidcontent.org/'), 7 => array('title'=> 'TechCrunch', 'url'=> 'http://techcrunch.com/'), 8 => array('title'=> 'Unmediated', 'url'=> 'http://www.unmediated.org/'), 9 => array('title'=> 'Between the Lines', 'url'=> 'http://blogs.zdnet.com/BTL/'), 10 => array('title'=> 'BroadbandMechanics', 'url'=> 'http://broadbandmechanics.com'), 11=> array('title'=> 'PeopleAggregator.com', 'url'=> 'http://PeopleAggregator.com'), 12 => array('title'=> 'PeopleAggregator.org', 'url'=> ' http://PeopleAggregator.org'), 13 => array('title'=> 'Marc`s Voice', 'url'=> 'http://marc.blogs.it'), 14 => array('title'=> 'PeepAggBlog', 'url'=> 'http://peepagg.broadbandmechanics.com/'), 15 => array('title'=> 'Busblog (Tony Pierce)', 'url'=> 'http://www.tonypierce.com/blog/bloggy.htm'), 16 => array('title'=> 'Simply Recipes', 'url'=> 'http://www.elise.com/recipes/'), 17 => array('title'=> 'Pageflakes', 'url'=> 'http://www.pageflakes.com/'), 18 => array('title'=> 'WeeWorld', 'url'=> 'http://weeworld.com/'), 19 => array('title'=> 'WebJay.org', 'url'=> 'http://webjay.org/') ); $invalid_network_address = array('ftp','mx','mail','pop','pop3','server1','server','smtp','webmail','www','default'); // for query count $query_count_on_page = 0; $query_count_array = array(); define('FANCY_URL',0);//used to turn on or off the fancy url = now it will display fancy url ?>