SimplePortal

Support => Install and Upgrade => Topic started by: EPiiCxF4iiL on March 13, 2011, 05:52:56 PM

Title: Errors Installing SimplePortal
Post by: EPiiCxF4iiL on March 13, 2011, 05:52:56 PM
I have 1.1.13 SMF and 2.3.3 SP for my forum. I took all the steps to install SP, but I got this error after I replaced the code and tried to run install1-1.php.

Warning: require_once(/home/content/o/c/p/ocp2888/html/forum/Sources/Subs-Portal.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/o/c/p/ocp2888/html/forum/SSI.php on line 67

Fatal error: require_once() [function.require]: Failed opening required '/home/content/o/c/p/ocp2888/html/forum/Sources/Subs-Portal.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/o/c/p/ocp2888/html/forum/SSI.php on line 67

Sorry, honestly I have never used SMF before and I am also new to website development. If someone could PLEASE tell me what I'm doing wrong it would be greatly appreciated. This is for an organization and I need the site to be complete in a month.

Thank You,
The Fail
Title: Re: Errors Installing SimplePortal
Post by: AngelinaBelle on March 15, 2011, 08:43:31 AM
I got this error after I replaced the code and tried to run install1-1.php.
You tried a manual install, rather than using the Package Manager to do the install?


Warning: require_once(/home/content/o/c/p/ocp2888/html/forum/Sources/Subs-Portal.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/o/c/p/ocp2888/html/forum/SSI.php on line 67


It sounds like SSI.php was looking for the file /Sources/Subs-Portal.php but could not find it.  Either it is not there, or it is not readable.


In addition to the edits to the SMF files, this mod also copies a bunch of php files into Sources, and into Themes/default.
Title: Re: Errors Installing SimplePortal
Post by: RedCat on April 01, 2014, 05:56:07 PM
I just did a fresh install of SMF and then SimplePortal, I got no errors when installing and every test was successfull, it even said it install successfully after installing, however after refreshing I get the same error:

Quote
Warning: require_once(/var/www/*********.com/public_html/test/Sources/Subs-Portal.php): failed to open stream: No such file or directory in /var/www//*********..com/public_html/test/index.php on line 55 Fatal error: require_once(): Failed opening required '/var/www//*********..com/public_html/test/Sources/Subs-Portal.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www//*********.com/public_html/test/index.php on line 55

I've never had this error before. It looks like none of the files were actually installed as Subs-Portal.php isn't even there. I checked my permissions and the FTP user "smf" has ownership of the files etc so I don't see the problem.
Title: Re: Errors Installing SimplePortal
Post by: AngelinaBelle on April 03, 2014, 08:57:47 AM
This sometimes happens as a result of file permission or ownership problems.
Some information about common install problems that arise from file permission or ownership problems can be found here:
http://simpleportal.net/index.php?action=docs;area=solving_install_problems


The FTP user "smf" has ownership of the files and directories.
But what user does PHP run as when it is running those files? 
You can talk to your host about this.  You can also check for yourself, by adding some "debugging code" to one of the pages only Admin ever sees.

You can find out more about this at: http://stackoverflow.com/questions/11088390/how-do-i-find-out-which-user-is-running-the-current-php-script

And you can talk to your host about permission and ownership issues on your shared server.
SimplePortal 2.3.8 © 2008-2024, SimplePortal