Feefty Posted April 5, 2013 Author Posted April 5, 2013 i can't find any problem at all and i guess its the path of the images. just add me on skype(kingfeefty) and ill have a look into it
Hyvraine Posted April 5, 2013 Posted April 5, 2013 (edited) I am using version 1.2 For the add.php: Use Notepad++ (you can also use the normal Notepad I think) Search for "<?=" and replace all with "<?php" Then search for "<?php h" and replace all with "<?php echo h" For department.php: Search for "<?=" and replace all with "<?php" Then search for "<?php h" and replace all with "<?php echo h" Then search for "<?php d" and replace all with "<?php echo d" Then search for "<?php g" and replace all with "<?php echo g" Then search for "<?php (" and replace all with "<?php echo (" Then search for "<?php (i" and replace all with "<?php echo (i" Change line 47 to this: Quote <img src='<?php echo Flux::config('BaseURI').'/'.FLUX_ADDON_DIR.'/support/themes/'.Flux::config('ThemeName').'/img/delete.png' ?>' alt='Delete' border='' /> Delete For settings.php, edit.php, view.php, search.php, index.php Search for "<?= " and replace all with "<?php echo " If there's still anything not working in department.php, please reply. I may have skipped something If I messed up something, don't blame me. I'm just trying to help. Edited November 1, 2022 by Hyvraine censored 1
Erba Posted April 5, 2013 Posted April 5, 2013 I am using version 1.2 For the add.php: Use Notepad++ (you can also use the normal Notepad I think) Search for "<?=" and replace all with "<?php" Then search for "<?php h" and replace all with "<?php echo h" For department.php: Search for "<?=" and replace all with "<?php" Then search for "<?php h" and replace all with "<?php echo h" Then search for "<?php d" and replace all with "<?php echo d" Then search for "<?php g" and replace all with "<?php echo g" Then search for "<?php (" and replace all with "<?php echo (" Then search for "<?php (i" and replace all with "<?php echo (i" Change line 47 to this: <img src='<?php echo Flux::config('BaseURI').'/'.FLUX_ADDON_DIR.'/support/themes/'.Flux::config('ThemeName').'/img/delete.png' ?>' alt='Delete' border='' /> Delete For settings.php, edit.php, view.php, search.php, index.php Search for "<?= " and replace all with "<?php echo " If there's still anything not working in department.php, please reply. I may have skipped something D: If I fucked up something, don't blame me. I'm just trying to help. I already fix mine.. but i didnt follow all of it.. i fixed mine by making all <?= to <?php echo for Department upto Index.. thanks sir! but last problem... Still after i submit a ticket it shows Unexpected Error 1 and it doesnt show any departments
Hyvraine Posted April 6, 2013 Posted April 6, 2013 http://www.mediafire.com/download.php?k2p2gd68s38uc6y
Erba Posted April 6, 2013 Posted April 6, 2013 http://www.mediafire.com/download.php?k2p2gd68s38uc6y sir what is the difference of that DL link into the old one?
Erba Posted April 6, 2013 Posted April 6, 2013 Problem Fix but the last thing is that everytime i create a ticket and hit Submit i always received this message "Unexpected error occurred. (Err no. 1)"
Feefty Posted April 6, 2013 Author Posted April 6, 2013 short_open_tag should be enabled and PHP version 5.4+ i'll just change it to standard echo when i get back.
Mr BrycE Posted April 30, 2013 Posted April 30, 2013 everything is working fine, but the email feature, i cant recieve any emails when someone file a ticket...is @yahoo.com not valid?
Thanna Posted September 6, 2013 Posted September 6, 2013 (edited) Hello sir, I tried to use your addon installed it correctly its working fine but when you try to login with invalid credentials this error prompt out Fatal error: Call to a member function getStatement() on a non-object in C:\xampp\htdocs\flux3\addons\support\modules\support\function.php on line 305 and another problem, when using integrated theme, viewing of departments and tickets dont work, I correctly renamed the addon to my theme name for it to work but the error occur Edited September 6, 2013 by Thanna 1
rmon008 Posted September 24, 2013 Posted September 24, 2013 about the support ticket, i have problem browsing the following : i cannot view the ticket i made deparment list not showing when i try to search the number of ticket the normal account send to a deparment nothing is showing * seeing [1] unread ticket but i cant find it in gm account(department that i made before the normal account submitted a ticket
gee001 Posted October 8, 2013 Posted October 8, 2013 [08-Oct-2013 14:37:34 Asia/Manila] PHP Parse error: syntax error, unexpected '<' in /home/sacredro/public_html/themes/default/header.php on line 2 this is my error. and this is my theme/default/header.php <?php if (!defined('FLUX_ROOT')) exit; require_once(FLUX_ROOT.'/'.FLUX_ADDON_DIR.'/support/modules/support/function.php'); <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <?php if (isset($metaRefresh)): ?> <meta http-equiv="refresh" content="<?php echo $metaRefresh['seconds'] ?>; URL=<?php echo $metaRefresh['location'] ?>" /> <?php endif ?> <title><?php echo Flux::config('SiteTitle'); if (isset($title)) echo ": $title" ?></title> <link rel="stylesheet" href="<?php echo $this->themePath('css/flux.css') ?>" type="text/css" media="screen" title="" charset="utf-8" /> <link href="<?php echo $this->themePath('css/flux/unitip.css') ?>" rel="stylesheet" type="text/css" media="screen" title="" charset="utf-8" /> <?php if (Flux::config('EnableReCaptcha')): ?> <link href="<?php echo $this->themePath('css/flux/recaptcha.css') ?>" rel="stylesheet" type="text/css" media="screen" title="" charset="utf-8" /> <?php endif ?> <!--[if IE]> <link rel="stylesheet" href="<?php echo $this->themePath('css/flux/ie.css') ?>" type="text/css" media="screen" title="" charset="utf-8" /> <![endif]--> <!--[if lt IE 9]> <script src="<?php echo $this->themePath('js/ie9.js') ?>" type="text/javascript"></script> <script type="text/javascript" src="<?php echo $this->themePath('js/flux.unitpngfix.js') ?>"></script> <![endif]--> <script type="text/javascript" src="<?php echo $this->themePath('js/jquery-1.8.3.min.js') ?>"></script> <script type="text/javascript" src="<?php echo $this->themePath('js/flux.datefields.js') ?>"></script> <script type="text/javascript" src="<?php echo $this->themePath('js/flux.unitip.js') ?>"></script> <script type="text/javascript"> $(document).ready(function(){ var inputs = 'input[type=text],input[type=password],input[type=file]'; $(inputs).focus(function(){ $(this).css({ 'background-color': '#f9f5e7', 'border-color': '#dcd7c7', 'color': '#726c58' }); }); $(inputs).blur(function(){ $(this).css({ 'backgroundColor': '#ffffff', 'borderColor': '#dddddd', 'color': '#444444' }, 500); }); $('.menuitem a').hover( function(){ $(this).fadeTo(200, 0.85); $(this).css('cursor', 'pointer'); }, function(){ $(this).fadeTo(150, 1.00); $(this).css('cursor', 'normal'); } ); $('.money-input').keyup(function() { var creditValue = parseInt($(this).val() / <?php echo Flux::config('CreditExchangeRate') ?>, 10); if (isNaN(creditValue)) $('.credit-input').val('?'); else $('.credit-input').val(creditValue); }).keyup(); $('.credit-input').keyup(function() { var moneyValue = parseFloat($(this).val() * <?php echo Flux::config('CreditExchangeRate') ?>); if (isNaN(moneyValue)) $('.money-input').val('?'); else $('.money-input').val(moneyValue.toFixed(2)); }).keyup(); // In: js/flux.datefields.js processDateFields(); }); function reload(){ window.location.href = '<?php echo $this->url ?>'; } </script> <script type="text/javascript"> function updatePreferredServer(sel){ var preferred = sel.options[sel.selectedIndex].value; document.preferred_server_form.preferred_server.value = preferred; document.preferred_server_form.submit(); } // Preload spinner image. var spinner = new Image(); spinner.src = '<?php echo $this->themePath('img/spinner.gif') ?>'; function refreshSecurityCode(imgSelector){ $(imgSelector).attr('src', spinner.src); // Load image, spinner will be active until loading is complete. var clean = <?php echo Flux::config('UseCleanUrls') ? 'true' : 'false' ?>; var image = new Image(); image.src = "<?php echo $this->url('captcha') ?>"+(clean ? '?nocache=' : '&nocache=')+Math.random(); $(imgSelector).attr('src', image.src); } function toggleSearchForm() { //$('.search-form').toggle(); $('.search-form').slideToggle('fast'); } </script> <?php if (Flux::config('EnableReCaptcha') && Flux::config('ReCaptchaTheme')): ?> <script type="text/javascript"> var RecaptchaOptions = { theme : '<?php echo Flux::config('ReCaptchaTheme') ?>' }; </script> <?php endif ?> </head> <body> <table cellspacing="0" cellpadding="0" width="100%"> <tr> <!-- Header --> <td bgcolor="#8ebceb" width="20"></td> <td bgcolor="#8ebceb" colspan="3"> <a href="<?php echo $this->basePath ?>"> <img src="<?php echo $this->themePath($session->account->group_level >= Flux::config('AdminMenuGroupLevel') ? 'img/logo_admin.gif' : 'img/logo.gif') ?>" id="logo" /> </a> </td> <td bgcolor="#8ebceb" width="20"></td> </tr> <tr> <!-- Spacing between header and content --> <td colspan="3" height="20"></td> </tr> <tr> <td style="padding: 10px"></td> <td width="198"> <!-- Sidebar --> <?php include 'main/sidebar.php' ?> </td> <!-- Spacing between sidebar and content --> <td style="padding: 10px"></td> <td width="100%"> <!-- Login box / User information --> <?php include 'main/loginbox.php' ?> <!-- Content --> <table cellspacing="0" cellpadding="0" width="100%" id="content"> <tr> <td width="18"><img src="<?php echo $this->themePath('img/content_tl.gif') ?>" style="display: block" /></td> <td bgcolor="#f5f5f5"></td> <td width="18"><img src="<?php echo $this->themePath('img/content_tr.gif') ?>" style="display: block" /></td> </tr> <tr> <td bgcolor="#f5f5f5"></td> <td bgcolor="#f5f5f5"> <?php if (Flux::config('DebugMode') && @gethostbyname(Flux::config('ServerAddress')) == '127.0.0.1'): ?> <p class="notice">Please change your <strong>ServerAddress</strong> directive in your application config to your server's real address (e.g., myserver.com).</p> <?php endif ?> <!-- Messages --> <?php if ($message=$session->getMessage()): ?> <p class="message"><?php echo htmlspecialchars($message) ?></p> <?php endif ?> <!-- Sub menu --> <?php include 'main/submenu.php' ?> <!-- Page menu --> <?php include 'main/pagemenu.php' ?> <!-- Credit balance --> <?php if (in_array($params->get('module'), array('donate', 'purchase'))) include 'main/balance.php' ?> can anyone help me on this asap, please. thanks in advance
Feefty Posted October 12, 2013 Author Posted October 12, 2013 [08-Oct-2013 14:37:34 Asia/Manila] PHP Parse error: syntax error, unexpected '<' in /home/sacredro/public_html/themes/default/header.php on line 2 this is my error. and this is my theme/default/header.php <?php if (!defined('FLUX_ROOT')) exit; require_once(FLUX_ROOT.'/'.FLUX_ADDON_DIR.'/support/modules/support/function.php'); <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <?php if (isset($metaRefresh)): ?> <meta http-equiv="refresh" content="<?php echo $metaRefresh['seconds'] ?>; URL=<?php echo $metaRefresh['location'] ?>" /> <?php endif ?> <title><?php echo Flux::config('SiteTitle'); if (isset($title)) echo ": $title" ?></title> <link rel="stylesheet" href="<?php echo $this->themePath('css/flux.css') ?>" type="text/css" media="screen" title="" charset="utf-8" /> <link href="<?php echo $this->themePath('css/flux/unitip.css') ?>" rel="stylesheet" type="text/css" media="screen" title="" charset="utf-8" /> <?php if (Flux::config('EnableReCaptcha')): ?> <link href="<?php echo $this->themePath('css/flux/recaptcha.css') ?>" rel="stylesheet" type="text/css" media="screen" title="" charset="utf-8" /> <?php endif ?> <!--[if IE]> <link rel="stylesheet" href="<?php echo $this->themePath('css/flux/ie.css') ?>" type="text/css" media="screen" title="" charset="utf-8" /> <![endif]--> <!--[if lt IE 9]> <script src="<?php echo $this->themePath('js/ie9.js') ?>" type="text/javascript"></script> <script type="text/javascript" src="<?php echo $this->themePath('js/flux.unitpngfix.js') ?>"></script> <![endif]--> <script type="text/javascript" src="<?php echo $this->themePath('js/jquery-1.8.3.min.js') ?>"></script> <script type="text/javascript" src="<?php echo $this->themePath('js/flux.datefields.js') ?>"></script> <script type="text/javascript" src="<?php echo $this->themePath('js/flux.unitip.js') ?>"></script> <script type="text/javascript"> $(document).ready(function(){ var inputs = 'input[type=text],input[type=password],input[type=file]'; $(inputs).focus(function(){ $(this).css({ 'background-color': '#f9f5e7', 'border-color': '#dcd7c7', 'color': '#726c58' }); }); $(inputs).blur(function(){ $(this).css({ 'backgroundColor': '#ffffff', 'borderColor': '#dddddd', 'color': '#444444' }, 500); }); $('.menuitem a').hover( function(){ $(this).fadeTo(200, 0.85); $(this).css('cursor', 'pointer'); }, function(){ $(this).fadeTo(150, 1.00); $(this).css('cursor', 'normal'); } ); $('.money-input').keyup(function() { var creditValue = parseInt($(this).val() / <?php echo Flux::config('CreditExchangeRate') ?>, 10); if (isNaN(creditValue)) $('.credit-input').val('?'); else $('.credit-input').val(creditValue); }).keyup(); $('.credit-input').keyup(function() { var moneyValue = parseFloat($(this).val() * <?php echo Flux::config('CreditExchangeRate') ?>); if (isNaN(moneyValue)) $('.money-input').val('?'); else $('.money-input').val(moneyValue.toFixed(2)); }).keyup(); // In: js/flux.datefields.js processDateFields(); }); function reload(){ window.location.href = '<?php echo $this->url ?>'; } </script> <script type="text/javascript"> function updatePreferredServer(sel){ var preferred = sel.options[sel.selectedIndex].value; document.preferred_server_form.preferred_server.value = preferred; document.preferred_server_form.submit(); } // Preload spinner image. var spinner = new Image(); spinner.src = '<?php echo $this->themePath('img/spinner.gif') ?>'; function refreshSecurityCode(imgSelector){ $(imgSelector).attr('src', spinner.src); // Load image, spinner will be active until loading is complete. var clean = <?php echo Flux::config('UseCleanUrls') ? 'true' : 'false' ?>; var image = new Image(); image.src = "<?php echo $this->url('captcha') ?>"+(clean ? '?nocache=' : '&nocache=')+Math.random(); $(imgSelector).attr('src', image.src); } function toggleSearchForm() { //$('.search-form').toggle(); $('.search-form').slideToggle('fast'); } </script> <?php if (Flux::config('EnableReCaptcha') && Flux::config('ReCaptchaTheme')): ?> <script type="text/javascript"> var RecaptchaOptions = { theme : '<?php echo Flux::config('ReCaptchaTheme') ?>' }; </script> <?php endif ?> </head> <body> <table cellspacing="0" cellpadding="0" width="100%"> <tr> <!-- Header --> <td bgcolor="#8ebceb" width="20"></td> <td bgcolor="#8ebceb" colspan="3"> <a href="<?php echo $this->basePath ?>"> <img src="<?php echo $this->themePath($session->account->group_level >= Flux::config('AdminMenuGroupLevel') ? 'img/logo_admin.gif' : 'img/logo.gif') ?>" id="logo" /> </a> </td> <td bgcolor="#8ebceb" width="20"></td> </tr> <tr> <!-- Spacing between header and content --> <td colspan="3" height="20"></td> </tr> <tr> <td style="padding: 10px"></td> <td width="198"> <!-- Sidebar --> <?php include 'main/sidebar.php' ?> </td> <!-- Spacing between sidebar and content --> <td style="padding: 10px"></td> <td width="100%"> <!-- Login box / User information --> <?php include 'main/loginbox.php' ?> <!-- Content --> <table cellspacing="0" cellpadding="0" width="100%" id="content"> <tr> <td width="18"><img src="<?php echo $this->themePath('img/content_tl.gif') ?>" style="display: block" /></td> <td bgcolor="#f5f5f5"></td> <td width="18"><img src="<?php echo $this->themePath('img/content_tr.gif') ?>" style="display: block" /></td> </tr> <tr> <td bgcolor="#f5f5f5"></td> <td bgcolor="#f5f5f5"> <?php if (Flux::config('DebugMode') && @gethostbyname(Flux::config('ServerAddress')) == '127.0.0.1'): ?> <p class="notice">Please change your <strong>ServerAddress</strong> directive in your application config to your server's real address (e.g., myserver.com).</p> <?php endif ?> <!-- Messages --> <?php if ($message=$session->getMessage()): ?> <p class="message"><?php echo htmlspecialchars($message) ?></p> <?php endif ?> <!-- Sub menu --> <?php include 'main/submenu.php' ?> <!-- Page menu --> <?php include 'main/pagemenu.php' ?> <!-- Credit balance --> <?php if (in_array($params->get('module'), array('donate', 'purchase'))) include 'main/balance.php' ?> can anyone help me on this asap, please. thanks in advance add ?> after require_once(FLUX_ROOT.'/'.FLUX_ADDON_DIR.'/support/modules/support/function.php');
rmon008 Posted October 12, 2013 Posted October 12, 2013 about the support ticket, i have problem browsing the following : - i cannot view the ticket i made - [for gm account ] deparment list not showing - when i try to search the number of ticket the normal account send to a deparment nothing is showing * seeing [1] unread ticket but i cant find it in gm account(department that i made before the normal account submitted a ticket
Kido Posted April 29, 2014 Posted April 29, 2014 I couldn't install it, i even didn't get any error it just doesn't show a thing D: i even did the update, i didn't get errors. i'm pretty sure that i did all good ): my fluxcp is the latest ! huhhh any idea ?
Jupiter Posted June 10, 2014 Posted June 10, 2014 Having the same above issue, and when clicking on Ticket List, I get Parse error: syntax error, unexpected '$sth' (T_VARIABLE) in C:\xxx\htdocs\xxx\addons\support\modules\support\list.php on line 228 I wonder if this addon is still supported by the original author.
jhina Posted July 16, 2014 Posted July 16, 2014 I am trying to add new status's to this system though it does not look like the developer is supporting this anymore... Sad.
Guih Posted October 6, 2014 Posted October 6, 2014 (edited) Can anyone help me please? I'm trying to make it work but it doesnt work, it seems like the addon isnt installing... I have all the database tables installed already, but when I click on "View Tickets", FluxCP sends me to "Page not found /?module=support". What am I doing wrong? EDIT: Fixed it. Just put the module folder inside your customized theme folder. Edited October 24, 2014 by Guih
Lai Posted October 17, 2014 Posted October 17, 2014 Hi there. I get this error, when I try to open a ticket.... any can help me fix it? Strict Standards: Accessing static property Flux_Mailer::$errLog as non static in /usr/local/www/apache24/data/lib/Flux/Mailer.php on line 21Strict Standards: Accessing static property Flux_Mailer::$log as non static in /usr/local/www/apache24/data/lib/Flux/Mailer.php on line 22ster
Guih Posted October 24, 2014 Posted October 24, 2014 Hello sir, I tried to use your addon installed it correctly its working fine but when you try to login with invalid credentials this error prompt out Fatal error: Call to a member function getStatement() on a non-object in C:\xampp\htdocs\flux3\addons\support\modules\support\function.php on line 305 and another problem, when using integrated theme, viewing of departments and tickets dont work, I correctly renamed the addon to my theme name for it to work but the error occur I have the same problem
Recommended Posts