Genre set to none a...
 
Notifications
Clear all

Genre set to none after upgrade

17 Posts
4 Users
0 Reactions
4,288 Views
(@moonbrat)
Posts: 19
Active Member
Topic starter
 

URL to your eFiction: http://www.destinysgateway.com
Version of eFiction: 3.2.1
Have you bridged eFiction, if so with what?: No
Version of PHP: 4.4.4
Version of MySQL: 4.0.25
Have you searched for your problem: yes
If so, what terms did you try: genre, missing, genre none, classifications
State the nature of your problem: After upgrading from 2.0.7 to 3.2.1 all stories (2000+) have set the genre to none. There ARE genres in the classifications, mysql had fanfiction_genre as a table before upgrading, stories read the genre before upgrading, so how come they're set to NONE now?
Do you have a test account for us? No. Just go to: http://www.destinysgateway.com/browse.php?type=titles to see what I mean.

I'm kinda "tech support" for the DGRFA admin team, we've made sure classifications were entered, {classifications} in the skin and everything else we could think of--including reading this forum and we still can't figure out why after the upgrade, classifications set genre to none.

Any help would be greatly appreciated.


I like life, it's something I do when I'm bored
@}----- http://www.midnight-sonnet.net ----

 
Posted : 13/04/2007 11:47 pm
(@princess-destiny)
Posts: 56
Trusted Member
 

πŸ˜•  Would someone be able to help us with this, please?  We've got Genres missing for over 2500 Fanfics!

Only Fanfics added since the upgrade to 3.2.1 have Genre.  Help!

