News:

Join the Facebook Fan Page.

Main Menu

Page reload problem

Started by freija_robin, December 24, 2011, 12:03:59 PM

Previous topic - Next topic

freija_robin

Hi there!

I've got a problem: when I post or edit a message, when I make a modification in the admin panel or when I do something that requires the page reload, I got a blank page.

Then if I reload the page manually, I find the message or the modification done.

I use SMF 1.1.16.

How do I fix it? Thanks. ^^

Illori

any related errors in your server error log?

freija_robin

#2
Here you are:



EDIT

This is the error when I post:


Illori

sounds like your paths are not correct, can you verify them with What is repair_settings.php? and fix any that seem wrong?

freija_robin

I tried. Only avatars path was wrong, I repaired my settings.php but the problem isn't solved.

MrPhil

#5
There should be no output started at Settings.php (especially line 1). Most likely you've been hacked. Check that file for junk added at the beginning, and check all other files while you're at it.

P.S. If you've edited Settings.php lately, and don't otherwise see anything amiss, check if you left a blank or tab before the opening <?php.

freija_robin

#6
Quote from: MrPhil on December 26, 2011, 02:54:32 PM
Most likely you've been hacked. Check that file for junk added at the beginning, and check all other files while you're at it.

So lucky... o,o I uninstalled all my mods, but the problem is still there.

Quote from: MrPhil on December 26, 2011, 02:54:32 PM
P.S. If you've edited Settings.php lately, and don't otherwise see anything amiss, check if you left a blank or tab before the opening <?php.

I edited Settings.php adding in the line before ?>

$db_character_set = 'utf8';

because I got white posts with accented characters (with that code I solved this problem).

If hack is the problem I'll think to delete and restore all...

EDIT

Problem solved with the help of Emanuele (SMF Italy support). Many thanks Emanuele!!! 8D

Explanation:

I used file_check.php, it found


forum/Settings.php
o UTF-8 BOM found


So I used Notepad++ to modify Settings.php converting it to ANSI (Open Notepad++ > open file Settings.php > Format > Convert to ANSI > save and close) and after the ftp upload in my forum directory all works.  ;D



Advertisement: