SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: SleePy on October 22, 2013, 10:30:47 PM

Title: Install crashes SMF when sources directory moved
Post by: SleePy on October 22, 2013, 10:30:47 PM
I wanted to bring this up because it is a bug.

If you move your sources directory, the installer will crash and burn your SMF forum heavily because it can't load the files.  Basically the installer is telling it to move the smf2/Sources to $boarddir/Sources, and SMF will normally perform a merge on standard installs, but on those with the Sources moved, it just creates a Sources folder there and adds the files.  Then SMF is told in index.php to require that file, which doesn't exist.  Worse yet, is older installs upgrading may have that file around still, and it will require it and cause even more fun.

I had a site I updated to the latest version break with error 500 because of this and I didn't have FTP at the time, took me time to get FTP and resolve the issue by manually uploading the files to the sources folder.


I realize why this was most likely done, because it is easier on the install script, but it leaves a big problem open to an issue like this.  The solution would be to specify each source file at this point with SMF.  I've started discussion with the SMF team on what we should do with this as it should change, but I don't think any of those would make 2.1.
Title: Re: Install crashes SMF when sources directory moved
Post by: [SiNaN] on October 24, 2013, 02:00:20 AM
I understand. Thank you for the report! I'll be fixing this in the next version.
Title: Re: Install crashes SMF when sources directory moved
Post by: [SiNaN] on August 14, 2014, 01:05:20 PM
Fixed for the upcoming version.
SimplePortal 2.3.8 © 2008-2024, SimplePortal