Results 1 to 10 of 10

Thread: STupid HEADER file

  1. #1
    alx0423
    Guest

    Angry STupid HEADER file

    Guys-
    ok after finding a post and modifying the 'header.ic.php' i got this new errors.

    Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ']' in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/header.inc.php on line 50

    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/index.php on line 42

    Fatal error: Failed opening required 'BX_DIRECTORY_PATH_INCdesign.inc.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/kum2gether.com/httpdocs/index.php on line 42

    what's the deal with that????/
    Last edited by alx0423; 05-01-2007 at 09:21 AM. Reason: new error

  2. #2
    Kleetus
    Guest

    Default

    Why do you edit your header.inc.php and what changes have you made ???

  3. #3
    alx0423
    Guest

    Default

    I added these lines....however i'm still getting errors because i can't turn off safe mode in mu php.ini. it doesn't exsist in my /etc/....can you hook me up with a copy of yours?

  4. #4
    magy
    Guest

    Default

    HELP us, so we can help you!

    1, delete header.inc file
    2, delete database tables
    3, install dolphin again
    4, post back the error message, no modification to files - nothing!

    "I added these lines....however i'm still getting errors because " WHAT LINES? Whit this much info we can not help!

    magy

  5. #5
    alx0423
    Guest

    Default

    magy-
    the above post was for Kleetus-
    these were the lines i addes in the header.inc.php file as per one of magy's post.

    $dir_dir = 'dir';
    $site['dir_subdir'] = $dir_dir.'/';
    $site['dir_url'] = $site['url'].$site[dir_subdir'];

    Magy---
    Before that modification, i was getting all these errors.

    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/design.inc.php on line 23
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/admin.inc.php on line 23
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/match.inc.php on line 23
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/profile_disp.inc.php on line 23
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/templates/tmpl_dfl/scripts/config_design.php on line 50
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/db.inc.php on line 23
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/utils.inc.php on line 23
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/modules.inc.php on line 23
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/modules.inc.php on line 24
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/modules.inc.php on line 25
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/modules.inc.php on line 26
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/membership_levels.inc.php on line 24
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/languages.inc.php on line 23
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/languages.inc.php on line 24
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/languages.inc.php on line 25
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/prof.inc.php on line 23
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/menu.inc.php on line 23
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/profiles.inc.php on line 23
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/images.inc.php on line 23
    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/members.inc.php on line 23

    After your suggestion- i'm only getting these:

    Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ']' in /home/httpd/vhosts/kum2gether.com/httpdocs/inc/header.inc.php on line 50

    Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/kum2gether.com/httpdocs/index.php on line 42

    Fatal error: Failed opening required 'BX_DIRECTORY_PATH_INCdesign.inc.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/kum2gether.com/httpdocs/index.php on line 42

  6. #6
    magy
    Guest

    Default

    Hi,

    First off take out this:
    PHP Code:
    $dir_dir 'dir';
    $site['dir_subdir'] = $dir_dir.'/';
    $site['dir_url'] = $site['url'].$site[dir_subdir]; 
    Try this in your header.inc file:
    PHP Code:
    $dir['root']            = "/home/httpd/vhosts/kum2gether.com/httpdocs/"
    If this is not working you need to check where your root dir is...

    magy

  7. #7
    alx0423
    Guest

    Default

    that line is already in there? is it possible that these errors have to do with the php.ini file? I don't have one in my /etc/ folder and i'm on a Plesk server.

  8. #8
    magy
    Guest

    Default

    I see your site is up BUT with errors...

    Sorry, I don't know enough about Plesk servers...

    magy
    Last edited by magy; 05-03-2007 at 04:01 PM. Reason: found on google next message

  9. #9
    magy
    Guest

    Default

    I found this in other forum,
    I don't know if it is applicable to your situation, but worth a try:

    "Using plesk, you need to create vhost.conf for the domain.
    Login as root

    create file /var/www/vhosts/yourdomain/conf/vhost.conf

    Add the lines

    php_admin_flag engine on
    php_admin_value open_basedir "none"


    Then as root do this
    /usr/local/psa/admin/sbin/websrvmng -a -v

    This should solve your problem "


    magy

  10. #10
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    To find the location of your php.ini - create a phpinfo.php file in a web accessible location - and access it in your web browser:

    Code:
    <?php
    phpinfo();
    ?>
    It will tell you in the first section the location of your php.ini file in use - and any sub-php.ini files if your server has that (Plesk servers usually do).

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Damned Stupid F*****G Ray
    By webster76 in forum Negative Karma
    Replies: 4
    Last Post: 03-30-2009, 09:36 PM
  2. Can i ask stupid question Plz ?
    By dynaz in forum General Troubleshooting
    Replies: 1
    Last Post: 02-26-2009, 11:42 AM
  3. One stupid noobie question about RMS
    By mic in forum Dolphin General Discussion v6.00 and above
    Replies: 1
    Last Post: 11-28-2007, 12:58 PM
  4. header.inc.php file needed
    By outlander in forum General Issues, Comments, Questions
    Replies: 0
    Last Post: 01-01-2007, 10:42 PM
  5. Ae's stupid bug, must fix!
    By tester00 in forum Bugs and Fixes
    Replies: 0
    Last Post: 10-22-2005, 02:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •