+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 11

Thread: Installing Problem

  1. Join Date
    Mar 2008
    Posts
    7

    Installing Problem

    I just downloaded the latest Forum News.

    I uploaded the entire folder "EP_DEV_FORUM_NEWS"

    I CHModed all the files as per the installation guide.

    I then log onto the Admin/Index.php

    I go through the process of putting in my new admin username and password.

    It then brings me back to the login screen.

    And, no matter what I put in here, it keeps bringing me back to the login screen. It doesn't say invalid username or password, but simply seems like it isn't acknowledging what I put in or moving me onto the next page.

    Please assist.

    - J

  2. Join Date
    Aug 2004
    Posts
    781

    Re: Installing Problem

    You probably simply mis-typed your password or username when you first entered them to be changed.

    Upload a fresh config.php file into the config/ folder and then login with the default again but this time avoid the typos

  3. Join Date
    Mar 2008
    Posts
    7

    Re: Installing Problem

    This doesn't appear to be the fix. I even checked the admin/config file for what the username and pass is set to.

  4. Join Date
    Aug 2004
    Posts
    781

    Re: Installing Problem

    Also ensure you have cookies enabled and PHP sessions are working properly.

    The script does not use any complex system for logging in. Essentially it simply creates a session if the username and password match the config file. So either:
    a) Your username and password do not match the config file (or the config file is not being loaded or similar).
    b) Your web browser is rejecting cookie-based sessions.
    c) Your web server has a problem with its sessions.

  5. Join Date
    Mar 2008
    Posts
    7

    Re: Installing Problem

    Quote Originally Posted by Patiek
    Also ensure you have cookies enabled and PHP sessions are working properly.

    The script does not use any complex system for logging in. Essentially it simply creates a session if the username and password match the config file. So either:
    a) Your username and password do not match the config file (or the config file is not being loaded or similar).
    b) Your web browser is rejecting cookie-based sessions.
    c) Your web server has a problem with its sessions.
    Do you know what the issue would be fore the config file not to be loaded?

    I've sent off a support request to my service provider, who is checking their settings to see if there would be any issues on their end. As far as they can tell there isn't.

    Before doing all this, I had an older version (about 4 versions behind) of EP Dev Forum News, but it was geared up for a different site. When I changed what I could for the new site information, the login script worked fine. I could get to the area where you set the templates and such. But, when ultimately attempting to get it to put the news onto the website, it wouldn't work. I simply assumed it to be either because it was an outdated version or there were still areas of the old site settings that I didn't (or couldn't) switch.

    So, I deleted the old version and installed the new version.

    Is there a way to get an older version of EP Dev Forum News? This way I could do an entirely fresh install and see if I am facing the same issues as the new install.

  6. Join Date
    Mar 2008
    Posts
    7

    Re: Installing Problem

    Sorry for the double post.

    The older version I have is 2.20. When installed, I can access the admin control panel fine and get the code to generate. However, once placed onto my index.php I get this:


    Parse error: syntax error, unexpected T_STRING in /home/frindaw1/public_html/thehatch/forum-news/news.php on line 58


    Line's 57 through 62 on news.php are:


    // has to be in $this->
    format in order for admin panel to write correctly
    $this->absolute_path = "";

    if ($this->absolute_path == "")
    $this->absolute_path = dirname(__FILE__) . "/";


    ***

    Perhaps this problem is easier to fix than the other.

    I do, however, find it odd that I can access the Admin panel on an older version, but can't on the newer.

  7. Join Date
    Aug 2004
    Posts
    781

    Re: Installing Problem

    Well the error you have there is from a line break that shouldn't be there (probably from your copy & paste). The first line should simply be a comment:
    PHP Code:
    // has to be in $this-> format in order for admin panel to write correctly
       
    $this->absolute_path "";

       if (
    $this->absolute_path == "")
         
    $this->absolute_path dirname(__FILE__) . "/"

    You should try to use the updated version however as it does contain several bug fixes / feature improvements. I would recommend deleting the script and re-installing. You could easily have a corrupted file somewhere or similar. This is the first thing I would try when troubleshooting. The next thing I would try would be manually editing the config file and setting the admin username to "user" and password to "pass" and seeing if those credentials work.

    Sometimes the configuration file can become corrupted and it is for this reason that I recommend uploading a fresh config file (not simply attempting to confirm the user/pass that is within the file).

    You may also want to try using a different browser. I have had people submit requests for support with similar problems that had their browser automatically changing their login values due to auto-fill features.

  8. Join Date
    Mar 2008
    Posts
    7

    Re: Installing Problem

    Installing this script is getting pretty frustrating. Though I am appreciating the help.

    ***

    I am now getting these errors.

    Warning: include_once() [function.include-once]: URL file-access is disabled in the server configuration in /home/frindaw1/public_html/index.php on line 321

    Warning: include_once(http://www.fringescience.net/EP_Dev_Forum_News/news.php) [function.include-once]: failed to open stream: no suitable wrapper could be found in /home/frindaw1/public_html/index.php on line 321

    Warning: include_once() [function.include]: Failed opening 'http://www.fringescience.net/EP_Dev_.../news.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/frindaw1/public_html/index.php on line 321


    Fatal error: Class 'EP_Dev_Forum_News' not found in /home/frindaw1/public_html/index.php on line 322

    Lines 321 though 322 are as follows:

    <?php include_once("news.php");
    $forum_obj = new EP_Dev_Forum_News();
    $forum_obj->display_News("11", "", "", "0"); ?>

  9. Join Date
    Aug 2004
    Posts
    781

    Re: Installing Problem

    It looks like your absolute path is not correctly set in the script. Based on your errors posted, your absolute path should be /home/frindaw1/public_html/EP_Dev_Forum_News/news.php

    Also, the errors indicate that the text you posted is NOT the text from lines 321-322 in the error (from index.php).

    This is a very simple script to install:
    1. Upload.
    2. Visit the admin panel.
    3. Visit each page on the opening admin panel, one by one, configuring each.

    The script even has the ability to fetch the absolute path by clicking a button on one of the pages. How you managed to get this wrong, I do not know.

    It really is as simple as:
    1. Configure.
    2. Generate code.

    If you reconfigure, you need to generate new code. Also, ensure you are using the latest version. I will not provide support for older versions.

  10. Join Date
    Mar 2008
    Posts
    7

    Re: Installing Problem

    I will double check the settings and update you.

    Once again, appreciating the help.



+ Reply to Thread

Posting Permissions

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