promo images not showing

All the topics other than the two goes here.
  • Ads

promo images not showing

Postby nocomp » Sun Oct 25, 2009 9:19 am

hi folks,
any ideas why promo images aren t showing?
what should i check?
file perm on the dire is 755
url: http://ks34138.kimsufi.com/~riacom/site/index.php
thx for helping
best regards
nocomp
Newbie
Newbie
 
Posts: 21
Joined: Fri Oct 23, 2009 3:52 pm

Re: promo images not showing

Postby Administrator » Mon Oct 26, 2009 1:33 pm

In your site the image details are not sent by the server. In your other post, you said, you have changed some codes in inc/design.inc.php

What did you change there?
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 1069
Joined: Mon Aug 25, 2008 7:18 am
Location: India

Re: promo images not showing

Postby nocomp » Mon Oct 26, 2009 1:37 pm

hi,
i ve just add the path to the promoigaes dir instead of leave the var for it
this is my mod:

$rDir = opendir( $dir['/home/riacom/www/site/media/images/promo'] );

thx for helping me out
best regards
nocomp
Newbie
Newbie
 
Posts: 21
Joined: Fri Oct 23, 2009 3:52 pm

Re: promo images not showing

Postby Administrator » Mon Oct 26, 2009 1:50 pm

You have to add it as follows.

Code: Select all
$rDir = opendir( '/home/riacom/www/site/media/images/promo/' );
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 1069
Joined: Mon Aug 25, 2008 7:18 am
Location: India

Re: promo images not showing

Postby nocomp » Mon Oct 26, 2009 1:58 pm

hi praveen,
just tried yout tip, but no changes :'(
http://ks34138.kimsufi.com/~riacom/site/

thx for helping
best regards
nocomp
Newbie
Newbie
 
Posts: 21
Joined: Fri Oct 23, 2009 3:52 pm

Re: promo images not showing

Postby nocomp » Mon Oct 26, 2009 2:21 pm

i just found another bug,
when you clic on admin profile for view it, you get plenty of warning, maybe it s linked to the same prob
hope it ll help
best regards
herve
nocomp
Newbie
Newbie
 
Posts: 21
Joined: Fri Oct 23, 2009 3:52 pm

Re: promo images not showing

Postby Administrator » Mon Oct 26, 2009 8:06 pm

First update the inc/header.inc.php as I have replied in the other post.

You may get some errors. Post them here.
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 1069
Joined: Mon Aug 25, 2008 7:18 am
Location: India

Re: promo images not showing

Postby Administrator » Mon Oct 26, 2009 8:10 pm

Post a copy of your inc/header.inc.php
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 1069
Joined: Mon Aug 25, 2008 7:18 am
Location: India

Re: promo images not showing

Postby nocomp » Mon Oct 26, 2009 8:15 pm

hi praveen,
thx for your help,
here is the copy of the header file
best regards

Code: Select all
<?

