
The problem is the variable "$ _SERVER [ 'HTTP_HOST']", returns nothing. This occurs in both the server and local (php 5.2.0 and 5.3.0). To fix this I change that variable with "$board_config [ 'server_name']".
Open "includes\functions_post.php" and search:
- 'SMILEY_IMG' => 'http://' . $_SERVER['HTTP_HOST'] . $board_config['script_path'] . $board_config['smilies_path'] . '/' . $rowset[$i]['smile_url'],
Replace:
By
Repeat this change in the following lines
function generate_smilies_row()
- 'URL' => 'http://' . $_SERVER['HTTP_HOST'] . $board_config['script_path'] . $board_config['smilies_path'] . '/' . $row['smile_url'],
function generate_smilies_row_simple()
- 'URL' => 'http://' . $_SERVER['HTTP_HOST'] . $board_config['script_path'] . $board_config['smilies_path'] . '/' . $row['smile_url'],
Open "includes/album_mod/album_functions.php":
- 'SMILEY_IMG' => 'http://' . $_SERVER['HTTP_HOST'] . $board_config['script_path'] . $board_config['smilies_path'] . '/' . $smile_url,
I do not understand why this happens now, I hope this will help others.
Bye