View Full Version : Installing Problem
Omegastein
03-02-2008, 10:06 PM
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
Patrick
03-03-2008, 01:07 PM
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 ;)
Omegastein
03-03-2008, 04:10 PM
This doesn't appear to be the fix. I even checked the admin/config file for what the username and pass is set to.
Patrick
03-03-2008, 06:13 PM
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.
Omegastein
03-04-2008, 12:37 AM
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.
Omegastein
03-04-2008, 12:50 AM
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.
Patrick
03-05-2008, 12:56 AM
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:
// 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.
Omegastein
03-05-2008, 10:03 PM
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_Forum_News/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"); ?>
Patrick
03-06-2008, 10:14 AM
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.
Omegastein
03-06-2008, 04:52 PM
I will double check the settings and update you.
Once again, appreciating the help.
Omegastein
03-06-2008, 05:30 PM
Good news and bad news.
I've managed to get further along, but received a new error.
ERROR: Invalid forum(s) specified.
And, that is with the generated code:
<?php include_once("/home/frindaw1/public_html/EP_Dev_Forum_News/news.php");
$forum_obj = new EP_Dev_Forum_News();
$forum_obj->display_News("10", "11", "", "0"); ?>
However, I receive this error:
Warning: Invalid argument supplied for foreach() in /home/frindaw1/public_html/EP_Dev_Forum_News/news.php on line 243
ERROR: Invalid forum id(s) specified.
When using this generated code:
<?php include_once("/home/frindaw1/public_html/EP_Dev_Forum_News/news.php");
$forum_obj = new EP_Dev_Forum_News();
$forum_obj->display_News("10", "", "", "0"); ?>
****
Now, when I did a search on this forum for line 243 errors, I discovered this http://www.dev-forums.com/index.php/topic,417.0.html. I've gone through that post, but nothing seems to help here either. I am currently using Invision Power Board 2.3.4, so as you mentioned in that post, the script may not be supporting the latest IPB forum.
The forum I am attempting to pull news from is located here:
( http://www.fringescience.net/forums/index.php?showforum=11 )
And, I'm using 11 as the category source.
***
Version 2.22 : Invision Power Board class name bug fixed for IPB 2.x
Would this have covered IPB 2.3.x?
Powered by vBulletin™ Version 4.0.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.