• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Guild Logo Missing

Falacchi

New Member
Joined
May 3, 2011
Messages
74
Solutions
3
Reaction score
3
Hello guys,
I have already tried in several tutorials and already tried to change several pages (guild.php / guild_image.php) and it does not work!
It always looks like this:

TxFFKT4.jpg

Note: I already gave chmod -R 777 html
and on the www too
Someone with a good heart can help me?
I thank the attention
 
Do you have the default guild image in C:\xampp\htdocs\images\default_guild_logo.gif?

Edit : Sorry, I didnt read u were on linux, its a different file location which I dont know myself.
 
Change content of your pages/guild_image.php to this:
Code:
<?php
if(!defined('INITIALIZED'))
    exit;
$guild_id = (int) $_REQUEST['id'];
$guild = new Guild($guild_id);
$guildLogo = $guild->getGuildLogo();
$guildLogoInfo = explode(';', $guildLogo, 3);
$image = array();
$image['content_mtime'] = $guildLogoInfo[0];
var_dump($guild->getName(), strlen(base64_decode(substr($guildLogoInfo[2], 7));));
die();

Now visit your site: your_domain.com/guild_image.php?id=5, where 5 is id of your existing guild.

And tell me the result.

Also, is your guild_logo column in guilds table in database empty?
 
Change content of your pages/guild_image.php to this:
Code:
<?php
if(!defined('INITIALIZED'))
    exit;
$guild_id = (int) $_REQUEST['id'];
$guild = new Guild($guild_id);
$guildLogo = $guild->getGuildLogo();
$guildLogoInfo = explode(';', $guildLogo, 3);
$image = array();
$image['content_mtime'] = $guildLogoInfo[0];
var_dump($guild->getName(), strlen(base64_decode(substr($guildLogoInfo[2], 7));));
die();

Now visit your site: your_domain.com/guild_image.php?id=5, where 5 is id of your existing guild.

And tell me the result.

Also, is your guild_logo column in guilds table in database empty?


I got the same problem as his, and yes my guild_logo column is empty
 
Back
Top