/***************************************************************************
*                            Dolphin Smart Community Builder
*                              -----------------
*     begin                : Mon Mar 23 2006
*     copyright            : (C) 2006 BoonEx Group
*     website              : http://www.boonex.com/
* This file is part of Dolphin - Smart Community Builder
*
* Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License.
* http://creativecommons.org/licenses/by/3.0/
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the Creative Commons Attribution 3.0 License for more details.
* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin,
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/

$site['ver']               = '7.0';
$site['build']             = 'beta';
$site['url']               = "http://ks34138.kimsufi.com/~riacom/site/";
$admin_dir                 = "administration";
$site['url_admin']         = "{$site['url']}$admin_dir/";

$site['mediaImages']       = "{$site['url']}media/images/";
$site['gallery']           = "{$site['url']}media/images/gallery/";
$site['flags']             = "{$site['url']}media/images/flags/";
$site['banners']           = "{$site['url']}media/images/banners/";
$site['imagesPromo']       = "{$site['url']}media/images/promo/";
$site['tmp']               = "{$site['url']}tmp/";
$site['plugins']           = "{$site['url']}plugins/";
$site['base']              = "{$site['url']}templates/base/";

$site['bugReportMail']     = "xxxxx@gmail.com";

$dir['root']               = "/home/riacom/www/site/";
$dir['inc']                = "{$dir['root']}inc/";
$dir['profileImage']       = "{$dir['root']}media/images/profile/";

$dir['mediaImages']        = "{$dir['root']}media/images/";
$dir['gallery']            = "{$dir['root']}media/images/gallery/";
$dir['flags']              = "{$dir['root']}media/images/flags/";
$dir['banners']            = "{$dir['root']}media/images/banners/";
$dir['imagesPromo']        = "{$dir['root']}media/images/promo/";
$dir['tmp']                = "{$dir['root']}tmp/";
$dir['cache']              = "{$dir['root']}cache/";
$dir['plugins']            = "{$dir['root']}plugins/";
$dir['base']               = "{$dir['root']}templates/base/";
$dir['classes']            = "{$dir['inc']}classes/";

$video_ext                 = 'avi';
$MOGRIFY                   = "/usr/local/bin/mogrify";
$CONVERT                   = "/usr/local/bin/convert";
$COMPOSITE                 = "/usr/local/bin/composite";
$PHPBIN                    = "/usr/local/bin/php";

$db['host']                = 'localhost';
$db['sock']                = '';
$db['port']                = '';
$db['user']                = 'xxxxx';
$db['passwd']              = 'xxxxx';
$db['db']                  = 'xxxxx';

define('BX_DOL_URL_ROOT', $site['url']);
define('BX_DOL_URL_ADMIN', $site['url_admin']);
define('BX_DOL_URL_PLUGINS', $site['plugins']);
define('BX_DOL_URL_MODULES', $site['url'] . 'modules/' );
define('BX_DOL_URL_CACHE_PUBLIC', $site['url'] . 'cache_public/');

define('BX_DIRECTORY_PATH_INC', $dir['inc']);
define('BX_DIRECTORY_PATH_ROOT', $dir['root']);
define('BX_DIRECTORY_PATH_BASE', $dir['base']);
define('BX_DIRECTORY_PATH_CACHE', $dir['cache']);
define('BX_DIRECTORY_PATH_CLASSES', $dir['classes']);
define('BX_DIRECTORY_PATH_PLUGINS', $dir['plugins']);
define('BX_DIRECTORY_PATH_DBCACHE', $dir['cache']);
define('BX_DIRECTORY_PATH_MODULES', $dir['root'] . 'modules/' );
define('BX_DIRECTORY_PATH_CACHE_PUBLIC', $dir['root'] . 'cache_public/' );

define('DATABASE_HOST', $db['host']);
define('DATABASE_SOCK', $db['sock']);
define('DATABASE_PORT', $db['port']);
define('DATABASE_USER', $db['user']);
define('DATABASE_PASS', $db['passwd']);
define('DATABASE_NAME', $db['db']);


define('CHECK_DOLPHIN_REQUIREMENTS', 1);
if (defined('CHECK_DOLPHIN_REQUIREMENTS')) {
   //check requirements
   $aErrors = array();

   $aErrors[] = (ini_get('register_globals') == 0) ? '' : '<font color="red">register_globals is On (warning, you should have this param in Off state, or your site will unsafe)</font>';
   $aErrors[] = (ini_get('safe_mode') == 0) ? '' : '<font color="red">safe_mode is On, disable it</font>';
   //$aErrors[] = (ini_get('allow_url_fopen') == 0) ? 'Off (warning, better keep this parameter in On to able register Dolphin' : '';
   $aErrors[] = (((int)phpversion()) < 4) ? '<font color="red">PHP version too old, update server please</font>' : '';
   $aErrors[] = (! extension_loaded( 'mbstring')) ? '<font color="red">mbstring extension not installed. <b>Warning!</b> Dolphin cannot work without <b>mbstring</b> extension.</font>' : '';

   if (version_compare(phpversion(), "5.2", ">") == 1) {
      $aErrors[] = (ini_get('allow_url_include') == 0) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';
   };

   $aErrors[] = (get_magic_quotes_gpc()) ? '' : '<font color="red">get_magic_quotes_gpc is Off, enable it</font>';

   $aErrors = array_diff($aErrors, array('')); //delete empty
   if (count($aErrors)) {
      $sErrors = implode(" <br /> ", $aErrors);
      echo <<<EOF
{$sErrors} <br />
Please go to the <br />
<a href="http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter">Dolphin Troubleshooter</a> <br />
and solve the problem.
EOF;
      exit;
   }
}

//check correct hostname
$aUrl = parse_url( $site['url'] );
if( isset($_SERVER['HTTP_HOST']) and 0 != strcasecmp($_SERVER['HTTP_HOST'], $aUrl['host']) and 0 != strcasecmp($_SERVER['HTTP_HOST'], $aUrl['host'] . ':80') )
{
   header( "Location:http://{$aUrl['host']}{$_SERVER['REQUEST_URI']}" );
   exit;
}

// check if install folder exists
if ( !defined ('BX_SKIP_INSTALL_CHECK') && file_exists( $dir['root'] . 'install' ) )
{
   $ret = <<<EOJ
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
      <head>
         <title>Dolphin Smart Community Builder Installed</title>
         <link href="install/general.css" rel="stylesheet" type="text/css" />
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      </head>
      <body>
         <div id="main">
         <div id="header">
            <img src="install/images/boonex-logo.png" alt="" /></div>
         <div id="content">
            <div class="installed_pic">
               <img alt="Dolphin Installed" src="install/images/dolphin_installed.jpg" />
         </div>

         <div class="installed_text">
            Please, remove INSTALL directory from your server and reload this page to activate your community site.
         </div>
         <div class="installed_text">
            <a href="administration/modules.php">And only after goto admin page to install modules</a>
         </div>
      </body>
   </html>
EOJ;
   echo $ret;
   exit();
}

// set error reporting level
if (version_compare(phpversion(), "5.3.0", ">=") == 1)
  error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
else
  error_reporting(E_ALL & ~E_NOTICE);
set_magic_quotes_runtime(0);
ini_set('magic_quotes_sybase', 0);

// set default encoding for multibyte functions
mb_internal_encoding('UTF-8');
mb_regex_encoding('UTF-8');

require_once(BX_DIRECTORY_PATH_ROOT . "flash/modules/global/inc/header.inc.php");
require_once(BX_DIRECTORY_PATH_ROOT . "flash/modules/global/inc/content.inc.php");
require_once(BX_DIRECTORY_PATH_CLASSES . "BxDolService.php");
?>
nocomp
Newbie
Newbie
 
Posts: 21
Joined: Fri Oct 23, 2009 3:52 pm

Re: promo images not showing

Postby Administrator » Tue Oct 27, 2009 3:54 am

Its correct.

Are you getting any errors now?
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 1069
Joined: Mon Aug 25, 2008 7:18 am
Location: India

Re: promo images not showing

Postby nocomp » Tue Oct 27, 2009 7:26 am

hi,
i get no errors and no pictures :'(
best regards
nocomp
Newbie
Newbie
 
Posts: 21
Joined: Fri Oct 23, 2009 3:52 pm

Re: promo images not showing

Postby Administrator » Tue Oct 27, 2009 3:30 pm

You can send your site details via PM. I can check that.
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 1069
Joined: Mon Aug 25, 2008 7:18 am
Location: India

Re: promo images not showing

Postby nocomp » Tue Oct 27, 2009 4:40 pm

i gonna do a fresh install on another server see if it fix bugs.
i let u know
thx for helping
nocomp
Newbie
Newbie
 
Posts: 21
Joined: Fri Oct 23, 2009 3:52 pm

  • Ads

Return to Dolphin General Help

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron