Epesi ENS | Epesi Academy | epesi.cloud PaaS | GitHub

Help Me! | Download from SourceForge Download Epesi BIM Free & Open Source CRM


Hi,
i have updated EPESI to 1.6.1 (two times to be sure all is ok).
Now all works correctly but in every page appears a strange symbol...what is it?? and how can i eliminate it???

StrangeSymbol1.jpg


ZOOM

StrangeSymbol2.jpg

The HTML of page is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://www.w3.org/2005/11/profile">
<link rel="icon" type="image/png" href="images/favicon.png" />
<link rel="apple-touch-icon" href="images/apple-favicon.png" />
<title>EPESI</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />
<meta name="robots" content="NOINDEX, NOARCHIVE">
<script type="text/javascript" src="serve.php?f%5B0%5D=libs%2Fprototype.js&f%5B1%5D=libs%2Fjquery-1.7.2.min.js&f%5B2%5D=libs%2Fjquery-ui-1.10.1.custom.min.js&f%5B3%5D=libs%2FHistoryKeeper.js&f%5B4%5D=include%2Fepesi.js&amp;1410617696"></script>
<link type="text/css" href="serve.php?f%5B0%5D=libs%2Fjquery-ui-1.10.1.custom.min.css&amp;1410617696" rel="stylesheet"></link>

<style type="text/css">
#epesiStatus {
/* Netscape 4, IE 4.x-5.0/Win and other lesser browsers will use this */
position: fixed;
left: 50%; top: 30%;
margin-left: -280px;
/* all */
/*background-color: #e6ecf2;*/
background-color: white;
border: 5px solid #336699;
visibility: hidden;
width: 560px;
text-align: center;
vertical-align: middle;
z-index: 2002;
color: #336699;
overflow: hidden;

/* css3 shadow border*/
-webkit-box-shadow: 1px 1px 15px black;
-moz-box-shadow: 1px 1px 15px black;
box-shadow: 1px 1px 15px black;
/* end css3 shadow border*/

/* border radius */
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
/* end border radius */
}
#epesiStatus table {
color: #336699;
font-weight: bold;
font-family: Tahoma, Verdana, Vera-Sans, DejaVu-Sans;
font-size: 11px;
border: 5px solid #FFFFFF;
}

</style>
</head>
<body >

<div id="body_content">
<div id="main_content" style="display:none;"></div>
<div id="debug_content" style="padding-top:97px;display:none;">
<div class="button" onclick="$('error_box').innerHTML='';$('debug_content').style.display='none';">Hide</div>
<div id="debug"></div>
<div id="error_box"></div>
</div>

<div id="epesiStatus">
<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr>
<td><img src="images/logo.png" alt="logo" width="550" height="200" border="0"></td>
</tr>
<tr>
<td style="text-align: center; vertical-align: middle; height: 30px;"><span id="epesiStatusText">Starting epesi ...</span></td>
</tr>
<tr>
<td style="text-align: center; vertical-align: middle; height: 30px;"><img src="images/loader.gif" alt="loader" width="256" height="10" border="0"></td>
</tr>
</table>
</div>
</div>
<script type="text/javascript">Epesi.init(0,'/crmwip/process.php','');</script>
<noscript>Please enable JavaScript in your browser and let EPESI work!</noscript>
</body>
</html>
?


While tha patche_log is:

========= 2014/09/03 16:42:13 =========
========= 2014/09/25 09:49:10 =========
[modules/Utils/RecordBrowser/patches/add_id_keys.php] Running...
[modules/Utils/RecordBrowser/patches/add_id_keys.php] [85d477428523a60fd9cf107a2033cc1a] SUCCESS
[modules/Utils/RecordBrowser/patches/add_processing_order.php] Running...
[modules/Utils/RecordBrowser/patches/add_processing_order.php] [93af47e2bea662f5631a77d3713aebf1] SUCCESS
[modules/CRM/Roundcube/patches/20140724_collation.php] Running...
[modules/CRM/Roundcube/patches/20140724_collation.php] [e35532bd54116493bfa7c9edc061a9fb] SUCCESS
[modules/CRM/Contacts/patches/20140729_unique.php] Running...
[modules/CRM/Contacts/patches/20140729_unique.php] [a66487ffdc03a5408ed8554839a65ed0] SUCCESS
[modules/Base/patches/20140804_cron_db_table3.php] Running...
[modules/Base/patches/20140804_cron_db_table3.php] [a3cb545ec9dccfd7035c00c6c3e3db8d] SUCCESS
[modules/Base/patches/20140804_cron_module.php] Running...
[modules/Base/patches/20140804_cron_module.php] [2a77719eb54b69d3618ccc36e816fc47] SUCCESS
=== OUTPUT ===
<b>Base_Cron</b> module installed!<br>
=== END OUTPUT ===
[modules/CRM/Roundcube/patches/20140808_fix_icon.php] Running...
[modules/CRM/Roundcube/patches/20140808_fix_icon.php] [dbe0205963ba193c95b841008e884b83] SUCCESS
[modules/CRM/Contacts/patches/20140812_description_callbacks.php] Running...
[modules/CRM/Contacts/patches/20140812_description_callbacks.php] [af467809ee1e033d54ba1dd98f0c8bba] SUCCESS
[modules/Utils/RecordBrowser/patches/20140826_change_words_index.php] Running...
[modules/Utils/RecordBrowser/patches/20140826_change_words_index.php] [86f08763275c63af5a816500e968cb19] TIMEOUT
========= 2014/09/25 09:49:24 =========
[modules/Utils/RecordBrowser/patches/20140826_change_words_index.php] Running...
[modules/Utils/RecordBrowser/patches/20140826_change_words_index.php] [86f08763275c63af5a816500e968cb19] SUCCESS
[modules/Base/patches/20140827_install_print_module.php] Running...
[modules/Base/patches/20140827_install_print_module.php] [e916f711a09c74a697db2e1f2a453139] SUCCESS
[modules/Utils/RecordBrowser/patches/20140827_remove_private.php] Running...
[modules/Utils/RecordBrowser/patches/20140827_remove_private.php] [bcb872e4bb623cde2eeca7e68b7ac02b] SUCCESS
[modules/Utils/RecordBrowser/patches/20140827_search_include.php] Running...
[modules/Utils/RecordBrowser/patches/20140827_search_include.php] [3857a91b419371f8b4f74ef7b33e1e58] SUCCESS
[modules/Utils/RecordBrowser/patches/20140828_register_printer.php] Running...
[modules/Utils/RecordBrowser/patches/20140828_register_printer.php] [b9edb4daabe51b8f8dc39867e608d8e5] SUCCESS

