collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 512
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

If you're interested in helping other members with support requests, consider joining the Community Support Helpers group.

Author Topic: Simple portal installation fails  (Read 7156 times)

0 Members and 1 Guest are viewing this topic.

Offline Thoothy

  • Newbie
  • Posts: 4
  • SMF Version: 2.0.11
  • SP Version: 2.3.6
Simple portal installation fails
« on: March 11, 2016, 02:01:19 PM »
Greetings.

After approximately 20 reinstalls (different versions of SP & SMF) & SQL database drops, I finally decided to get here and ask for help.

So my problem is that I get SMF installed with no problems, themes added with no problems etc, but every single time I try to install SP, it fails.

First it failed due temp - folder missing, after getting it fixed, it shows all tests passed, no errors, proceeds to install, then flashes 5 lines of code (that i *assume* are php, ending with something like "welcome to simple portal" or something..), and returns to SMF main menu, with no SP installed.

Package manager shows SP installed, but nothing is there. Removing SP shows *tonns* of warnings (on every php file there is, imo), but proceeding to erase SP does nothing bad to forums.

No, I don't think it's a permission issue, since forum works well, AND all themes install perfectly. Only thing that comes to my mind is that SP installer somehow breaks the forum OR forum breaks the installer, is that I'm trying to install SP on a SMF with finnish translation pack installed, can anyone confirm this? Or just what the XXXX is going on ?


Offline emanuele

  • Developer
  • *
  • Posts: 293
Re: Simple portal installation fails
« Reply #1 on: March 11, 2016, 02:38:33 PM »
It is indeed a permissions (or file ownership) issue.
The simplest way to confirm is: install SP, open a file supposedly modified by SP and search for changes.
For example you can pick index.php and search for:
Code: [Select]
require_once($sourcedir . '/Subs-Portal.php');I'm pretty sure you will not find anything.
That simply means there is a permission/ownership issue that prevents the package manager to modify the files. ;)

Then of course I may be wrong, but I feel I'm not.

Offline Thoothy

  • Newbie
  • Posts: 4
  • SMF Version: 2.0.11
  • SP Version: 2.3.6
Re: Simple portal installation fails
« Reply #2 on: March 11, 2016, 04:41:06 PM »
Okay, could you link me to a page that shows just what permissions does the installer need on files? Just tried (try no 21) clear install, and gave 777 access on every friggin file & folder in the directory, same bloody results. Went through every file individually (the installer does show the "test succesfull" - page; went through every file listed there) and made sure there IS write permission.  Only difference *this* time is, that it has made backups on every overwritable file (~ in end), and the *new* files have permission 666, and different owner(?).

Still lost here....

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Simple portal installation fails
« Reply #3 on: March 12, 2016, 12:14:09 AM »
I've had trouble recently with my host (Westhost). Well, problems like this have occurred on a few hosts. The worst was ipage (very cheap). Last week I couldn't do anything from themes to Mods and it was their new setting for files and folders. Also many hosting companies are using Mod Security - Westhost too. A month ago I couldn't enter titles into Subject Titles.  '&' character had become illegal.  Also editing files from the theme menu would not work - permission denied. They did change the settings.
Over on SMF the advice varies a lot. In the end I had to change folders from 700 to 755. Forgot what the files were but probably 644. Cpanel file manager doesn't do it recursively for you either so you have to go into every sub directory and do it again... a few levels in themes.
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1193
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: Simple portal installation fails
« Reply #4 on: March 12, 2016, 03:03:13 AM »
The correct file permission is 755 on folders and 644 on files, please do not use higher ones as some servers tend to freak out for some reason.
Ask your host about giving you full CHOWN permissions on your files, you very much likely don't have it - I had a customer who had to change host because they refused to give him CHOWN even upon request, so if your host does the same my advice would become to change host *asap*.
And.. Don't worry, we will figure it out :)

Regards
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

? My job! ?No PMs for support unless it's a paid request. Thank you! :)#OpIsis

Offline Thoothy

  • Newbie
  • Posts: 4
  • SMF Version: 2.0.11
  • SP Version: 2.3.6
Re: Simple portal installation fails
« Reply #5 on: March 12, 2016, 03:50:23 AM »
Thanks, Testing today to manually (ftp) change all files & folders again to those you mentioned to see if it works. :P

Are there any more of those MUST have folders that aren't mentioned well in official instructions? I mean, like /temp - folder; that missing was the reason for my first 10 failed attempts. :D

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1193
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: Simple portal installation fails
« Reply #6 on: March 12, 2016, 06:27:49 AM »
Not that I know of, in theory.
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

? My job! ?No PMs for support unless it's a paid request. Thank you! :)#OpIsis

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Simple portal installation fails
« Reply #7 on: March 12, 2016, 10:08:22 AM »
Thoothy,

  You stated that a theme installed correctly but SP did not. Does any other mod install correctly (not theme)?
Check and possibly repair url & path settings using the SMF repair settings tool.
The tool should allow you to fix all paths by clicking on the recommended links and then make sure to save the adjustments.
link for the tool & instructions are located here: http://wiki.simplemachines.org/smf/Repair_settings.php

Try that first and then report back whether it fixed the issue or not.

Regards. 

Offline Thoothy

  • Newbie
  • Posts: 4
  • SMF Version: 2.0.11
  • SP Version: 2.3.6
Re: Simple portal installation fails
« Reply #8 on: March 14, 2016, 07:14:16 AM »
Well, after a few more tests, I finally "maximized" filezilla window to full screen, and discovered like someone earlier mentioned, that it is a file ownership issue. For some strange reason my webhost (now, my *former* webhost) had some *really* strange settings, that caused SMF package installer-created files to have different ownership then ftp loaded.

Don't know why, but that caused a "nice" problem of target files (those to be modded) being backup'ed, and the new target files non-writeable by the package installer. (different owner then me).

Well, It was a free service anyway, so i dumped it entirelly and bought a decent webhost, where installation of SMF & SP & themes was a run in the park.

Thanks for everyone for pointing me in the right direction (specially emanuele, that piece of code started the solution).

*
EDIT* Oh, and Chen, installing mods did work well, I think the problem didn't occur on themes / mods due installing a new just made new files, didn't try to modify them. My themes had also wrong ownership, but still worked well....
« Last Edit: March 14, 2016, 07:16:46 AM by Thoothy »

Offline emanuele

  • Developer
  • *
  • Posts: 293
Re: Simple portal installation fails
« Reply #9 on: March 14, 2016, 10:01:11 AM »
Well, it's not *that* strange setup, at least a 20% of the hosts end up like that! xD