Config.php file not opening properly; can't get the forum to work.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joshmd
    New Member
    • Jan 2013
    • 13
    • 4.2.X

    Config.php file not opening properly; can't get the forum to work.

    I've followed the instructions on how to get set up in the vBulletin 5 Connect - Readme and Installation Guide

    When I edit the config.php file in the main upload folder (not core), This is what I see: http://i.imgur.com/0zZ6w.png

    Only the beginning of the folder is loading. The same thing happens whether I edit the file before or after I upload it. I have copied and pasted the file into a new doc, and uploaded that, and the whole file loads fine. The formatting is slightly off though, and the problem still isn't fixed as I can't do anything when I got to: http://expertphotography.com/forum/c...ll/install.php

    Please let me know if I've gone wrong in my setup anywhere. There are the steps I've taken:
    • I've taken the contents of the 'upload' folder and I've added them to a folder called 'forum' in my 'public_html' folder.
    • I created a new database for the files, and I added the database information, and the login information to 'public_html/forum/core/includes/config.php'. This information includes the name of the database (expertph_vbulletin) and the MASTER DATABASE USERNAME & PASSWORD.
    • Renamed /forum/config.php.bkp to config.php.
    • Set the baseurl to the url of the forum directory to http://www.expertphotography.com/forum
    • I then try to go to: http://expertphotography.com/forum/c...ll/install.php and I get 'page not found'.


    It's worth noting that I did have another forum under that url, but I've renamed the folder to 'forum2' and I've cleared the cache inside that folder. It was a Vanilla forum.

    I will be hugely grateful for any help you can give me.

    Thank you,
    Josh
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24326
    • 5.7.X

    #2
    Don't use the cPanel built-in editor, I find it doesn't often work and when it does open the file OK, it saves it borked more often than not. If you need to edit the file, download the config.php file to your local machine and use a free editor such as Notepadd++ to edit it. Then re-upload it back to the server making sure you overwrite the copy that's already there.

    Regarding your issue, do you have any .htaccess files on your server other than the one that came with vB5?
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • joshmd
      New Member
      • Jan 2013
      • 13
      • 4.2.X

      #3
      Thanks, I'll take that into account.

      I do quite a few other .htaccess files. There's one in the /forum2/ folder from the original forum, and there's another in the /public_html/ folder. I've also got another installation of WP under /members/ and there's a few in there, and there's a bunch in the w3 super cache plugin files. There's probably aout 25 of these in total (based on a quick search).

      Thank you.

      Comment

      • joshmd
        New Member
        • Jan 2013
        • 13
        • 4.2.X

        #4
        Fixed it. cpanel didn't like me uploading directly to it. I switched to Filezilla.

        Comment

        Related Topics

        Collapse

        Working...