Notifications
Clear all

Problem with "Profile information"

16 Posts
6 Users
0 Reactions
3,530 Views
(@yuidirnt)
Posts: 20
Eminent Member
Topic starter
 

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?


 
Posted : 01/01/2009 2:28 pm
(@babaca)
Posts: 722
Member Moderator
 

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

 
Posted : 01/01/2009 8:56 pm
(@yuidirnt)
Posts: 20
Eminent Member
Topic starter
 

Tried uploading again admin.php, but I still see nothing when I click Profile info


 
Posted : 05/01/2009 5:38 pm
(@yuidirnt)
Posts: 20
Eminent Member
Topic starter
 

Bump? Can someone help me?


 
Posted : 21/01/2009 7:13 pm
(@jacynthe)
Posts: 242
Estimable Member
 

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

 
Posted : 21/01/2009 7:28 pm
(@yuidirnt)
Posts: 20
Eminent Member
Topic starter
 

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 :/


 
Posted : 23/01/2009 3:56 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

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.


 
Posted : 23/01/2009 8:23 pm
(@yuidirnt)
Posts: 20
Eminent Member
Topic starter
 

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 🙁


 
Posted : 25/01/2009 3:03 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

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 <!>.


 
Posted : 25/01/2009 7:34 pm
(@anarchicq)
Posts: 115
Estimable Member
 

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.


Silent Hill & Repo!
eFiction:3.5.1
Latest Patche(s):Yes
bridged?:No
modified?:Yes.
PHP:2.11.9.4
MySQL:5.0.32

 
Posted : 10/01/2010 5:40 am
(@lyndsie)
Posts: 1263
Member Moderator
 

Are there entries in fanfiction_authorfields?


 
Posted : 10/01/2010 10:39 am
(@anarchicq)
Posts: 115
Estimable Member
 

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?


Silent Hill & Repo!
eFiction:3.5.1
Latest Patche(s):Yes
bridged?:No
modified?:Yes.
PHP:2.11.9.4
MySQL:5.0.32

 
Posted : 10/01/2010 3:29 pm
(@tammy)
Posts: 2577
Member Moderator
 

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.


 
Posted : 10/01/2010 5:26 pm
(@anarchicq)
Posts: 115
Estimable Member
 

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?


Silent Hill & Repo!
eFiction:3.5.1
Latest Patche(s):Yes
bridged?:No
modified?:Yes.
PHP:2.11.9.4
MySQL:5.0.32

 
Posted : 10/01/2010 6:12 pm
(@tammy)
Posts: 2577
Member Moderator
 

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);

 
Posted : 10/01/2010 6:50 pm
Page 1 / 2
Share: