Guest registering goes to white screen (http 500 internal server error)

Started by taylori, April 17, 2014, 01:23:05 PM

Previous topic - Next topic

taylori

After a crash I did a fresh install of my forum SMF 2.07 using the existing database, and added back my mods.

The forum is working for guests and members, but when a guest tries to register, all they get is a blank screen in chrome and firefox. (in i.e. 9 it shows as http 500 internal server error)
The same thing happens if a logged in member tries to access their profile.

All other links and actions seem to be working.

I have tried uninstalling mods and changing .htaccess files but cannot find a solution.

Thanks for any ideas.

kat


taylori

Thanks for your reply.

I have just worked out how to fix the problem. (I am learning a lot)
I discovered the php error_log which is stored in the root of the forum. (did not know it existed but it was a huge file of 1.2Gb.)

This log said "PHP Parse error:  syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /forum/Sources/Profile.php on line 367"

In fact the error was above this line.
It turned out that the Aeva mod had been pasted the wrong side of an array close ); within Profile.php.
When I moved the ); below the Aeva mod, the problem was fixed.

Have been working on this for 2 days installing and uninstalling mods!!!
Hope this solution helps someone else.

kat

Thanks, for that!

Best thing to remember, before installing mods...

Read my sig. ;)

Click it, for the "How?".

Advertisement: