Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Site & Forum Issues - 8

General issues related to site and forum management
937 posts | Last Activity on 03-10-2020 03:45 by Falk
Falk
Falk 03-10-2020 03:45, 25 days ago
Re: Missing code in User Profile Page Yahoo should be displayed there, but the user field might have been removed since it is no longer active. Enter Administration and remove it from the field list. The installer needs an update to not auto add it.

Edit - Updated for next version : https://github.com/php-fusion/PHP-Fusion/commit/508e0adcc2a471bcd1c1a6929f765e638ec943f8

 
alqutob
alqutob 03-10-2020 03:27, 25 days ago
Re: Missing code in User Profile Page Hello 
I installed the latest PHPfusion 8.00.60 , and I noticed that when pressing the /Show More Information/ button . one of the user fields in CONTACT INFORMATION was not shown.
A photo is attached

https://ibb.co/8N7F4Dd


Any help ?

Thank you

 
alqutob
alqutob 26-08-2020 05:57, 2 months ago
Re: Adding a special rank , jscript error Thank you
Done.
Everything is OK
i.ibb.co/yqgcm9T/ug.gif
And
.
.

i.ibb.co/JdgWhVm/ug2.gif
Falk
Falk 25-08-2020 23:01, 2 months ago
Re: Adding a special rank , jscript error Do you have any error messages?
I just did as you can see in my screenshots a full test with a new user group and it appeared in the area with no issues found.
The post counter input box was a tad compressed but it was also patched instantly, https://github.com/php-fusion/PHP-Fus...0244a7b4bd

Also please provide a screen of you custom user groups you have created that does not appear.
alqutob
alqutob 25-08-2020 20:59, 2 months ago
Re: Adding a special rank , jscript error

Quote

For special to work you need to create one or more new user groups that can be assigned to these. user levels 0, 101, 102 and 103 is excluded from this selection.

Yes I know that, but The (apply to) drop down menu does not work, so nothing to choose from there.Please, look again at my attachment .
Thank you
Falk
Falk 24-08-2020 01:56, 2 months ago
Re: Adding a special rank , jscript error For special to work you need to create one or more new user groups that can be assigned to these. user levels 0, 101, 102 and 103 is excluded from this selection.
alqutob
alqutob 23-08-2020 22:44, 2 months ago
Re: Adding a special rank , jscript error When adding a special rank . the drop down menu is not working

Thank you

i.ibb.co/tY1WP44/User-ranks.gif
RobiNN
RobiNN 01-07-2020 19:52, 4 months ago
Re: Fix 4 themes\Atom-X8\colorbox.css I updated Colorbox so no need your fix https://github.com/php-fusion/PHP-Fus...465bfc1e46
Wanabo
Wanabo 29-06-2020 21:07, 4 months ago
Re: Fix 4 themes\Atom-X8\colorbox.css The navigation arrows and closebox are not working on attached images in the forum posts.

I fixed themes\Atom-X8\colorbox.css
Code
/* Fix Wanabo
 ColorBox Core Style:
 The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlidADBow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/*
 User Style:
 Change the following styles to modify the appearance of ColorBox. They are
 ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:#fff;}
#colorbox{}
 #cboxTopLeft{width:25px; height:25px; background:url(../../images/border1.png) no-repeat 0 0;}
 #cboxTopCenter{height:25px; background:url(../../images/border1.png) repeat-x 0 -50px;}
 #cboxTopRight{width:25px; height:25px; background:url(../../images/border1.png) no-repeat -25px 0;}
 #cboxBottomLeft{width:25px; height:25px; background:url(../../images/border1.png) no-repeat 0 -25px;}
 #cboxBottomCenter{height:25px; background:url(../../images/border1.png) repeat-x 0 -75px;}
 #cboxBottomRight{width:25px; height:25px; background:url(../../images/border1.png) no-repeat -25px -25px;}
 #cboxMiddleLeft{width:25px; background:url(../../images/border2.png) repeat-y 0 0;}
 #cboxMiddleRight{width:25px; background:url(../../images/border2.png) repeat-y -25px 0;}
 #cboxContent{background:#fff; overflow:hidden;}
 .cboxIframe{background:#fff;}
 #cboxError{padding:50px; border:1px solid #ccc;}
 #cboxLoadedContent{margin-top:20px;}
 #cboxTitle{position:absolute; top:0px; left:0; text-align:center; width:100%; color:#999;}
 #cboxCurrent{position:absolute; top:0px; left:100px; color:#999;}
 #cboxSlidADBow{position:absolute; top:0px; right:42px; color:#444;}
 #cboxPrevious{position:absolute; top:0px; left:0; color:#444;}
 #cboxNext{position:absolute; top:0px; left:63px; color:#444;}
 #cboxLoadingOverlay{background:#fff url(../../images/loading.gif) no-repeat 5px 5px;}
 #cboxClose{position:absolute; top:0; right:0; display:block; color:#444;}

/* Fix Wanabo, renamed bottom to top for correct positioning.
 .cboxIframe{background:#fff;}
 #cboxError{padding:50px; border:1px solid #ccc;}
 #cboxLoadedContent{margin-bottom:20px;}
 #cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
 #cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}
 #cboxSlidADBow{position:absolute; bottom:0px; right:42px; color:#444;}
 #cboxPrevious{position:absolute; bottom:0px; left:0; color:#444;}
 #cboxNext{position:absolute; bottom:0px; left:63px; color:#444;}
 #cboxLoadingOverlay{background:#fff url(../../images/loading.gif) no-repeat 5px 5px;}
 #cboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;}
*/

/*
 The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
 when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
 See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}

/*
 The following provides PNG transparency support for IE6
 Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
*/
.cboxIE6 #cboxTopLeft{background:url(../../images/ie6/borderTopLeft.png);}
.cboxIE6 #cboxTopCenter{background:url(../../images/ie6/borderTopCenter.png);}
.cboxIE6 #cboxTopRight{background:url(../../images/ie6/borderTopRight.png);}
.cboxIE6 #cboxBottomLeft{background:url(../../images/ie6/borderBottomLeft.png);}
.cboxIE6 #cboxBottomCenter{background:url(../../images/ie6/borderBottomCenter.png);}
.cboxIE6 #cboxBottomRight{background:url(../../images/ie6/borderBottomRight.png);}
.cboxIE6 #cboxMiddleLeft{background:url(../../images/ie6/borderMiddleLeft.png);}
.cboxIE6 #cboxMiddleRight{background:url(../../images/ie6/borderMiddleRight.png);}

.cboxIE6 #cboxTopLeft,
.cboxIE6 #cboxTopCenter,
.cboxIE6 #cboxTopRight,
.cboxIE6 #cboxBottomLeft,
.cboxIE6 #cboxBottomCenter,
.cboxIE6 #cboxBottomRight,
.cboxIE6 #cboxMiddleLeft,
.cboxIE6 #cboxMiddleRight {
 _behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
}

Wanabo
Wanabo 20-06-2020 09:49, 4 months ago
Re: Avatar succesful upload but error is thrown / userid needed? Tested atom.micro.php with the updated code.
Now everything is ok.

Thanks for the fix.
Wanabo
Wanabo 19-06-2020 08:04, 4 months ago
Re: Avatar succesful upload but error is thrown / userid needed?

Quote

I do not remember any function changes to it. It could be Theme related. For example Atom series might have it´s own functions.

Yes the theme is Atom. Could try a different theme. Thanks for the suggestion.

Quote

In v8 and newer, system increases number if there is image with the same name image.png, image_1.png, image_2.png..

Quote

There is a problem when a user uploads an avatar. Even if successful there is an error message: "Your avatar was not uploaded correctly"


Problem was only in the Atom-X8 theme https://github.com/php-fusion/PHP-Fus...393a2d8d3e

