Cannot show uploaded media
  • hi,AlexC
    I've installed Tango CMS 2.6.1 , running it on windows2003/apache2.2/php-5.3.8(included FileInfo).I upload a picture show me 'Added new media item' ,but the picture is not displayed(Thumbnail is black picture). I found the uploaded file is exist 'assets/uploads' directory.
    Tell me how to fix it,Pls.
  • I got it, must be install to root directory :-S
  • Hum there is no requirement for it to be installed to the root directory, it should work just fine. Sounds like a configuration issue with the web server, or an issue with your theme (as mad as that sounds). Are you using the default themes?

    Regards
  • I using the default themes,Tango CMS installed in Apache Virtual Host.
    My problem is not resolved.
  • iam using windows to and i had the same problem ... the problem is in here ...
    ( tangocms-2.6.1\application\modules\media\models ) media.php open the php file
    and paste this code in line 371.

    $explode_fname = explode('/',$filename);
    $explode_thname = explode('/',$thumbnail);
    $n_fname = $explode_fname[count($explode_fname)-2]."/".$explode_fname[count($explode_fname)-1];
    $th_fname = $explode_thname[count($explode_thname)-2]."/".$explode_thname[count($explode_thname)-1];

    inform me if it worked for ...

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Tagged