Here i see ([modules/Utils/RecordBrowser/patches/20140826_change_words_index.php] [86f08763275c63af5a816500e968cb19] TIMEOUT) but i not know if can be problem...

tnx a lot

Hi.
Patch was resumed and it was "success" - it's not a problem.

What is "?" at the end of html code?
This kind of bugs can occur when you edit code with "bad" editor or file transfer bug.
You can download epesi zip file again and just replace index.php file to make sure it's doesn't have invalid chars (or even all files).
Alternatively please check the end of file index.php - delete every char after "?>", even if you don't see it. On windows use some programmers editor like notepad++.

Paweł

[quote="shacky":kupx6mq1]Hi.
Patch was resumed and it was "success" - it's not a problem.

What is "?" at the end of html code?
This kind of bugs can occur when you edit code with "bad" editor or file transfer bug.
You can download epesi zip file again and just replace index.php file to make sure it's doesn't have invalid chars (or even all files).
Alternatively please check the end of file index.php - delete every char after "?>", even if you don't see it. On windows use some programmers editor like notepad++.

Paweł[/quote:kupx6mq1]

I have downloaded epesi_master.zip and i have re-upload index.php file...but nothing...strange symbol remains.

this is my index.php file (but i think is not this problem because file is new

<?php
/**
* Index file
*
* This file includes all 'include files', loads modules
* and gets output of default module.
* @author Paul Bukowski <pbukowski@telaxus.com>
* @copyright Copyright &copy; 2006, Telaxus LLC
* @license MIT
* @version 1.0
* @package epesi-base
*/
if(version_compare(phpversion(), '5.0.0')==-1)
die("You are running an old version of PHP, php5 required.");

if(trim(ini_get("safe_mode")))
die('You cannot use EPESI with PHP safe mode turned on - please disable it. Please notice this feature is deprecated since PHP 5.3 and will be removed in PHP 6.0.');

define('_VALID_ACCESS',1);
require_once('include/data_dir.php');
if(!file_exists(DATA_DIR.'/config.php')) {
header('Location: setup.php');
exit();
}

if(!is_writable(DATA_DIR))
die('Cannot write into "'.DATA_DIR.'" directory. Please fix privileges.');

// require_once('include/include_path.php');
require_once('include/config.php');
require_once('include/maintenance_mode.php');
require_once('include/error.php');
require_once('include/database.php');
require_once('include/variables.php');
if(epesi_requires_update()) {
header('Location: update.php');
exit();
}
$tables = DB::MetaTables();
if(!in_array('modules',$tables) || !in_array('variables',$tables) || !in_array('session',$tables))
die('Database structure you are using is apparently out of date or damaged. If you didn\'t perform application update recently you should try to restore the database. Otherwise, please refer to EPESI documentation in order to perform database update.');

require_once('include/misc.php');

if(IPHONE) {
if(!isset($_GET['force_epesi'])) {
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="NOINDEX, NOARCHIVE">
<meta id="viewport" name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<title><?php print(EPESI);?></title>
<link rel="stylesheet" href="libs/UiUIKit/stylesheets/iphone.css" />
<link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
<script type="text/javascript" charset="utf-8">
window.onload = function() {
setTimeout(function(){window.scrollTo(0, 1);}, 100);
}
</script>
</head>

<body>
<div id="header">
<h1><?php print(EPESI);?></h1>
</div>

Please choose <?php print(EPESI);?> version:<ul>
<li><a href="mobile.php" class="white button">mobile</a><br>
<li><a href="index.php?force_epesi=1" class="green button">desktop</a>
</ul>

</body>
</html>
<?php
exit();
}
} elseif(detect_mobile_device()) {
header('Location: mobile.php');
exit();
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://www.w3.org/2005/11/profile">
<link rel="icon" type="image/png" href="images/favicon.png" />
<link rel="apple-touch-icon" href="images/apple-favicon.png" />
<title><?php print(EPESI);?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />
<meta name="robots" content="NOINDEX, NOARCHIVE">
<?php
ini_set('include_path','libs/minify'.PATH_SEPARATOR.'.'.PATH_SEPARATOR.'libs'.PATH_SEPARATOR.ini_get('include_path'));
require_once('Minify/Build.php');
$jses = array('libs/prototype.js','libs/jquery-1.7.2.min.js','libs/jquery-ui-1.10.1.custom.min.js','libs/HistoryKeeper.js','include/epesi.js');
$jsses_build = new Minify_Build($jses);
$jsses_src = $jsses_build->uri('serve.php?'.http_build_query(array('f'=>array_values($jses))));
?>
<script type="text/javascript" src="<?php print($jsses_src)?>"></script>
<?php
$csses = array('libs/jquery-ui-1.10.1.custom.min.css');
$csses_build = new Minify_Build($csses);
$csses_src = $csses_build->uri('serve.php?'.http_build_query(array('f'=>array_values($csses))));
?>
<link type="text/css" href="<?php print($csses_src)?>" rel="stylesheet"></link>

<style type="text/css">
<?php if (DIRECTION_RTL) print('body { direction: rtl; }'); ?>
#epesiStatus {
/* Netscape 4, IE 4.x-5.0/Win and other lesser browsers will use this */
position: fixed;
left: 50%; top: 30%;
margin-left: -280px;
/* all */
/*background-color: #e6ecf2;*/
background-color: white;
border: 5px solid #336699;
visibility: hidden;
width: 560px;
text-align: center;
vertical-align: middle;
z-index: 2002;
color: #336699;
overflow: hidden;

/* css3 shadow border*/
-webkit-box-shadow: 1px 1px 15px black;
-moz-box-shadow: 1px 1px 15px black;
box-shadow: 1px 1px 15px black;
/* end css3 shadow border*/

/* border radius */
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
/* end border radius */
}
#epesiStatus table {
color: #336699;
font-weight: bold;
font-family: Tahoma, Verdana, Vera-Sans, DejaVu-Sans;
font-size: 11px;
border: 5px solid #FFFFFF;
}