Hugs,
Princess Destiny


 
Posted : 10/05/2007 10:31 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Umm... I don't really know. Check your database and see if the genre information is still there, only set under the wrong thing. My guess is that either the genres info didn't transfer when you upgraded (in which case you'll need the backup for the old stories), or the info is saved under the wrong thing (or your classifications are searching for the wrong thing).

It looks like your characters and warnings are all set to none too.


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 11/05/2007 1:15 am
(@princess-destiny)
Posts: 56
Trusted Member
 

Hi!

Okay, so where do I add the Genre's in correctly?  I can see from the backup that there used to be a file in the PHPAdmin called Fanfiction_genres, but there doesn't appear to be one anymore.  The Fanfics have been added into the file called fanfiction_classes.  It was added in by the following:

To add a new classifcation type:

  1. Goto Admin -> Classifications.
  2. Click on "Add New Classification Type".
  3. Enter the name and title for the classification type such as "genres" or "warnings". The title can be anything you like. The title will be what is displayed on screen. The name will be used in your skin template as a variable so it should be a unique one word description. As an example: enter the name as "genre" and the title as "Genres".
  4. Click "Submit".

This has all the old Genre that we had before, but it's not applying to the new Fanfics or the old ones.  Is there something I can do from the PHPMyAdmin or from the site.

Hugs,
Princess Destiny


 
Posted : 16/05/2007 1:52 am
(@princess-destiny)
Posts: 56
Trusted Member
 

Hi,

We still haven't been able to figure out what's happening here.  Umm, the Genre tab is sitting right up against Warnings though.

Genres: Warnings: Not suitable for under 17

The Genre might not be showing because of this.  Is there somewhere in the coding where I can put the Genre on it's own line, so we can see what Genre's should be there?

Hugs,
Princess Destiny


 
Posted : 25/06/2007 12:37 am
(@babaca)
Posts: 722
Member Moderator
 

In my phpAdmin I have genre set up in fanfiction_classtype
and my list of genres are found in fanfiction_classes

Hi!

Okay, so where do I add the Genre's in correctly?  I can see from the backup that there used to be a file in the PHPAdmin called Fanfiction_genres, but there doesn't appear to be one anymore.  The Fanfics have been added into the file called fanfiction_classes.  It was added in by the following:

To add a new classifcation type:

  1. Goto Admin -> Classifications.
  2. Click on "Add New Classification Type".
  3. Enter the name and title for the classification type such as "genres" or "warnings". The title can be anything you like. The title will be what is displayed on screen. The name will be used in your skin template as a variable so it should be a unique one word description. As an example: enter the name as "genre" and the title as "Genres".
  4. Click "Submit".

This has all the old Genre that we had before, but it's not applying to the new Fanfics or the old ones.  Is there something I can do from the PHPMyAdmin or from the site.

Hugs,
Princess Destiny


******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3

 
Posted : 25/06/2007 12:47 am
(@princess-destiny)
Posts: 56
Trusted Member
 

Good lord, I didn't realise that someone had replied to this one after my last post in July!  Calic0cat, would you still be willing to help me out with this one?  I'm very sorry I didn't see your reply and thought that this was a lost cause.  It's become a problem though, since we have minors reading at the site and they can't see what Genre warnings there are.

I've been going through the script and can't find a thing.  In regards to the database version, I have had a skin up there since the upgrade called 'Labyrinth', which actually has the Genre in it.  The three skins it's not showing up on 'KanaZero', 'Kendappa-ou' and 'Vampire' were created after that first one and are all missing the Genre. I used the 'Labyrinth' skin files to create them, so I can't see what might have been missing from one to the other...  I've copied the contents from the 'storyindex.tpl', 'style.css', and 'printstory.tpl', with no luck.

I can send you the backup file from the database from the original skin, and the newer one.  They were different versions of efiction though and I'm not sure of the file when the 'Labyrinth' skin was from the upgrade, or what date I added in those three above.

πŸ˜•

Hugs,
Princess Destiny


 
Posted : 14/12/2007 1:52 am
(@princess-destiny)
Posts: 56
Trusted Member
 

Thank you, Calic0cat!  I'm going to go through what you've suggested right now and see if I can spot the problem.

Hugs,
Princess Destiny


 
Posted : 17/12/2007 10:35 pm
(@princess-destiny)
Posts: 56
Trusted Member
 

Hi!  Okay, I've fiddled around with listings.tpl and I actually have the Genres now, but there are some new problems. 

What I did was go  into take a look at the coding on the CSSZen skin listings.tpl and saw that Genre was listed in there as {classifications}.  In the new skins listings.tpl I've been using since the Genres disappeared, it was in as <span class="classification">Genres: </span> {genres} <br /><span>

So I changed it in the Kendappa-ou skin to <span class="classification">Genres: </span> {classifications} <br />  The Genres are now there, but the Genres are there twice as well as the Warnings:

Genres:  Genre:  Action, Adventure, Drama
Warnings: Not suitable for under 17

Warnings: Not suitable for under 17

Here is the Most Recent page link so you can take a look:  http://destinysgateway.com/browse.php?type=recent

Is there something else on the listings.tpl page I need to change to take out the duplicate Genre and Warning, or is there something in the header.php  or another page that I need to remove or change to make these duplicates disappear?

This is the coding from the listings.tpl as it is now, with the duplicates:

<!-- START BLOCK : listings -->
{seriesheader}
<!-- START BLOCK : seriesblock -->
<div class="listbox {oddeven}">
<div class="title">{title} by {author}{score} [{reviews} - {numreviews}] </div>
<div class="content"><span class="classification">Summary: </span>{summary}<br />
<span class="classification">Categories:</span> {category} <span class="classification">Characters: </span>{characters}<br>
<span class="classification">Genres:</span>{genres}<br><span class="classification">Warnings:</span> {warnings}<br>
<span class="classification">Challenges:</span> {challengelinks}<br /><span class="classification">Open:</span> {open}
{adminoptions}</div>
</div>
<!-- END BLOCK : seriesblock -->
{stories}
<!-- START BLOCK : storyblock -->
<div class="listbox {oddeven}">
<div class="title">{title} by {author}  {roundrobin} {score} [{reviews} - {numreviews}]</div>
<div class="content"><span class="classification">Rated:</span> {rating} <br><span class="classification">Summary: </span>{featuredstory}{summary}<br />
<span class="classification">Categories:</span> {category} <br />
<span class="classification">Genres: </span> {classifications} <br /><span class="classification">Warnings:</span> {warnings}<br />
<span class="classification">Challenges:</span> {challengelinks}<br /> <span class="classification">Series:</span> {serieslinks}<br />
<span class="classification">Chapters: </span> {numchapters} <br><span class="classification">Completed:</span> {completed}
<br><span class="classification">Word count:</span> {wordcount}
{adminlinks}<br><span class="classification">{addtofaves} </div>
<div class="tail"><span class="classification">Published: </span>{published} / <span class="classification">Updated:</span> {updated} <br></div>

</div><br><hr width="50%" align="left" color="#FFFFFF"><br>
<!-- END BLOCK : storyblock -->
{pagelinks}
<!-- END BLOCK : listings -->

Something else I just noticed.  Anything added after the upgrade has a Genre.  Anything added the years before the upgrade, has Genre:  None.  How can I fix this?

Hugs,
Princess Destiny


 
Posted : 26/12/2007 2:11 am
(@princess-destiny)
Posts: 56
Trusted Member
 

Can someone please help me with this?  I've checked the backups, but they don't show the Genres for the Fanfics.  I even went to the wayback machine, but it only shows one page for Authors, Titles and Recent.  Genres from everything before the upgrade are set to none.  Is there some file somewhere that shows what the Genres used to be?  I don't mind adding it back in one by one for all 3,000 Fanfics, as long as it's there somewhere.

This is really very upsetting.  Years of work down the drain.

Hugs,
Princess Destiny


 
Posted : 30/12/2007 8:42 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Are you SURE that the backups of 2.7 don't show the Genres for the Fanfics? If you had Genres before, and you saved the database then, then they should be there. Did you save everything from your efic version 2? I would tell you where to look, but I don't remember that version and I don't have any copies of it up and running.

They have got to be there unless you didn't save the whole database from a 2.7 version.


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 30/12/2007 9:19 pm
(@princess-destiny)
Posts: 56
Trusted Member
 

I go to PHPMyAdmin and save the databases called princess (26) and _phpbb1 (30) which show the following:

fanfiction_authorfields  Browse    Structure  Search    Insert  Empty    Drop  12  MyISAM  latin1_swedish_ci  4.2 KiB  -
fanfiction_authorinfo Browse Structure Search Insert Empty Drop 3,672 MyISAM latin1_swedish_ci 176.4 KiB -
fanfiction_authorprefs Browse Structure Search Insert Empty Drop 2,676 MyISAM latin1_swedish_ci 83.6 KiB -
fanfiction_authors Browse Structure Search Insert Empty Drop 2,676 MyISAM latin1_swedish_ci 673.1 KiB -
fanfiction_blocks Browse Structure Search Insert Empty Drop 9 MyISAM latin1_swedish_ci 4.1 KiB -
fanfiction_categories Browse Structure Search Insert Empty Drop 1,154 MyISAM latin1_swedish_ci 82.2 KiB -
fanfiction_challenges Browse Structure Search Insert Empty Drop 697 MyISAM latin1_swedish_ci 188.4 KiB -
fanfiction_chapters Browse Structure Search Insert Empty Drop 5,365 MyISAM latin1_swedish_ci 1.2 MiB -
fanfiction_characters Browse Structure Search Insert Empty Drop 260 MyISAM latin1_swedish_ci 25.5 KiB -
fanfiction_classes Browse Structure Search Insert Empty Drop 38 MyISAM latin1_swedish_ci 3.9 KiB -
fanfiction_classtypes Browse Structure Search Insert Empty Drop 2 MyISAM latin1_swedish_ci 3.1 KiB -
fanfiction_codeblocks Browse Structure Search Insert Empty Drop 7 MyISAM latin1_swedish_ci 3.6 KiB -
fanfiction_comments Browse Structure Search Insert Empty Drop 19 MyISAM latin1_swedish_ci 9.6 KiB -
fanfiction_favorites Browse Structure Search Insert Empty Drop 3,887 MyISAM latin1_swedish_ci 220.5 KiB -
fanfiction_inseries Browse Structure Search Insert Empty Drop 117 MyISAM latin1_swedish_ci 13.4 KiB -
fanfiction_log Browse Structure Search Insert Empty Drop 4,020 MyISAM latin1_swedish_ci 712.3 KiB -
fanfiction_messages Browse Structure Search Insert Empty Drop 23 MyISAM latin1_swedish_ci 59.5 KiB -
fanfiction_news Browse Structure Search Insert Empty Drop 46 MyISAM latin1_swedish_ci 51.0 KiB -
fanfiction_pagelinks Browse Structure Search Insert Empty Drop 43 MyISAM latin1_swedish_ci 5.5 KiB -
fanfiction_panels Browse Structure Search Insert Empty Drop 81 MyISAM latin1_swedish_ci 8.7 KiB -
fanfiction_ratings Browse Structure Search Insert Empty Drop 4 MyISAM latin1_swedish_ci 3.4 KiB -
fanfiction_reviews Browse Structure Search Insert Empty Drop 4,742 MyISAM latin1_swedish_ci 1.2 MiB -
fanfiction_series Browse Structure Search Insert Empty Drop 41 MyISAM latin1_swedish_ci 23.0 KiB -
fanfiction_settings Browse Structure Search Insert Empty Drop 1 MyISAM latin1_swedish_ci 2.3 KiB -
fanfiction_stats Browse Structure Search Insert Empty Drop 1 MyISAM latin1_swedish_ci 1.1 KiB -
fanfiction_stories Browse Structure Search Insert Empty Drop 3,370 MyISAM latin1_swedish_ci 1.3 MiB -
26 table(s) Sum 32,963 MyISAM latin1_swedish_ci 6.1 MiB 0 B

Is this the right area for the backups??  They save files about 1 mb large.

Hugs,
Princess Destiny


 
Posted : 30/12/2007 9:37 pm
(@princess-destiny)
Posts: 56
Trusted Member
 

Hi Calic0cat!

Okay, I looked into the backups and found the fanfiction_stories.  It appears to have every Fanfic at the site's name and summary with a whole lot of numbers:

INSERT INTO `fanfiction_stories` VALUES(3769, 'Some Dreams Can''t Wait', 'A story set immediately after the seventh season episode Friendship One and replaces all the episodes that followed it.', '', '351', '36,38,2,7', '', '4', '2007-12-25 19:48:13', '2007-12-25 20:37:50', 2710, '', '0', '1', '1', '0', 135051, 0, 0, 19, '0');

Is the Genres one or more numbers from in there?  And if so, how can I apply these to the new upgrade for each Fanfic and in what file?  Sorry to be a pain.  I'm really trying to understand this script, and as you can see, with over 3,000 Fanfics missing their Genres, it's a major problem for my site.  πŸ˜€

Hugs,
Princess Destiny


 
Posted : 30/12/2007 11:20 pm
(@princess-destiny)
Posts: 56
Trusted Member
 

Oh!  I can see some difference!  In the strings of numbers after the updated and published dates:

This one is for the 18th of June:  1, NULL, '1', '1', '1', '0', 76520, 1, 16, 843, '0')
This one is todays:  1, NULL, '1', '1', '1', '0', 76520, 1, 18, 5048, '0')

