• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.

The page isn't redirecting properly...

Status
Not open for further replies.

weazle

Chevereto Member
Here's my info:

PHP Version 5.3.8
Web Server Apache/2.2.21 (Win32) PHP/5.3.8

An Apache HTTP web server
Apache's mod_rewrite enabled
PHP 5.0 or higher
file_uploads enabled in php.ini
GD Library 2 or higher
Client URL Library (cURL)
FRESH download of Chevereto 2.0.18 2011-12-24

I've enabled both the line item for curl in php.ini and in the WAMP menu. I've downloaded and executed the Testing_Tool.php and it passes: http://www.igsclan.com/new/testing_tool.php

However, when I try to install Chevereto, this is what I get: http://www.igsclan.com/new/Imagehost/

The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

I have searched your forums only to find one person has "solved" it on his end (and did not explain how/what/where/etc) and that it was only a problem in his php.ini, the ONLY change I made to my php.ini is removing the "#" to unremark the "extension=php_curl.dll" line.

In my error console, with $config['error_reporting'] = true; - I get no errors.


Any help would be much appreciated...
Scott
 
Problem is the $_SERVER array. Most likely you haven't set the paths correctly. Please send me a email to inbox@chevereto.com making reference of this topic and I will tell you where is the problem.
 
Ok, this is the problem:
PHP:
define('__CHV_RELATIVE_ROOT__', str_ireplace(rtrim(str_replace('\\','/', realpath(str_replace($_SERVER['SCRIPT_NAME'], '', $_SERVER['SCRIPT_FILENAME']))), '/'), '', __CHV_ROOT_DIR__));

the realpath function is not working. It seems that your wamp setup has issues, but don't worry there is a workaround.

Just change that line in includes/config.php to this:
PHP:
define('__CHV_RELATIVE_ROOT__', '/new/Imagehost/');

Where that relative path is the path relative to the website root.
 
You ROCK!

Thanks a ton Rodolfo! All good to go now!

(note to anyone else who may have to perform this - case sensitive!)
 
Status
Not open for further replies.
Back
Top