No problem, it seems duplicate file names are impossible. So I don't need to worry. smile

I will try the updated atom.micro.php this weekend and report back if this fixes the problem. Thanks Robinn.
RobiNN
RobiNN 18-06-2020 22:24, 4 months ago
Re: Avatar succesful upload but error is thrown / userid needed? In v8 and newer, system increases number if there is image with the same name image.png, image_1.png, image_2.png..

Quote

There is a problem when a user uploads an avatar. Even if successful there is an error message: "Your avatar was not uploaded correctly"


Problem was only in the Atom-X8 theme https://github.com/php-fusion/PHP-Fus...393a2d8d3e
Falk
Falk 18-06-2020 20:47, 4 months ago
Re: Avatar succesful upload but error is thrown / userid needed? I do not remember any function changes to it. It could be Theme related. For example Atom series might have it´s own functions.
Wanabo
Wanabo 18-06-2020 20:28, 4 months ago
Re: Avatar succesful upload but error is thrown / userid needed? There is a problem when a user uploads an avatar. Even if successful there is an error message: "Your avatar was not uploaded correctly"

Did some digging, but can't find the problem.

It seems formatting the image name was changed during transition from v7 to v8.
In v7 I thought "imagename[userid].gif" with userid was mandatory. Now in v8 when I upload an avatar it is without the [userid] like imagename.gif.

With userid users can have the same picturename but it won't conflict because of the userid in the image name.
Chan
Chan 08-05-2020 12:15, 6 months ago
Re: Maintenance mode redirects First, open config.php - note down your DB_PREFIX.

Now go to your hosting PHPMyAdmin, and in your database, click on the the SQL tab. Now, run the code below and click Go.

Code
UPDATE `[replace-your-db-prefix]_settings` SET `maintenance`=0

Falk
Falk 08-05-2020 12:13, 6 months ago
Re: Maintenance mode redirects I can not replicate that error , Did you replace index.php with your own content?
Anyway, to fix it you need PHPMyAdmin find settings table, find maintenance and set it to 0.
I
Ironman1M 07-05-2020 13:16, 6 months ago
Re: Maintenance mode redirects Hello, I am a noob in coding websites so I installed php fusion 8 and created basic things for the website, it worked but after turning on maintenance mode and logging out my website redirects me from maintenance.php to index.php and loops so I am kicked from website for too many redirects and I dont know how to solve this issue. How to disable maintenance with FTP? Thanks for answers and have a good day! smile
songiuno
songiuno 07-10-2019 19:33, 1 year ago
Re: Search function broken I finally got around to trying your solution for searching photos and entire site searches. I'm seeing no difference.
Harlekin
Harlekin 17-09-2019 11:27, 1 year ago
Re: Search function broken Not the best solution, but that's enough for me.

Code