Is the 18, 5048, the missing Genres?

Hugs,
Princess Destiny


 
Posted : 31/12/2007 12:12 am
(@princess-destiny)
Posts: 56
Trusted Member
 

O_o;;

Okay, I think that I found them:

The new Genre numbers:

Abuse = 30
Action = 1
Adult = 2
Adventure = 3
Alternate Reality = 4
Angst = 5
BDSM = 34
Comedy = 6
Death = 22
Drabble = 19
Drama = 7
Drug Use = 31
Fantasy = 8
Futuristic = 16
Horror = 9
Incest = 32
Kinky = 33
Medieval = 17
Multipart = 25
Mystery = 10
Nocturne = 35
Oneshot = 23
Parody = 24
PWP = 20
Regency = 15
Sci-Fi = 11
Self-Injury = 29
Sexual Harrassment = 28
Songfic = 18
Suspense = 13
Suicide = 21
Supernatural = 12
Torture = 26
UST (Unresolved Sexual Tension) = 14
Violence = 27

Contains adult themes = 36
Not suitable for children = 37
Not suitable for under 17 = 38

And I found the old ones inside a backup:

(4, 1, 'Alternate Reality')
(5, 1, 'Angst')
(34, 1, 'BDSM')
(6, 1, 'Comedy')
(22, 1, 'Death')
(19, 1, 'Drabble')
(7, 1, 'Drama')
(31, 1, 'Drug Use')
(8, 1, 'Fantasy')
(16, 1, 'Futuristic')
(9, 1, 'Horror')
(32, 1, 'Incest')
(33, 1, 'Kinky')
(17, 1, 'Medieval')
(25, 1, 'Multipart')
(10, 1, 'Mystery')
(35, 1, 'Nocturne')
(23, 1, 'Oneshot')
(24, 1, 'Parody')
(20, 1, 'PwP')
(15, 1, 'Regency')
(11, 1, 'Sci-fi')
(29, 1, 'Self-Injury')
(28, 1, 'Sexual Harrassment')
(18, 1, 'Songfic')
(21, 1, 'Suicide')
(12, 1, 'Supernatural')
(13, 1, 'Suspense')
(26, 1, 'Torture')
(14, 1, 'UST (Unresolved Sexual Tension)
(27, 1, 'Violence')

However, when I tried to match the older Genres to an old Fanfic, I'm not seeing these numbers at all.  I can't seem to match it up to this string of code from a Fanfic that has five Genres in it:NULL, '1132,1128,1134,1135', '', '', '3', '2007-02-01 18:22:33', '2007-02-01 19:14:09', 1865, NULL, '', '1', '1', '0', 45261, 0, 0, 6, '0')

