Topic: Weird index.php redirect after installation

Greetings,

FrontAccounting 2.0.4
(EasyPHP-2.0b1)
PHP 5.2.0 (session.auto_start = 0)
MySQL 5.0.27
Apache 2.2.3

After what seemed a successful install (DB and tables are OK, etc), I try to browse to http://127.0.0.1/fa/ so I can login for the first time and it merely redirects to http://127.0.0.1/index.php and fails (since the index.php is trying to redirect to ../index.php - which doesn't exist).

I then try:  http://127.0.0.1/fa/frontaccounting.php

and I get the login screen.  Logging in successfully with 'admin' and the password I previously set, I get the expected menu screen.  However, if I click on Setup, it jumps to http://127.0.0.1/index.php - error.

I think I must have missed something minor, because it's completely unusable.

Any suggestions?

Thanks
Henry

Re: Weird index.php redirect after installation

I haven't heard of this problem before. It seems that your index.php placed in your /fa/ folder is corrupted. Please replace it with the one from the package. This index.php does have several instructions, not just a redirect.

/Joe

Re: Weird index.php redirect after installation

joe wrote:

I haven't heard of this problem before. It seems that your index.php placed in your /fa/ folder is corrupted. Please replace it with the one from the package. This index.php does have several instructions, not just a redirect.

/Joe

Thanks Joe - looks like you're right.  If I examine the index.php file directly from the zip file, it contains good stuff.  If extract it, then open it, it only contains:

<?php
header("Location: ../index.php");
?>


Bizarre.

Re: Weird index.php redirect after installation

This was an older version of IZArc - upgraded and it works as expected...

I wonder how many other files it's screwed over the years... :-/

Re: Weird index.php redirect after installation

Thanks for giving us this warning smile