Author Topic: [1.7.4] Page not found  (Read 2143 times)

0 Members and 1 Guest are viewing this topic.

Offline Sunshadow

  • Newbie
  • *
  • Posts: 10
    • View Profile
[1.7.4] Page not found
« on: November 02, 2007, 03:12:42 PM »
I am running 4images under a IIS 6.0 Webserver (W2K3).
When I tried to login or logout the redirect to index.php didn't work (=>Page not found)  because there's an error (colon after the port) in the generated url:
http://serverip:9911:/index.php

To fix it, edit the redirect function in includes/functions.php:

insert the following lines of code above
Code: [Select]
header($location.$url);

 
Code: [Select]
/** remove 3. colon **/
if(substr_count($url,':')>= 3) {
$url = substr_replace($url,"",strrpos($url,":"),1);
}