It's this one:

On A Dark Path, He Walks by Touda Rated: R 18+ [Reviews - 0]
Summary: Ichimaru Gin pines for his lost fukutaichou and decides he can't live without him. Why does his trip to Seireitei to bring the boy back cause Aizen so much trouble? What do Byakuya, Renji and Ukitake have to do with it? Yaoi, death
Categories: Byakuya And Renji, Aizen And Ichimaru, Ichimaru And Kira, Ichimaru And Ukitake Characters: None
Genres: Adult, Alternate Reality, Angst, Drama, Suspense Warnings: None
Challenges: None
Series: None
Chapters: 13 Completed: Yes Word count: 45261
Published: 02/01/07 Updated: 02/01/07

INSERT INTO `fanfiction_stories` VALUES (2872, 'On A Dark Path, He Walks', 'Ichimaru Gin pines for his lost fukutaichou and decides he can&#39;t live without him. Why does his trip to Seireitei to bring the boy back cause Aizen so much trouble? What do Byakuya, Renji and Ukitake have to do with it? Yaoi, death', NULL, '1132,1128,1134,1135', '', '', '3', '2007-02-01 18:22:33', '2007-02-01 19:14:09', 1865, NULL, '', '1', '1', '0', 45261, 0, 0, 6, '0')

Can you tell me which part of the string is supposed to be the Genres??  I'm looking at the whole line and only the updated and published date parts are clear.  πŸ˜•

Thank you for your patience!

Hugs,
Princess Destiny


 
Posted : 31/12/2007 2:16 am
Page 1 / 2
Share: