URL to your eFiction: http://www.slipknotslash.com
Version of eFiction: 3.5.1
Have you bridged eFiction, if so with what?: Not that I'm aware of
Version of PHP: 4.1.22
Version of MySQL: I couldn't find out
Have you searched for your problem: Yes, but to no avail
If so, what terms did you try: maintenance.php, line 75, header.php
State the nature of your problem:
Do you have a test account for us?
I was greeted yesterday, upon entering my site, by nothing but an error message:
:
Warning: Invalid argument supplied for foreach() in /home/slipknot/public_html/header.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/slipknot/public_html/header.php:88) in /home/slipknot/public_html/header.php on line 148
After being unable to fix the problem, I decided to reinstall efiction
I then follow the install guide from the efiction wiki, and everything went according to plan, until I was re-adding the stories. I added the story folder back to the site, with a CHMOD of 777, but no stories appeared on my site. I then tried to recalculate my stories, and received this error message:
Warning: Invalid argument supplied for foreach() in /home/slipknot/public_html/admin/maintenance.php on line 75
By searching on this forum, I realised that this means efiction is not detecting any stories, even though they're uploaded. Can anybody help me? π³
Check in Admin > Settings > Submission Settings and make sure that "Stories saved in" is set to "files" and that "Stories path" contains the name of your stories folder.
I checked that, everything is in order. The error is still there
And your stories folder is in the root directory for your site, and that's what it says in the settings? The most likely reason it can't find them is that the path is wrong. Or if it's in another folder, that needs to appear in the file path.
Another reason might be file permissions. What's your stories folder and the subfolders CHMODed to?
I've seen it where the stories aren't showing up because the server has some kind of permissions stuff going on (other than CHMOD). If it was working before, that seems unlikely now, but I suggest actually putting a file path to a chapter's .txt file into your browser and see what happens. For instance, http://www.verilyviridian.com/efictiontest/stories/1/10.txt. If you get a 404 for a file you know exists, then you should talk to your hosting company (after checking CHMOD settings).
Stories are not uploaded by just uploading the folder You need the data in the database as well which you wiped out when you reinstalled eFiction. Unless you have a backup of your database, you'll have to add (through the add story form) all your stories back. If you do have a backup of your database, you need to put the info from the old database into the new database.
