Link to my site: http://deefanfiction.altervista.org/
I just updated it to 3.5 hoping it would solve the problem, but it didn't.
When I go to Admin > Profile Information it doesn't show anything, turning debug on it gives me this "Notice: Undefined index: rss in /membri/deefanfiction/includes/pagesetup.php on line 92"
What can I do to solve it?
Try uploading admin.php file again. That should pull up the Profile information. I"m not sure about the rss error though.
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
Tried uploading again admin.php, but I still see nothing when I click Profile info
Bump? Can someone help me?
Actually.. try reuploading pagesetup.php in the includes folder.. maybe there was a glitch when it uploaded? because the error does mention that file...
Jacynthe
Archives: http://fanfics.e-authors.net
Version: 3.5.3
Modified? Somewhat...
PHP: 5.3.3
MySQL: 5.0.91-community
Actually.. try reuploading pagesetup.php in the includes folder.. maybe there was a glitch when it uploaded? because the error does mention that file...
Already tried, but still nothing :/
It sounds like this was happening in 3.4.3 as well? I'd say maybe you should overwrite all your files all over again just to see if something got messed up in the transfer, but since you did that to upgrade, I'm not sure it would help very much. It's probably worth it just to make sure.
Do you have any mods or modules installed? They might be causing an issue.
In the meantime you could try commenting out lines 92 & 93 and see what happens. But this of course would mess with your RSS feed so I wouldn't recommend keeping it gone. If commenting out those lines fixes it or shifts the message to something else it helps figure out what to look at.
I tried overwriting everything once again but the error it's still there.
No mods or modules installed, and sadly I don't know what "commenting out lines" means 🙁
Commenting out means putting something special in the code so that it's not read as code. Usually it's done for comments. You'll see at the beginning of most of the eFic files this:
// ----------------------------------------------------------------------
// Copyright (c) 2007 by Tammy Keefer
// Based on eFiction 1.1
// Copyright (C) 2003 by Rebecca Smallwood.
// http://efiction.sourceforge.net/
// ----------------------------------------------------------------------
The // on each line is a way of saying "don't read this as code". Another way to do it is like this, for multiple lines:
/*
This file does some of the setup of the common elements of the pages within your site.
It also checks the common $_GET variables and cleans them up to prevent hacking and attacks.
*/
(The /* and */)
Of course, it's a little trickier with some of the PHP stuff that deals with making forms for people to input info, since that's really HTML. HTML is usually commented inside of <!>.
I'm having this same problem. I wanted to add the Fanfiction link mod https://efiction.org/forums/index.php?topic=3909 and when I went to Profile Information and there's nothing there.
I tried changing skins (hey, who knows?)
Turning on Debugging, which didn't say anything.
I tried re-uploading pagesetup.php and admin.php. Nothing.
I even peeked at PHPMyAdmin but I really don't know how to change things around there, so I didn't touch anything.
eFiction:3.5.1
Latest Patche(s):Yes
bridged?:No
modified?:Yes.
PHP:2.11.9.4
MySQL:5.0.32
Are there entries in fanfiction_authorfields?
No. No there isn't.
I'm comparing the DBs from Repo!(The broken one) to Silent Hill (Workin' fine!) and I can tell you with confidence that the Repo! one is empty. How do I fill it? Can I take the admin/authorfields.php from Silent Hill and upload it into Repo! Would that work?
eFiction:3.5.1
Latest Patche(s):Yes
bridged?:No
modified?:Yes.
PHP:2.11.9.4
MySQL:5.0.32
The file admin/authorfields.php is empty of the database table authorfields is empty? If the former, yes, just reupload that file. If the later, you'll need to copy the information from the working database to the non-working database using phpmyadmin.
The database for Repo! is empty. It says stuff like Field_type, Feild_name, ect. whereas the SH one actually has things in it.
Can I take the actual file from the SH one and put it in the Repo one via FTP? or do I have to dump stuff into the Repo DB? How do I do the DB dump if that's what I have to do?
eFiction:3.5.1
Latest Patche(s):Yes
bridged?:No
modified?:Yes.
PHP:2.11.9.4
MySQL:5.0.32
You have to dump it into the database.
Click on the SQL tab. In the box, enter the following adding your table prefix if any before the fanfiction_authorfields on each line.
INSERT INTO `fanfiction_authorfields` VALUES (1, 4, 'lj', 'Live Journal', ' http://{info}.livejournal.com', '', '', 1);
INSERT INTO `fanfiction_authorfields` VALUES (2, 1, 'website', 'Web Site', '', '', '', 1);
INSERT INTO `fanfiction_authorfields` VALUES (3, 5, 'AOL', 'AIM', '', '$output .= "<div><label for=''AOL''>".$field[''field_title''].":</label><INPUT type=''text'' class=''textbox'' name=''af_".$field[''field_name'']."'' maxlength=''40'' value=''".(!empty($user[''af_''.$field[''field_id'']]) ? $user[''af_''.$field[''field_id'']] : "")."'' size=''20''></div>";', '$thisfield = "<img src="\" http://big.oscar.aol.com/".$field [''info''"]."?on_url=$url/images/aim.gif&off_url=$url/images/aim.gif\"> <a href="\"aim:goim?{aol}ScreenName=".$field[''info''"]."\">".format_email($field[''info''])."</a>";', 1);
INSERT INTO `fanfiction_authorfields` VALUES (4, 5, 'ICQ', 'ICQ', '', '$output .= "<div><label for=''AOL''>".$field[''field_title''].":</label><INPUT type=''text'' class=''textbox'' name=''af_".$field[''field_name'']."'' maxlength=''40'' value=''".(!empty($user[''af_''.$field[''field_id'']]) ? $user[''af_''.$field[''field_id'']] : "")."'' size=''20''></div>";', '$thisfield = "<img src="\" http://status.icq.com/online.gif ?icq=".$field[''info''"]."&img=5\"> ".$field[''info''];', 1);
INSERT INTO `fanfiction_authorfields` VALUES (5, 5, 'MSN', 'MSN IM', '', '$output .= "<div><label for=''AOL''>".$field[''field_title''].":</label><INPUT type=''text'' class=''textbox'' name=''af_".$field[''field_name'']."'' maxlength=''40'' value=''".(!empty($user[''af_''.$field[''field_id'']]) ? $user[''af_''.$field[''field_id'']] : "")."'' size=''20''></div>";', '$thisfield = "<img src="\"images/msntalk.gif\"" alt=\""._MSN."\"> ".format_email($field[''info'']);', 1);
INSERT INTO `fanfiction_authorfields` VALUES (6, 5, 'Yahoo', 'Yahoo IM', '', '$output .= "<div><label for=''AOL''>".$field[''field_title''].":</label><INPUT type=''text'' class=''textbox'' name=''af_".$field[''field_name'']."'' maxlength=''40'' value=''".(!empty($user[''af_''.$field[''field_id'']]) ? $user[''af_''.$field[''field_id'']] : "")."'' size=''20''></div>";', '$thisfield = "<a href="\" http://edit.yahoo.com/config/send_webmesg?.target=".$field [''info''"]."&.src="pg\"><img" border=''0'' src="\" http://opi.yahoo.com/online?u=".$field [''info''"]."&m=g&t=1\"> ".format_email($field[''info''])."</a>";', 1);
INSERT INTO `fanfiction_authorfields` VALUES (7, 4, 'da', 'Deviant Art', ' http://{info}.deviantart.com', '', '', 0);
INSERT INTO `fanfiction_authorfields` VALUES (8, 3, 'betareader', 'Beta-reader', '', '', '', 1);
INSERT INTO `fanfiction_authorfields` VALUES (9, 4, 'dj', 'DeadJournal', ' http://{info}.deadjournal.com/', '', '', 0);
INSERT INTO `fanfiction_authorfields` VALUES (10, 4, 'xanga', 'Xanga', ' http://www.xanga.com/{info}', '', '', 0);
INSERT INTO `fanfiction_authorfields` VALUES (11, 2, 'gender', 'Gender', 'male|#|female|#|undisclosed', '', '', 1);
INSERT INTO `fanfiction_authorfields` VALUES (12, 4, 'myspace', 'MySpace', ' http://www.myspace.com/{info}', '', '', 1);
INSERT INTO `fanfiction_authorfields` VALUES (13, 4, 'FFNetUsername', 'Fanfiction.net Username', ' http://www.fanfiction.net/~{info}', '', '', 1);
