SimplePortal

Support => Install and Upgrade => Topic started by: thesiger on October 14, 2010, 05:37:02 PM

Title: php source not being copied to Sources during install
Post by: thesiger on October 14, 2010, 05:37:02 PM
I run two forums both on SMF 2.0 RC3. I have installed Simple Portal 2.3.2 on one of these with no significant problems. Now I am trying to repeat on the other. They have diverged slightly over the years with different mods (not my decision making). This install has been difficult for various reasons ... to try to and eliminate all sources of error I have overwritten the existing forum software from a fresh RC3 download, eliminating all previous mods. Then I have tried installing SimplePortal. It installs momentarily showing the mod author credits page (for a few seconds) then crashes with a PHP execution error in index.php. It's the require.once line looking for Subs-Portal.php. When I check for the existence of that file within /Sources it is not there .. in fact no Simple Portal PHP files have actually been installed in the /Sources directory. Is this any kind of known error?
Title: Re: php source not being copied to Sources during install
Post by: AngelinaBelle on October 14, 2010, 07:41:37 PM
Sounds like some kind of permissions problem on the directory preventing the files from being copied.
Or the problem might be with the lack of a temp file preventing files from being unpacked (though that sounds less likely from your description)
 
You can copy the files to their correct directories yourself (Sources, various Theme directories...) or you can use your ftp client's "change permissions" features or SMF's to change permissions to allow Package Manager to work properly.
 
There may be some helpful links in
http://simpleportal.net/index.php?action=docs;area=installing_simple_portal (http://simpleportal.net/index.php?action=docs;area=installing_simple_portal)
or
http://simpleportal.net/index.php?action=docs;area=solving_install_problems (http://simpleportal.net/index.php?action=docs;area=solving_install_problems)
(but probably not)
Title: Re: php source not being copied to Sources during install
Post by: Topstarclub on October 14, 2010, 10:52:34 PM
Thanks for the good of knowledge.   :nervous-happy:
Title: Re: php source not being copied to Sources during install
Post by: thesiger on October 15, 2010, 12:51:30 AM
Sounds like some kind of permissions problem on the directory preventing the files from being copied.
Or the problem might be with the lack of a temp file preventing files from being unpacked (though that sounds less likely from your description)
I have already had to use the "temp" file work-round to get the installation working. And I have checked the chmod/ chown settings numerous times.
 
Quote
You can copy the files to their correct directories yourself (Sources, various Theme directories...) or you can use your ftp client's "change permissions" features or SMF's to change permissions to allow Package Manager to work properly.
 
There may be some helpful links in
http://simpleportal.net/index.php?action=docs;area=installing_simple_portal (http://simpleportal.net/index.php?action=docs;area=installing_simple_portal)
or
http://simpleportal.net/index.php?action=docs;area=solving_install_problems (http://simpleportal.net/index.php?action=docs;area=solving_install_problems)
(but probably not)
The problem is that SMF thinks the install has been successful - until the system then crashes with the require.once error. Once it has crashed SMF is unusable, so I can't use any of SMF's tools to analyse the error.

I am baffled how this can be happening? There are no other mods installed - this is Simple Portal being installed on an essentially "fresh" RC3 SMF.



Title: Re: php source not being copied to Sources during install
Post by: deansmar on October 15, 2010, 01:19:31 AM
If non of the SP files have been copied to the correct locations in your SMF installation, i would still say, you still have a File permissions Problem, as Angelina has already suggested.

check under Admin -> Main -> Packages -> File Permissions

why not, as suggested; just copy the SP files to the correct location using FTP and then the files are there, so the fault with "require.once error" should not appear, as the files would then be there... so the forum should then work.
Title: Re: php source not being copied to Sources during install
Post by: thesiger on October 15, 2010, 04:14:34 AM
If non of the SP files have been copied to the correct locations in your SMF installation, i would still say, you still have a File permissions Problem, as Angelina has already suggested.check under Admin -> Main -> Packages -> File Permissions
Checked that before the install. Couldn't check after the install as SMF is crashed.

Quote
why not, as suggested; just copy the SP files to the correct location using FTP and then the files are there, so the fault with "require.once error" should not appear, as the files would then be there... so the forum should then work.
Yeah ... that's what I had to do. Works now.
Title: Re: php source not being copied to Sources during install
Post by: AngelinaBelle on October 15, 2010, 07:19:55 AM
I'm you got it working.
 
It is unfortunate that SMF does not detect when it has been unable to copy a mod's files into place.
It just seems wrong that it goes ahead and does the mods to the SMF files without making sure the necessary files are in place first!
 
Maybe it was a momentary glitch that will never happen again. Or maybe this problem will crop up with other installs. If it does, you may have to turn to your host for help in sorting out the problem.
SimplePortal 2.3.8 © 2008-2024, SimplePortal