SimplePortal
Support => Install and Upgrade => Topic started 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? :(
-
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:
// Is the forum in maintenance mode? (doesn't apply to administrators.)
replace with:
// Load SimplePortal.
sportal_init();
// Is the forum in maintenance mode? (doesn't apply to administrators.)
.. save the edit to the file.
-
Thanks. I will try to fix this as soon as possible. :)
-
If you would like, you can attach the index.php file here and we can perform the edit for you.
-
But please keep that as last resort, so at least you can learn how to do it and you will learn something useful, thanks! ;)
-
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:
-
Here you go. The reason it was failing was because of a comment left over from a different portal mod.
-
Here you go. The reason it was failing was because of a comment left over from a different portal mod.
Thank you soooo much :)
-
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"
-
Ah, right. Make sure to install SimplePortal and ignore the error. And THEN upload the file.
-
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.