URL to your eFiction: http://asshatproductions.dx.am/index.php
Version of eFiction: 3.5.5
Have you bridged eFiction, if so with what?: No
Version of PHP: 5.4.45
Version of MySQL: 5.5
Have you searched for your problem:Yes
If so, what terms did you try:Can't access some profiles, Profile errors.
State the nature of your problem: Redirect to host error page when trying to access only some user profiles.
Do you have a test account for us? Yes. Name and pass are test1
Recently reinstalled this on a new host, previous host went under. After successful install, I imported an old backup to regain users, content, etc. Now some usernames cannot be clicked, and after checking the SQL tables I see that the uid's for them is correct, so no mismatches there. The profiles in question simply can't be opened, they show an error page despite the actual fics being perfectly readable. Any ideas?
The two users I know of offhand are SisterWicked and SailorLight22.
EDIT:
After some tinkering, this only seems to be happening in my custom skins, all the included ones display profiles just fine!
This was not an issue on previous incarnations of the site, and my custom skins are based on the included CSSZEN one. Is there a way to correct this at all, by altering the stylesheet or otherwise, since the included skins are frankly horrid?
Thanks.
Edit2:
After looking at the skin folder docs, the only difference I could find was in the variables.php, and by changing $displayprofile = 1; to 0 I can see those profiles, but my question is why the heck did it only break on some, not all? Makes no sense to me.. Also, when profiles are shown it is only stories by/ reviews by etc, none of the personal info they wrote in or images they may have used. Is there something else I've overlooked in the settings?
I would take the displayprofile section out of your variables... not sure why that's a thing unless for a specific skin you want to maybe disable profiles. As for the profile information, make sure the profile block is being called in your user.tpl file. It should have this:
<!-- INCLUDE BLOCK : profile -->
If it does, then check to make sure you actually have a profile.tpl file, at least in your default_tpls folder. Should look something like:
<!-- START BLOCK : profile -->
<div id="profile">
<div id="bio">
<div id="biotitle"><span class="label">Penname: </span>{userpenname} <span class="label">Real name: </span>{realname}</div>
<div id="biocontent">
<span class="label">Member Since: </span>{membersince}<br />
<span class="label">Membership status:</span> {userlevel}<br />
<span class="label">Bio:</span><br>{image}{bio}<br />
{authorfields}
</div>
</div>
{adminoptions} {reportthis}
</div>
<!-- END BLOCK : profile -->
I tried removing the field from the variables.php, and it went right back to showing an error for my admin profile and a few others, no matter what skin. All I know to try at this point is backing up everything for this install and porting over the other, working one. Such a pain, and still no idea why this is happening. Then again, this install is the one with all the errors, so... But anyhow, thank you for your help, hopefully a reinstall will solve the problem completely.
I'm sorry this new install has been such a mess for you - I've definitely been there and it's very frustrating! I've never used the $displayprofile before in a variables.php file so I'm unfamiliar why it would be causing issues.
If you still have issues maybe try this? In the admin > settings section under "Display Settings" see if Display Profile: is marked as yes. I would've had you try this earlier but I just thought of it. Not sure if that was your issue but trying to brainstorm π
It was set to yes. As I said, it displayed 99% of profiles fine, just not the two admin accounts in question. It truly is a frustrating issue, but if the install runs through with no problems, it should (fingers crossed) repair everything.
