• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

Infinity loop on localhost? v2.0.4

Status
Not open for further replies.

Miro

banned
just copied all chevereto files into localhost and it just redirecting me until the firefox die ...

00:02:25.517 0.015 383 555 GET 301 Redirect to: http://localhost/czt/ http://localhost/czt
00:02:25.533 0.002 384 0 GET 301 Redirect (cached) http://localhost/czt/
00:02:25.536 0.001 383 371 GET 301 Redirect (cached) http://localhost/czt
00:02:25.538 0.001 384 0 GET 301 Redirect (cached) http://localhost/czt/
00:02:25.540 0.001 383 371 GET 301 Redirect (cached) http://localhost/czt
00:02:25.541 0.002 384 0 GET 301 Redirect (cached) http://localhost/czt/
00:02:25.543 0.002 383 371 GET 301 Redirect (cached) http://localhost/czt
00:02:25.545 0.002 384 0 GET 301 Redirect (cached) http://localhost/czt/
00:02:25.548 0.001 383 371 GET 301 Redirect (cached) http://localhost/czt
00:02:25.550 0.002 384 0 GET 301 Redirect (cached) http://localhost/czt/
00:02:25.552 0.002 383 371 GET 301 Redirect (cached) http://localhost/czt
00:02:25.554 0.002 384 0 GET 301 Redirect (cached) http://localhost/czt/
00:02:25.556 0.002 383 371 GET 301 Redirect (cached) http://localhost/czt
00:02:25.559 0.001 384 0 GET 301 Redirect (cached) http://localhost/czt/
00:02:25.561 0.001 383 371 GET 301 Redirect (cached) http://localhost/czt
00:02:25.563 0.001 384 0 GET 301 Redirect (cached) http://localhost/czt/
00:02:25.565 0.002 383 371 GET 301 Redirect (cached) http://localhost/czt
00:02:25.567 0.002 384 0 GET 301 Redirect (cached) http://localhost/czt/
00:02:25.569 0.002 383 371 GET 301 Redirect (cached) http://localhost/czt
00:02:25.572 0.001 384 0 GET 301 Redirect (cached) http://localhost/czt/
00:02:25.574 0.014 383 371 GET 301 text/html (NS_ERROR_REDIRECT_LOOP) http://localhost/czt
 
replaced

Code:
    private function redirect($to, $status=301)
    {
        $to = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%!]|i', '', $to);
        if(php_sapi_name() != 'cgi-fcgi') $this->status_header($status);
        header("Location: $to");
        die();
    }

with

Code:
    private function redirect($to, $status=301)
    {
    }

now i see blank theme without css, images -
Code:
<script type="text/javascript" src="http://localhostE:/WWW/SERVER/htdocs/czt/content/system/js/jquery.min.js"></script>
and etc ... 🙁
 
Did you upload the standard config file without editing? its probably having http://localhost as your base url in it.
 
2.0.4 has issues on windows. I will release 2.0.5 monday 😉
 
still not fixed, if i upload multiple images it redirect me to the index without showing any image 🙁
 
Chevereto demos is running also on Linux (red hat) and I have a running copy on Windows 7.
The infinite loop is one thing, the no images after multipuload is another.

Please don't mix things in topics because I get confused...

Regarding the original post, there is still infinite loop? If it doesn't then please start a new topic about the new issue.
 
Status
Not open for further replies.
Back
Top