Page 1 of 1

Redirected to /instal/install.php after upgrade

PostPosted: Sun Mar 11, 2007 7:30 pm
Author: Whisky
Hi,

I've got a problem with my live board. I prepared my 1.41 version for 3 months now on a test portal.
Yesterday I've finished to integrate all my mods and custom templates and the test portal was (and stills) runing perfectly so I was ready to go live.

I closed my live portal. Ulpoaded all my 1.4.1 modded files, ran the SQL .script upgrade, deleted the instal folder and set the CHMOD everywhere needed.

I can't access the portal anymore, I am redirected all the time on the fresh installation page:
http://www.rebirthoflight.net/portail/i ... nstall.php

I checked my config files and it is correct, I can see this inside
Code: Select all
define('PHPBB_INSTALLED', true);

So I dont understand what is happening, I've got exactly the same filesystem then my test portal where evrything goes fines.

I verified the DB and the new table/values created all is there.

In my opinion this comes from the DB but I can't tell more, I'am gonna sleeping now, hope to have an answer tommorrow... and to be on time at work <img>

Re: Redirected to /instal/install.php after upgrade

PostPosted: Mon Mar 12, 2007 1:59 am
Author: Whisky
still down :x

Re: Redirected to /instal/install.php after upgrade

PostPosted: Mon Mar 12, 2007 2:52 am
Author: Whisky
Hopefully I've found the problem ;)

Re: Redirected to /instal/install.php after upgrade

PostPosted: Mon Mar 12, 2007 10:18 am
Author: CRISIS
I had this same problem the time I updated to 1.41, I just uploaded the whole IM folder again. It fixed my problem.

Re: Redirected to /instal/install.php after upgrade

PostPosted: Tue Mar 13, 2007 9:00 pm
Author: Frost
I don't think it was Teelk's fault, the mod author named the install (install/install.php)

Secondly, it says at the bottom of every mod that requires you to run db installs via an "installer" to immediately delete the install file and the directory it's within.

Thirdly most users who manage an advanced forum like integramod obviously has dealt with plenty of mods, installs, and hacks. You should Always know to remove the folder(s) containing any kind of files dealing with installs/db changes

Re: Redirected to /instal/install.php after upgrade

PostPosted: Wed Mar 14, 2007 1:57 am
Author: Whisky
I bring to your attention that it is because I deleted the install folder on my test site that I had those problems.

Please do not misunderstand me, I never said it was Teelk's fault, I am just proposing something simple that can avoid us so many worries.

I personnaly have a portal full of modifications everywhere. When I upgrade I have to be very carefull and don't forget anything so I apply my changes on a test portal with is own DB and then when I got everything working I copy the whole file sytem on the live site, then I either run the SQL .script upgrates and/or mods installers. I believe this is the proper way to manage a such website.
Since I was overbooked this last months this upgrade took me 3 months, I have taken my time, slowly but surely... and unfortunately this led me to forgot what I did at the beginning of my modifications.

The problem are the installers because all of them holds the same obvious name "install/install.php" so this is truly a security hole if you don't delete them since evrybody know their name, of course I understand that. But I strongly believe that this way of working could be improved to facilate the webmaster's life. If at least every installer has a different name matching is purpose, we could keep all of them in a installation folder (locally or online if we change the folder name who cares?) and run them all when we are ready to go live.
Is this would be hard to do? I don't think so.
Would it not be more simple for all of us? I am sure it will, don't you?