Page 1 of 3
1 2 3 LastLast
Results 1 to 10 of 24

Thread: CMS Hack install help

  1. Join Date
    Jan 2005
    Posts
    11

    CMS Hack install help

    First let me apologize for my ignorance :P

    I'm having a bit of trouble installing this script. i haven't even been able to run it fully yet:

    Warning: main(classes/mysql.php): failed to open stream: Permission denied in /home/black-or/public_html/e107/CMS_Forum_Hack/cms_forum_hack.php on line 76

    Fatal error: main(): Failed opening required 'classes/mysql.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/black-or/public_html/e107/CMS_Forum_Hack/cms_forum_hack.php on line 76

    I would appreciate any insight yall might have. I chmod'ed all the files I thought needed access.

    Any ideas?

    Thanks!

  2. Join Date
    Aug 2004
    Posts
    781

    CMS Hack install help

    You did upload the entire CMS_Forum_Hack folder didn't you?

  3. Join Date
    Jan 2005
    Posts
    11

    CMS Hack install help

    As far as i'm aware, yes I did. I extracted all the contents, set chmod and tried to run the install.php. That correct?

    I haven't seen any kind of installation prompt.

  4. Join Date
    Aug 2004
    Posts
    781

    CMS Hack install help

    Can you confirm that CMS_Forum_Hack/classes/mysql.php is on your server (the other files it complains about as well)?

  5. Join Date
    Jan 2005
    Posts
    11

    CMS Hack install help

    Here is my classes directory:

    / public_html / e107 / CMS_Forum_Hack / classes / (Current Folder)

    cms-e107-0.616.php 22 k 600
    cms-phpnuke-7.3.php 16 k 600
    file_access.php 3 k 600
    forum-ibf-1.3.php 17 k 600
    mysql.php 1 k 600

  6. Join Date
    Aug 2004
    Posts
    781

    CMS Hack install help

    CHMOD everything in your classes folder to 0644.

  7. Join Date
    Jan 2005
    Posts
    11

    CMS Hack install help

    Looks like the same error:
    Warning: main(classes/mysql.php): failed to open stream: Permission denied in /home/black-or/public_html/e107/CMS_Forum_Hack/cms_forum_hack.php on line 76

    Fatal error: main(): Failed opening required 'classes/mysql.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/black-or/public_html/e107/CMS_Forum_Hack/cms_forum_hack.php on line 76
    Classes folder: 700

    cms-e107-0.616.php 22 k 644
    cms-phpnuke-7.3.php 16 k 644
    file_access.php 3 k 644
    forum-ibf-1.3.php 17 k 644
    mysql.php 1 k 644

    CMS_Forum_Hack folder: 755

    classes 700
    GPL.txt 15 k 600
    README.txt 5 k 600
    cms_forum_hack.php 30 k 777
    install.php 2 k 777
    install_uninstall_files.zip 2 k 600
    uninstall.php 4 k 777

    I don't have the faintest idea :huh:

  8. Join Date
    Jan 2005
    Posts
    11

    CMS Hack install help

    I guess it's this line from cms_forum_hack.php

    require_once($CMS_FORUMS_HACK['hack']['abs_path'] . "classes/mysql.php");

    I also tried running the uninstall.php but i get the same error.

  9. Join Date
    Aug 2004
    Posts
    781

    CMS Hack install help

    Try opening up cms_forum_hack.php and setting the script's absolute path manually. Do not forget the trailing slash.

  10. Join Date
    Jan 2005
    Posts
    11

    CMS Hack install help

    Hmmm, again pardon my ignorance

    Code:
    // Absolute Path to this hack
    // Visit the included abs.php in a browser for help determining this value.
    $CMS_FORUMS_HACK['hack']['abs_path'] = "";
    
    // Absolute Path to your CMS script
    $CMS_FORUMS_HACK['cms']['abs_path'] = "";
    
    // Absolute Path to your Forums script
    $CMS_FORUMS_HACK['forum']['abs_path'] = "";
    
    
    // URL to this hack
    // With trailing slash
    $CMS_FORUMS_HACK['hack']['hack_url'] = "";
    
    // URL to your cms
    // With trailing slash
    $CMS_FORUMS_HACK['cms']['cms_url'] = "";
    
    // URL to your forums
    // With trailing slash
    $CMS_FORUMS_HACK['forum']['forum_url'] = "";
    
    
    $CMS_FORUMS_HACK['forum']['user'] = "";
    $CMS_FORUMS_HACK['forum']['pass'] = "";
    $CMS_FORUMS_HACK['forum']['name'] = "";
    $CMS_FORUMS_HACK['forum']['host'] = "";
    $CMS_FORUMS_HACK['forum']['prefix'] = "";
    
    // Forum type
    $CMS_FORUMS_HACK['forum']['type'] = "ibf-1.3";
    
    
    $CMS_FORUMS_HACK['cms']['user'] = "";
    $CMS_FORUMS_HACK['cms']['pass'] = "";
    $CMS_FORUMS_HACK['cms']['name'] = "";
    $CMS_FORUMS_HACK['cms']['host'] = "";
    $CMS_FORUMS_HACK['cms']['prefix'] = "";
    
    // CMS type
    $CMS_FORUMS_HACK['cms']['type'] = "phpnuke-7.3";
    
    // Modifications already installed
    // Leave this set to false. The script will change it when mods have been installed.
    $CMS_FORUMS_HACK['hack']['config_installed'] = false;
    I need to manually put in the path to what? Everything? Or just to the "CMS Script" and "Forum Script". Also, what scripts are both of those refering too?
    Sorry, I'm pretty new at this.

Posting Permissions

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