Reply
Need Someone To Fix PHPMYDIRECTORY problem
Old 03-03-2008, 05:50 PM Need Someone To Fix PHPMYDIRECTORY problem
cdunde1's Avatar
Skilled Talker

iTrader Rating: 2 (View)
Posts: 64
The phpmydirectory script installed with no errors but when I try and navigate to the directory I get this error

Fatal error: require() [function.require]: Failed opening required '/directory/defaults_setup.php' (include_path='.;C:\php5\pear') in d:\websites\bestoffloridaonlinecom\directory\defau lts.php on line 82

Here is the contents of the defaults.php file

<?php
/* ************************************************** *******************
*
* This script is owned and copyrighted by phpMyDirectory.com. Your
* license confers no title or ownership in the Software and is
* not a sale of any rights to the Software.
*
************************************************** *********************/
/* License key - Is obtained from the user license area */
$license='PMDGL-777b979db18d';
/* Installation Directory Name */
$install_folder_name = 'directory';
/* Administrator area folder name. Default: cp */
$ADMIN_DIRECTORY = 'cp';
/************************************************** *****************
* Root Path (absolute path to script) - NO TRAILING SLASH
* This is the full server path to the phpMyDirectory install directory.
* Example: /home/username/public_html/phpmydirectory
************************************************** *****************/
// AUTOMATIC Documents path setting. DO NOT CHANGE unless errors experienced.
// If errors are recevied use manual setting below.
$PMDROOT = $_SERVER['DOCUMENT_ROOT'] . '/' . "$install_folder_name";
// MANUAL Path Setting
// Comment out the $PMDROOT line above. Then un-comment our the line below.
// $PMDROOT = "/home/username/public_html/$install_folder_name";
/************************************************** *****************
* URL Path - NO TRAILING SLASH
* This is the full URL web path to phpMyDirectory
* Example: http://www.domain.com
************************************************** *****************/
$BASE_URL='http://www.bestoffloridaonline.com';
/************************************************** *****************
* Database Settings
************************************************** ******************/
$DB['HOST'] = '69.80.208.10';
$DB['USER'] = 'bestoffloridaonl';
$DB['PASS'] = 'steelers';
$DB['NAME'] = 'bestoffloridaonl';
/* Table names - only change if you know what you are doing */
$DB['TABLE_PREFIX'] = 'pmd';
$db_users = 'pmd_users';
$db_listings = 'pmd_listings';
$db_offers = 'pmd_offers';
$db_images = 'pmd_images';
$db_documents = 'pmd_documents';
$db_rating = 'pmd_rating';
$db_banners = 'pmd_banners';
$db_banner_types = 'pmd_banner_types';
$db_reviews = 'pmd_reviews';
$db_category = 'pmd_category';
$db_locations = 'pmd_locations';
$db_listcat = 'pmd_listing2category';
$db_plugins = 'pmd_plugins';
$db_admin = 'pmd_admin';
$db_log = 'pmd_log';
$db_config_main = 'pmd_config_main';
$db_config_memberships = 'pmd_config_memberships';
$db_config_variable_options = 'pmd_config_variable_options';
$db_email_templates = 'pmd_email_templates';
$db_admin_permissions = 'pmd_admin_permissions';
$db_invoices = 'pmd_invoices';
$db_modules = 'pmd_modules';
$db_module_code = 'pmd_module_code';
$db_banned = 'pmd_banned';
$db_fields = 'pmd_fields';
$db_processors = 'pmd_processors';
$db_cron = 'pmd_cron';
$db_sessions = 'pmd_sessions';
$db_cron_log = 'pmd_cron_log';
require ($PMDROOT . '/defaults_setup.php');
?>

I will pay $20.00 to the person who can fix this problem
I can be reached on aim at killerswatcats
cdunde1 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 03-10-2008, 12:24 PM Re: Need Someone To Fix PHPMYDIRECTORY problem
VirtuosiMedia's Avatar
Webmaster Talker

iTrader Rating: 0 (View)
Posts: 738
I would remove that code immediately from your post. It has all of your security information on it including access to your database and your license number.

As for your error, it looks like you might have a space where you shouldn't: 'defau lts.php'. Try opening up defaults_setup.php and looking for a line that looks like (or is similar to):

include(defaults.php)

If it has a space in the file name, delete the space.
VirtuosiMedia is offline
Reply With Quote
View Public Profile Visit VirtuosiMedia's homepage!
 
Reply     « Reply to Need Someone To Fix PHPMYDIRECTORY problem
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11992 seconds with 12 queries