SimplePortal

Support => Install and Upgrade => Topic started by: SweeX on January 20, 2017, 01:41:32 PM

Title: SimplePortal installation error
Post by: SweeX on January 20, 2017, 01:41:32 PM
Hi all !
I need help installing simpleportal on my forum. Im using zone99 theme.
Here are pics about my problem.

http://i.imgur.com/hRCgUBl.png

http://i.imgur.com/tmxzrCA.png

Any solutions?  :(
Title: Re: SimplePortal installation error
Post by: Chen Zhen on January 20, 2017, 06:59:07 PM

It is informing you that it can not perform the second edit to the ../index.php file.
Most likely it can not find its placement marker due to another modification's edit and/or manual edit.

You can do a manual edit but heed my advice regarding 3 things:
1) If you ever uninstall SP it will most likely require removing this manual edit
2) Be sure to use a proper PHP editor such as: notepad++ (https://notepad-plus-plus.org/) (DO NOT USE Microsoft notepad)
3) Make sure to do the edit properly and in the correct file after Simple Portal installation

Install Simple Portal, then edit index.php (using notepad++) located in your main forum directory

find:
Code: [Select]
// Is the forum in maintenance mode? (doesn't apply to administrators.)

replace with:
Code: [Select]
// Load SimplePortal.
sportal_init();

// Is the forum in maintenance mode? (doesn't apply to administrators.)

.. save the edit to the file.
Title: Re: SimplePortal installation error
Post by: SweeX on January 22, 2017, 06:36:28 AM
Thanks. I will try to fix this as soon as possible.  :)
Title: Re: SimplePortal installation error
Post by: ccbtimewiz on January 22, 2017, 09:27:33 PM
If you would like, you can attach the index.php file here and we can perform the edit for you.
Title: Re: SimplePortal installation error
Post by: ♦ Ninja ZX-10RR ♦ on January 23, 2017, 01:53:42 AM
But please keep that as last resort, so at least you can learn how to do it and you will learn something useful, thanks! ;)
Title: Re: SimplePortal installation error
Post by: SweeX on January 27, 2017, 03:16:47 PM
Here is index.php.  :) (public_html)
If you guys can do it for me I would be most thankful.
I have really a lot of work so I currently can't find time to finish this.  :nervous-happy:
Title: Re: SimplePortal installation error
Post by: ccbtimewiz on January 27, 2017, 06:46:11 PM
Here you go. The reason it was failing was because of a comment left over from a different portal mod.

Title: Re: SimplePortal installation error
Post by: SweeX on January 27, 2017, 07:44:01 PM
Here you go. The reason it was failing was because of a comment left over from a different portal mod.
Thank you soooo much  :)
Title: Re: SimplePortal installation error
Post by: SweeX on January 28, 2017, 06:10:39 AM
Now I have this when I try to replace index.php. I have backup so its not problem at all. Just want sp to work.  :)

"Fatal error: Call to undefined function sportal_init() in /home/a1000071/public_html/index.php on line 213"
Title: Re: SimplePortal installation error
Post by: ccbtimewiz on January 31, 2017, 12:33:10 AM
Ah, right. Make sure to install SimplePortal and ignore the error. And THEN upload the file.
Title: Re: SimplePortal installation error
Post by: ♦ Ninja ZX-10RR ♦ on January 31, 2017, 03:13:08 AM
Ah, right. Make sure to install SimplePortal and ignore the error. And THEN upload the file.
Errr NO. Unless you applied ALL the edits to index.php (and upon checking, you didn't), it's the other way around. The way you said will not apply all the other necessary edits to index.php, resulting in a broken installation.

The thing is, it causes a white page if you upload it before installing it, so you have to do it manually anyway.
SimplePortal 2.3.7 © 2008-2022, SimplePortal