/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) PHP-Fusion Inc
| https://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: search.php
| Author: Robert Gaudyn (Wooya)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
require_once __DIR__."/maincore.php";
require_once THEMES."templates/header.php";
include LOCALE.LOCALESET."search.php";
add_to_title($locale['global_202']);
if (!isset($_REQUEST['rowstart']) || !isnum($_REQUEST['rowstart'])) {
 $_REQUEST['rowstart'] = 0;
}
if (isset($_REQUEST['stext'])) {
 if (is_array($_REQUEST['stext'])) {
 redirect(FUSION_SELF);
 } else {
 $_REQUEST['stext'] = urlencode(stripinput($_REQUEST['stext']));
 }
} else {
 $_REQUEST['stext'] = "";
}
if (isset($_REQUEST['method'])) {
 $_REQUEST['method'] = ($_REQUEST['method'] == "OR" || $_REQUEST['method'] == "AND") ? $_REQUEST['method'] : "OR";
} else {
 $_REQUEST['method'] = "OR";
}
if (isset($_REQUEST['datelimit'])) {
 $_REQUEST['datelimit'] = isnum($_REQUEST['datelimit']) ? $_REQUEST['datelimit'] : 0;
} else {
 $_REQUEST['datelimit'] = 0;
}
if (isset($_REQUEST['fields'])) {
 $_REQUEST['fields'] = isnum($_REQUEST['fields']) ? $_REQUEST['fields'] : 2;
} else {
 $_REQUEST['fields'] = 2;
}
if (isset($_REQUEST['sort'])) {
 $_REQUEST['sort'] = in_array($_REQUEST['sort'], ["datestamp", "subject", "author"]) ? $_REQUEST['sort'] : "datestamp";
} else {
 $_REQUEST['sort'] = "datestamp";
}
if (isset($_REQUEST['order'])) {
 $_REQUEST['order'] = isnum($_REQUEST['order']) ? $_REQUEST['order'] : 0;
} else {
 $_REQUEST['order'] = 0;
}
if (isset($_REQUEST['chars'])) {
 $_REQUEST['chars'] = isnum($_REQUEST['chars']) ? ($_REQUEST['chars'] > 200 ? 200 : $_REQUEST['chars']) : 50;
} else {
 $_REQUEST['chars'] = 50;
}
if (isset($_REQUEST['forum_id'])) {
 $_REQUEST['forum_id'] = isnum($_REQUEST['forum_id']) ? $_REQUEST['forum_id'] : 0;
} else {
 $_REQUEST['forum_id'] = 0;
}
$radio_button = [];
$form_elements = [];
$available = [];
$dh = opendir(INCLUDES."search");
while (FALSE !== ($entry = readdir($dh))) {
 if ($entry != "." && $entry != ".." && preg_match("/include_button.php/i", $entry)) {
 $available[] = str_replace("search_", "", str_replace("_include_button.php", "", $entry));
 }
}
closedir($dh);
$available[] = "all";
if (isset($_REQUEST['stype'])) {
 $_REQUEST['stype'] = in_array($_REQUEST['stype'], $available) ? $_REQUEST['stype'] : "all";
}
if (!isset($_REQUEST['stype'])) {
 $_REQUEST['stype'] = $settings['default_search'];
}
$c_available = count($available);
for ($i = 0; $i < $c_available - 1; $i++) {
 include(INCLUDES."search/search_".$available[$i]."_include_button.php");
}
sort($radio_button);
opentable($locale['400']);
// maybe rewrite with jQuery
$search_js = "\n/* $search_js .= "function display(val) {\nswitch (val) {\n";
foreach ($form_elements as $type => $array1) {
 $search_js .= "case '".$type."':\n";
 foreach ($array1 as $what => $array2) {
 foreach ($array2 as $elements => $value) {
 if ($what == "enabled") {
 $search_js .= "document.getElementById('".$value."').disabled = false;\n";
 } else if ($what == "disabled") {
 $search_js .= "document.getElementById('".$value."').disabled = true;\n";
 } else if ($what == "display") {
 $search_js .= "document.getElementById('".$value."').style.display = 'block';\n";
 } else if ($what == "nodisplay") {
 $search_js .= "document.getElementById('".$value."').style.display = 'none';\n";
 }
 }
 }
 $search_js .= "break;\n";
}
$search_js .= "case 'all':\n";
$search_js .= "document.getElementById('datelimit').disabled = false;\n";
$search_js .= "document.getElementById('fields1').disabled = false;\n";
$search_js .= "document.getElementById('fields2').disabled = false;\n";
$search_js .= "document.getElementById('fields3').disabled = false;\n";
$search_js .= "document.getElementById('sort').disabled = false;\n";
$search_js .= "document.getElementById('order1').disabled = false;\n";
$search_js .= "document.getElementById('order2').disabled = false;\n";
$search_js .= "document.getElementById('chars').disabled = false;\n";
$search_js .= "break;\n}\n}\n/*]]>*/\n";
add_to_footer($search_js);
echo "
\n";
echo "\n\n";
echo "\n";
echo "\n\n";
echo "\n";
echo "\n";
echo "\n\n";
echo "\n";
echo "\n";
echo "\n\n";
echo "\n";
echo "\n\n
".$locale['401']."
\n";
echo "\n";
echo "\n
\n";
echo "
\n";
echo "
".$locale['405']."".$locale['406']."
\n";
echo "\n";
foreach ($radio_button as $key => $value) {
 echo "\n\n\n";
}
echo "\n";
echo "\n";
echo "\n
".$value."
\n
\n";
echo "\n\n";
echo "\n";
echo "\n";
echo "\n\n";
echo "\n";
echo "\n";
echo "\n\n";
echo "\n";
echo "\n";
echo "\n\n";
echo "\n";
echo "\n";
echo "\n\n";
echo "\n";
echo "\n";
echo "\n
".$locale['420']."
 
\n";
echo "
\n";
echo "
".$locale['440']." 
 
\n";
echo "
".$locale['460']." ".$locale['461']."
\n";
echo "
\n
\n";
closetable();
function search_striphtmlbbcodes($text) {
 $text = preg_replace("[\[(.*?)\]]", "", $text);
 $text = preg_replace("<\<(.*?)\>>", "", $text);
 return $text;
}
function search_textfrag($text) {
 if ($_REQUEST['chars'] != 0) {
 $text = nl2br(stripslashes(substr($text, 0, $_REQUEST['chars'])."..."));
 } else {
 $text = nl2br(stripslashes($text));
 }
 return $text;
}
function search_stringscount($text) {
 global $swords;
 $count = 0;
 if (is_array($swords)) {
 $c_swords = count($swords); //sizeof($swords)
 for ($i = 0; $i < $c_swords; $i++) {
 $count += substr_count(strtolower($text), strtolower($swords[$i]));
 }
 }
 return $count;
}
function search_querylike($field) {
 global $swords;
 $querylike = "";
 $c_swords = number_format(count((array)$swords)); //sizeof($swords)
 for ($i = 0; $i < $c_swords; $i++) {
 $querylike .= $field." LIKE '%".(!empty($swords[$i]) ? $swords[$i] : ' ')."%'".($i < $c_swords - 1 ? " ".$_REQUEST['method']." " : "");
 }
 return $querylike;
}
function search_fieldsvar() {
 $fieldsvar = "(";
 $numargs = func_num_args();
 for ($i = 0; $i < $numargs; $i++) {
 $fieldsvar .= func_get_arg($i).($i < $numargs - 1 ? " || " : "");
 }
 $fieldsvar .= ")";
 return $fieldsvar;
}
function search_globalarray($search_result) {
 global $search_result_array, $global_string_count, $memory_limit;
 $global_string_count += strlen($search_result);
 if ($memory_limit > $global_string_count) {
 $search_result_array[] = $search_result;
 $memory_exhaused = FALSE;
 } else {
 $memory_exhaused = TRUE;
 }
 return $memory_exhaused;
}
function search_navigation($rows) {
 global $site_search_count, $composevars;
 $site_search_count += $rows;
 $navigation_result = "
\n".makePageNav($_REQUEST['rowstart'], 20, $site_search_count, 3, BASEDIR."search.php?stype=".$_REQUEST['stype']."&stext=".urlencode($_REQUEST['stext'])."&".$composevars)."\n
\n";
 return $navigation_result;
}
$composevars = "method=".$_REQUEST['method']."&datelimit=".$_REQUEST['datelimit']."&fields=".$_REQUEST['fields']."&sort=".$_REQUEST['sort']."&order=".$_REQUEST['order']."&chars=".$_REQUEST['chars']."&forum_id=".$_REQUEST['forum_id']."&";
$memory_limit = str_replace("m", "", strtolower(ini_get("memory_limit"))) * 1024 * 1024;
$memory_limit = !isnum($memory_limit) ? 8 * 1024 * 1024 : $memory_limit < 8 * 1024 * 1024 ? 8 * 1024 * 1024 : $memory_limit;
$memory_limit = $memory_limit - ceil($memory_limit / 4);
$global_string_count = 0;
$site_search_count = 0;
$search_result_array = [];
$navigation_result = "";
$items_count = "";
$_REQUEST['stext'] = urldecode($_REQUEST['stext']);
if ($_REQUEST['stext'] != "" && strlen($_REQUEST['stext']) >= 3) {
 add_to_title($locale['global_201'].$locale['408']);
 opentable($locale['408']);
 $fswords = explode(" ", $_REQUEST['stext']);
 $swords = [];
 $iwords = [];
 $c_fswords = count($fswords); //sizeof($fswords)
 for ($i = 0; $i < $c_fswords; $i++) {
 if (strlen($fswords[$i]) >= 3) {
 $swords[] = $fswords[$i];
 } else {
 $iwords[] = $fswords[$i];
 }
 }
 unset($fswords);
 $c_swords = count($swords);
 if ($c_swords == 0) {
 redirect(FUSION_SELF);
 } //sizeof($swords)
 $higlight = "";
 $i = 1;
 foreach ($swords as $hlight) {
 $higlight .= "'".$hlight."'";
 $higlight .= ($i < $c_swords ? "," : "");
 $i++;
 }
 add_to_head("");
 $highlight_js = "";
 $highlight_js .= "/*  $highlight_js .= "jQuery(document).ready(function(){";
 $highlight_js .= "jQuery('.search_result').highlight([".$higlight."],{wordsOnly:true});";
 $highlight_js .= "jQuery('.highlight').css({backgroundColor:'#FFFF88'});"; //better via theme or settings
 $highlight_js .= "});";
 $highlight_js .= "/*]]>*/";
 $highlight_js .= "";
 add_to_footer($highlight_js);
 if ($_REQUEST['stype'] == "all") {
 $dh = opendir(INCLUDES."search");
 while (FALSE !== ($entry = readdir($dh))) {
 if ($entry != "." && $entry != ".." && preg_match("/include.php/i", $entry)) {
 include(INCLUDES."search/".$entry);
 }
 }
 closedir($dh);
 } else {
 include INCLUDES."search/search_".$_REQUEST['stype']."_include.php";
 }
 $c_iwords = count($iwords);
 if ($c_iwords) {
 $txt = "";
 for ($i = 0; $i < $c_iwords; $i++) {
 $txt .= $iwords[$i].($i < $c_iwords - 1 ? ", " : "");
 }
 echo "
".sprintf($locale['502'], $txt)."

";
 }
 if ($_REQUEST['stype'] == "all") {
 $navigation_result = search_navigation(0);
 echo "
".$items_count."
".THEME_BULLET." ".$site_search_count." ".$locale['510']."

";
 } else {
 echo $items_count."
";
 }
 $c_search_result_array = count($search_result_array);
 if ($_REQUEST['stype'] == "all") {
 $from = $_REQUEST['rowstart'];
 $to = ($c_search_result_array - ($_REQUEST['rowstart'] + 10)) <= 0 ? $c_search_result_array : $_REQUEST['rowstart'] + 10;
 } else {
 $from = 0;
 $to = $c_search_result_array < 10 ? $c_search_result_array : 10;
 }
 echo "
\n";
 foreach ($search_result_array as $search_result_all) {
      echo $search_result_all."
";
   }
 echo "
\n";
 if ($_REQUEST['stype'] != "all") {
      echo $navigation_result;
   }
 closetable();
} else if (isset($_REQUEST['stext'])) {
 add_to_title($locale['global_201'].$locale['408']);
 opentable($locale['408']);
 echo $locale['501'];
 closetable();
}
require_once THEMES."templates/footer.php";

E
Ernst74 15-09-2019 06:34, 1 year ago
Re: Search function broken I also have problems with the search.
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.