When I go into the Admin Panel and look at submissions, I have four stories there, each by different authors. I click on the chapter title, but there's nothing there. I've tried going the round-about way and going to the story's page, then the chapter, but there appears to be no content. The author's summary and such are there, but where it says "Chapters:" it says "0." At the bottom, it says "(AuthorName) is also the author of -1 other stories."
Debug doesn't display any information for most of the submissions, and I've searched the forum for similar issues, but so far haven't found anything. I know that at least one of the submissions has content, but since the upgrade to 3.4.3, none of it is displaying. I thought it could be a massive coincidence that more than one story might have been submitted without any content, but then I remembered one story that I knew for sure had content, and on that submission's chapter page, I got this (and no chapter content):
Notice: Undefined variable: valid in /home/**/public_html/drfa/viewstory.php on line 307
Notice: Undefined variable: chapid in /home/**/public_html/drfa/viewstory.php on line 316
Notice: Undefined variable: chapid in /home/**/public_html/drfa/viewstory.php on line 316
Notice: Undefined variable: chapid in /home/**/public_html/drfa/viewstory.php on line 322
Notice: Undefined variable: chapid in /home/**/public_html/drfa/viewstory.php on line 323
Notice: Undefined variable: chapid in /home/**/public_html/drfa/viewstory.php on line 327
Notice: Undefined variable: chapid in /home/**/public_html/drfa/viewstory.php on line 328
Notice: Undefined variable: inorder in /home/**/public_html/drfa/viewstory.php on line 342
Notice: Undefined variable: inorder in /home/**/public_html/drfa/viewstory.php on line 342
Notice: Undefined variable: chapid in /home/**/public_html/drfa/viewstory.php on line 349
Notice: Undefined variable: chapterauthor in /home/*****/public_html/drfa/viewstory.php on line 354
Any ideas?
Archive: Dragonfayth
eFiction: 3.5.5/6
Latest Patch(es): Yes
bridged?: No
modified?: Yes
PHP: 7.4.25
MySQL: 5.7.32-35-log
Does the chapter exist in the database? Does it have a chapid or is the chapid set to 0? Looks most likely that the chapter doesn't exist in the database.
I found the chapter in question in the database, but it doesn't have a chapid of 0; the chapid is 135. The only values that are 0 are submitted, rating, count, reviews, and the submitted date (even though some of those chapters have been validated ages ago, and should already be on the site and therefore have a count; problem is, for those chapters, the count is miniscule, less than 100 for each, and I know the chapters are longer than that.. unless I'm misinterpreting what 'count' means, or if the number is +00 or +000 or something).
But how could the chapid have vanished? It was in the database prior to the update, I'm sure of it, because I had been editing the story while it was in the queue, I just hadn't gotten around to validating it yet.
Archive: Dragonfayth
eFiction: 3.5.5/6
Latest Patch(es): Yes
bridged?: No
modified?: Yes
PHP: 7.4.25
MySQL: 5.7.32-35-log
Bump. Any headway on this -is it a legit bug or something else? My archive's pretty crippled without content, and I'm afraid to fiddle with anything else lest I mess up what may (or may not?) be safe in the database.
Archive: Dragonfayth
eFiction: 3.5.5/6
Latest Patch(es): Yes
bridged?: No
modified?: Yes
PHP: 7.4.25
MySQL: 5.7.32-35-log
Okay the chapter exists in the database, now does the file exist in your folders? Check the author's folder in your stories/ folder. Also check the CHMOD'ing of those folders. If the info is getting into the database, that's the next thing to check. Your host may have turned safe_mode on on you.
Okay, when I actually check the author folders, the stories are there, readable and everything. The folders are CHMOD'd to 755. I'm not sure if that's right or not; is there a single list of what folders should be CHMOD'd which way? I normally take care of the CHMOD'ing right out of the installation, but I have had issues in the past where it didn't "take." Barring that, how would I check and see if my host turned safe_mode on?
Archive: Dragonfayth
eFiction: 3.5.5/6
Latest Patch(es): Yes
bridged?: No
modified?: Yes
PHP: 7.4.25
MySQL: 5.7.32-35-log
The stories folder and the individual author folders are 755, are the stories themseleves 644 (that's what they should be).
To check if safemode is on log into Admin->Php Info
Scroll down the list until you see safe mode; it will tell you the local and master values (of On or Off)
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
So the permissions are all set properly, for everything; 755 for the stories and author folders (the numbered ones), and 644 for all the stories themselves. Plus, safe_mode is off. The stories in the validation queue are still not showing up, and their authors are set as being the author of -1 other stories. Of the three stories in the queue, two have no errors but no content; one has an error (the one I posted above) and no content.
I just thought to check the status of other stories that had already been validated, and when I clicked on the story title in my own profile, I got this:
Fatal error: Call to undefined function strip_slashes() in /home/*****/public_html/drfa/modules/storyend/storyend.php on line 64
Archive: Dragonfayth
eFiction: 3.5.5/6
Latest Patch(es): Yes
bridged?: No
modified?: Yes
PHP: 7.4.25
MySQL: 5.7.32-35-log
Ah sounds like a module bug then, because it's been reported here:
http://efiction.hugosnebula.com/forum/viewthread.php?forum_id=11&thread_id=60&pid=285#post_285
Are you running Story End version 1.0 or 1.3?
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
It's version 1.3, according to the Modules Admin panel. Interestingly enough, it seems to work for the most part-- stories do vary in whether or not they have the "The End." or "The End... Maybe" at the footer. So if that's the part the module controls, why would the story itself be the thing that's not visible?
Archive: Dragonfayth
eFiction: 3.5.5/6
Latest Patch(es): Yes
bridged?: No
modified?: Yes
PHP: 7.4.25
MySQL: 5.7.32-35-log
It's probably causing an error before it gets to showing the story.
I was hoping the logical solution to all this, if the Story End module was, in fact, causing the problem, was to uninstall it. When I tried, I got this error:
A fatal MySQL error was encountered.
Query: DELETE FROM `fanfiction_modules` WHERE code_module = 'Story End'
Error: (1054) Unknown column 'code_module' in 'where clause'
However, despite this error, the Module does appear to have been uninstalled; stories in the queue and outside of it no longer have the "The End." or "The End... Maybe" in the footer area.
When I go to check on the stories in the submission queue, the two that weren't in the queue for a while (the ones I never edited) don't have any error, but there is still no story content. For the one story that had been lingering in the queue, I'm still seeing the error I posted way above (the one about undefined variables). Again, there is no content. For any of the three stories in queue, none of them have the "also the author of -1 other stories" line anymore, either. (Was that part of the Story End module?)
For stories that are NOT in queue and have already been validated, they're now showing up just fine, as far as I can tell.
Archive: Dragonfayth
eFiction: 3.5.5/6
Latest Patch(es): Yes
bridged?: No
modified?: Yes
PHP: 7.4.25
MySQL: 5.7.32-35-log
I think it might not have anything to do with that module. At least.. we seem to have a similar problem on our 3.4.3 install (no contents showing in Submissions unless/until you drill down several clicks into Admin Edit) and we don't have any modules installed other than Challenges π π
No update for 3.4.3 as of yet, and based on the last message, it looks like it's not my modules alone causing the problem. For you, sacrilege, how far do you "drill down" in order to actually see content within eFic? Like, what are the exact things you click on, if you don't mind me asking? As previously mentioned, I can't do much with a stale archive, when nothing will "stick" to the story ids.
Archive: Dragonfayth
eFiction: 3.5.5/6
Latest Patch(es): Yes
bridged?: No
modified?: Yes
PHP: 7.4.25
MySQL: 5.7.32-35-log
Hey
I work with sacrilege on the same archive.
In order to see the content that was submitted
Admin>>Submissions>>Title of Chapter (viewstory.php?sid=2762&chapter=1) NO CONTENT>>Admin Options: Edit (Story Block shows up, includes summary, warnings, etc)>>Under Chapter Options I click Edit
At that point I can then see the Story Text.
Looking at the url is appears that the chapter has a chapid attributed to it. I checked the database and the chapid does appear withing the fanfiction_chapters table.
I have done a test. I submitted a story to the archive. I went to the submissions queue, and validated it (even though I could not see the story text.) Once validated the story text appears when the title of the story is clicked on.
An interesting finding:
When in the submission queue I noticed:
Admin>>Submissions>>Title of Chapter (viewstory.php?sid=2764&chapter=1) YIELDS NO CONTENT
Admin>>Submissions>>Title of Story (viewstory.php?sid=2764) YIELDS NO CONTENT
Admin>>Submissions>>Validate (admin.php?action=validate&chapid=4888) YIELDS STORY TEXT
Our archive is pretty crippled at the moment. Any suggestions would be helpful.