Zadejte hledaný výraz...
Jakub Glos
Webtrh.cz
Vývoj webových stránek na WordPressu a proklientský přístup pro freelancery
Třídenní infromacemi nabitý prezenční + online kurz v Praze od Webtrhu pouze za 2 871 Kč
Více informací

Infinite loop – co s tím je?

Lybior
verified
rating uzivatele
(2 hodnocení)
1. 2. 2015 14:18:50
Zdravím, mám na webu www.dronbazar.cz vyhledávání, ale když se tam zadá jakékoli slovo, prohlížeč napíše: "
Chrome cannot open page - too many redirects"...Dělá to tak ve všech prohlížečích...
Url vypadá nějak takto: "http://dronbazar.cz/index.php?page=search&CSRFName=CSRF1544104939_1998158249&CSRFToken=f4ef0f801c454d087ce8aa00c918689118ca4de9cec08109972473770bfb28feeb66f6cfd8fe4be7e1e2a3bec49d2b3ff8e867c0e7497669102f7a3d15fa2b24&sPattern=Hjhh"
Nemáte s tím někdo zkušenost?
Nevíte co s tím je?
Díky Lybior
PS: Web běží na osclass....
1. 2. 2015 14:18:50
https://webtrh.cz/diskuse/infinite-loop-co-s-tim-je/#reply1087529
Jedná se o klasickou smyčku. V PHP se toho dá docílit pomocí toho že když vytvoříš stránku: test.php a do ní napíšeš ...
1. 2. 2015 16:21:35
https://webtrh.cz/diskuse/infinite-loop-co-s-tim-je/#reply1087528
Lybior
verified
rating uzivatele
(2 hodnocení)
1. 2. 2015 19:07:25
Jo díky, ale já bych spíš potřeboval vědět jak jí odstranit... Ne jak jí udělat :-) nějaké nápady?
1. 2. 2015 19:07:25
https://webtrh.cz/diskuse/infinite-loop-co-s-tim-je/#reply1087527
Patrik
verified
rating uzivatele
(18 hodnocení)
1. 2. 2015 19:09:19
slučka :)
1. 2. 2015 19:09:19
https://webtrh.cz/diskuse/infinite-loop-co-s-tim-je/#reply1087526
Lybior
verified
rating uzivatele
(2 hodnocení)
1. 2. 2015 19:14:41
Napsal craZymans;1163839
slučka :)
Ehm...? Co?
1. 2. 2015 19:14:41
https://webtrh.cz/diskuse/infinite-loop-co-s-tim-je/#reply1087525
Někam foukni zdroják vyhledávání.
1. 2. 2015 20:57:30
https://webtrh.cz/diskuse/infinite-loop-co-s-tim-je/#reply1087524
FSP
verified
rating uzivatele
(1 hodnocení)
1. 2. 2015 20:58:28
Napsal Lybior;1163841
Ehm...? Co?
php súbor má v sebe zrejme chybu v kóde, ktorá spôsobuje, že jeden príkaz sa stále dookola opakuje.
1. 2. 2015 20:58:28
https://webtrh.cz/diskuse/infinite-loop-co-s-tim-je/#reply1087523
Lybior
verified
rating uzivatele
(2 hodnocení)
2. 2. 2015 14:24:38
/*
* Osclass – software for creating and publishing online classified
* advertising platforms
*
* Copyright (C) 2013 Osclass
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* This program 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
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see .
*/
?>

:
foreach($orders as $label => $params) {
$orderType = ($params == 'asc') ? '0' : '1'; ?>

A pak je tam ještě
/*
* Osclass – software for creating and publishing online classified
* advertising platforms
*
* Copyright (C) 2013 Osclass
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* This program 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
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see .
*/
$sQuery = __("ie. PHP Programmer", 'realestate');
?>
2. 2. 2015 14:24:38
https://webtrh.cz/diskuse/infinite-loop-co-s-tim-je/#reply1087522
To co jsi sem dal není absolutně jádro vyhledávače. Jedná se spíše o výpis, což není problém.
2. 2. 2015 21:46:11
https://webtrh.cz/diskuse/infinite-loop-co-s-tim-je/#reply1087521
Lybior
verified
rating uzivatele
(2 hodnocení)
3. 2. 2015 15:49:21
Napsal filipsedivy;1164250
To co jsi sem dal není absolutně jádro vyhledávače. Jedná se spíše o výpis, což není problém.
Ok a co tohle?:
3. 2. 2015 15:49:21
https://webtrh.cz/diskuse/infinite-loop-co-s-tim-je/#reply1087520
Pro odpověď se přihlašte.
Přihlásit