</style>
<?php print(TRACKING_CODE); ?>
</head>
<body <?php if (DIRECTION_RTL) print('class="epesi_rtl"'); ?> >

<div id="body_content">
<div id="main_content" style="display:none;"></div>
<div id="debug_content" style="padding-top:97px;display:none;">
<div class="button" onclick="$('error_box').innerHTML='';$('debug_content').style.display='none';">Hide</div>
<div id="debug"></div>
<div id="error_box"></div>
</div>

<div id="epesiStatus">
<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr>
<td><img src="images/logo.png" alt="logo" width="550" height="200" border="0"></td>
</tr>
<tr>
<td style="text-align: center; vertical-align: middle; height: 30px;"><span id="epesiStatusText"><?php print(STARTING_MESSAGE);?></span></td>
</tr>
<tr>
<td style="text-align: center; vertical-align: middle; height: 30px;"><img src="images/loader.gif" alt="loader" width="256" height="10" border="0"></td>
</tr>
</table>
</div>
</div>
<?php
/*
* init_js file allows only num_of_clients sessions. If there is image
* with empty src="" browser will load index.php file, so we cannot
* include init_js file directly because num_of_clients request will
* reset our history and restart EPESI.
*
* Check here if request accepts html. If it does we can assume that
* this is request for page and include init_js file which is faster.
* If there is not 'html' in accept use script with src property.
*/
if(isset($_SERVER['HTTP_ACCEPT']) && stripos($_SERVER['HTTP_ACCEPT'], 'html') !== false) { ?>
<script type="text/javascript"><?php require_once 'init_js.php'; ?></script>
<?php } else { ?>
<script type="text/javascript" src="init_js.php?<?php print(http_build_query($_GET));?>"></script>
<?php } ?>
<noscript>Please enable JavaScript in your browser and let <?php print(EPESI);?> work!</noscript>
<?php if(IPHONE) { ?>
<script type="text/javascript">var iphone=true;</script>
<?php } ?>
</body>
</html>
<?php
$content = ob_get_contents();
ob_end_clean();

require_once('libs/minify/HTTP/Encoder.php');
$he = new HTTP_Encoder(array('content' => $content));
if (MINIFY_ENCODE)
$he->encode();
$he->sendAll();
?>

if i re-upload all files of 3.6.1 zip-file version i will risk to destroy my EPESI or is not problem??? can it resolve my strange problem..??

tnx a lot

If you don't have custom changes in epesi modules, there is no risk to break anything - everything is in "data" directory and it's not overwritten because in release package it's empty directory.

Write a Reply...