SimplePortal

Support => English Support => Topic started by: hefe on September 22, 2011, 03:57:11 PM

Title: Portal in root?
Post by: hefe on September 22, 2011, 03:57:11 PM
I have been looking around the forum here, and the question has been asked in a few ways, but I am not seeing what I need to know..

I would like my portal located in the domains root www.mydomain.com
and my forum is located in www.mydomain.com/forum
just like at http://demo.simpleportal.net/

I installed simple portal (using SMF package installer)
was I not supossed to do that?
the install went smooth and I like the features so far, I think it will work for us.
can I just move some file (or files) over to the root to make it work?
or do I need to remove/re-install it another way?
I just want to use Simple portal as a front page so to speak.. like a little preview of the forum
fogive me for asking a question I know must have asked and answered many times
Title: Re: Portal in root?
Post by: hefe on September 22, 2011, 04:36:45 PM
if I do what it says here http://simpleportal.net/index.php?action=docs;area=set_up_standalone_portal
I get line after line of errors when I load the main page unless I disable the portal, then it forwards the main page to /forum
Title: Re: Portal in root?
Post by: hefe on September 22, 2011, 05:59:53 PM
dang.. I am sure I have all the settings right..
I have renamed the file to index . php
I have checked the path
I have set the standalone URL correctly..
but the index page just generates error after error...

will check back tomorrow and see if anyone has any suggestions for me
Title: Re: Portal in root?
Post by: ccbtimewiz on September 23, 2011, 12:46:51 AM
What errors are you getting?
Title: Re: Portal in root?
Post by: AngelinaBelle on September 23, 2011, 01:38:26 PM
Please tell us, very specifically
* Where exactly your standalone portal file is located, and what it is called.
* In your standalone portal file, what exactly is the whole line which starts with $forum_dir
* In index.php?action=admin;area=serversettings;sa=database, what do you have in SMF Directory
* In index.php?action=admin;area=portalconfig;sa=generalsettings , what do you have in Standalone URL

Thanks
Title: Re: Portal in root?
Post by: hefe on September 26, 2011, 05:44:38 PM
ok.. sorry for the delay, been a busy weekend...

portal mode           "Standalone"
Standalone URL      http://www.michiganwhitetails.net/index.php

this is in the portalstandalone.php file (Uploaded to the websites root directory and renamed to index.php)
(it was already filled in for me)
Code: [Select]
// Should be the full path!

$forum_dir = '/home/pczhosti/public_html/michiganwhitetails.net/forum';

when I load the homepage
www.michiganwhitetails.net I get this...
Code: [Select]
Notice: Undefined index: html_headers in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1804

Notice: Undefined index: name in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 1407

Notice: Undefined index: template_dirs in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1822

Warning: Invalid argument supplied for foreach() in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1822

Notice: Undefined index: default_theme_dir in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1846

Notice: Undefined index: theme_dir in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 730

Notice: Undefined index: theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 730

Notice: Undefined index: theme_dir in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 731

Notice: Undefined index: theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 731

Notice: Undefined index: default_theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 742

Notice: Undefined index: default_theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 743

Notice: Undefined index: theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1922

Notice: Undefined index: theme_dir in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1931

Notice: Undefined index: theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1931

Notice: Undefined index: theme_dir in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1932

Notice: Undefined index: theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1932

Notice: Undefined index: default_theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1943

Notice: Undefined index: default_theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1944

Notice: Undefined index: is_admin in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php(2170) : eval()'d code on line 117

Notice: Undefined index: forum_name in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 148

Notice: Undefined index: default_theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 176

Notice: Undefined index: html_headers in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 175

Notice: Undefined index: is_guest in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 183

Notice: Undefined index: name in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 186

Notice: Undefined index: session_id in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 191

Notice: Undefined index: is_guest in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 206

Notice: Undefined index: session_id in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 208

Notice: Undefined index: browser in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 216

Notice: Undefined index: browser in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 216

Notice: Undefined index: is_guest in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 354

Notice: Undefined index: is_guest in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 262

Notice: Undefined index: is_guest in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 262

Notice: Undefined index: is_guest in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 262

Notice: Undefined index: is_guest in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 262

after all those errors comes the portal... although it is a bit wrong.. I can set it up from there.. but the errors just stink

any input?

Please tell us, very specifically
* Where exactly your standalone portal file is located, and what it is called.
* In your standalone portal file, what exactly is the whole line which starts with $forum_dir
* In index.php?action=admin;area=serversettings;sa=database, what do you have in SMF Directory
* In index.php?action=admin;area=portalconfig;sa=generalsettings , what do you have in Standalone URL

Thanks
I am a bit confused on your last 2 questions..
what index.php file?
do you mean the one I just renamed to index.php?
or another one?

in the forums admin panel.. under databases and paths it says:
forum URL    http://www.michiganwhitetails.net/forum
SMF directory  /home/pczhosti/public_html/michiganwhitetails.net/forum

what else?
Title: Re: Portal in root?
Post by: hefe on September 27, 2011, 10:17:10 AM
looks like I am still waiting on approval on my last post :(
Title: Re: Portal in root?
Post by: Silly on September 27, 2011, 12:13:45 PM
Unless I am mistaken, instead of standalone you wanted the Portal as your front page?  I recommended you uninstall the portal and install it as your front page.
Title: Re: Portal in root?
Post by: hefe on September 27, 2011, 04:48:42 PM
are there directions for that somewhere?
Title: Re: Portal in root?
Post by: AngelinaBelle on September 28, 2011, 05:08:17 AM
Right now, you have redirection of /index.php to /forum/index.php?

You did this in your .htaccess file?
Title: Re: Portal in root?
Post by: hefe on October 04, 2011, 10:35:03 AM
sorry for the delay, I have been out of town
no, I don't have a .htaccess file in this domains root

when I set the portal to disabled is when it forwards over
Title: Re: Portal in root?
Post by: AngelinaBelle on October 05, 2011, 09:55:17 AM
This is exactly what it should do. When you disable the portal, you are telling SimplePortal not to show the portal. So it shows the forum, instead.  The SimplePortal standalone portal is meant to work as part of your forum.

I understand you disabled the portal because of the errors.
The errors seem to be related to a problem setting up $context
I cannot understand how 'html_headers' would be unset after DetectBrowser had been run.

What happens if you run SimplePortal  in "Front Page" mode instead of in Standalone mode?
Title: Re: Portal in root?
Post by: hefe on October 05, 2011, 04:24:44 PM

What happens if you run SimplePortal  in "Front Page" mode instead of in Standalone mode?

this is what I get wehn I run it in front page mode
Code: [Select]
Notice: Undefined index: html_headers in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1804

Notice: Undefined index: name in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 1407

Notice: Undefined index: template_dirs in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1822

Warning: Invalid argument supplied for foreach() in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1822

Notice: Undefined index: default_theme_dir in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1846

Notice: Undefined index: theme_dir in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 730

Notice: Undefined index: theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 730

Notice: Undefined index: theme_dir in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 731

Notice: Undefined index: theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 731

Notice: Undefined index: default_theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 742

Notice: Undefined index: default_theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 743

Notice: Undefined index: theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1922

Notice: Undefined index: theme_dir in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1931

Notice: Undefined index: theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1931

Notice: Undefined index: theme_dir in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1932

Notice: Undefined index: theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1932

Notice: Undefined index: default_theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1943

Notice: Undefined index: default_theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php on line 1944

Notice: Undefined index: is_admin in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Load.php(2170) : eval()'d code on line 117

Notice: Undefined index: forum_name in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 160

Notice: Undefined index: default_theme_url in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 176

Notice: Undefined index: html_headers in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 175

Notice: Undefined index: is_guest in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 183

Notice: Undefined index: name in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 186

Notice: Undefined index: session_id in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 191

Notice: Undefined index: is_guest in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 206

Notice: Undefined index: session_id in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 208

Notice: Undefined index: browser in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 216

Notice: Undefined index: browser in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 216

Notice: Undefined index: is_guest in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 354

Notice: Undefined index: is_guest in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 262

Notice: Undefined index: is_guest in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 262

Notice: Undefined index: is_guest in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 262

Notice: Undefined index: is_guest in /home/pczhosti/public_html/michiganwhitetails.net/forum/Sources/Subs-Portal.php on line 262
Title: Re: Portal in root?
Post by: AngelinaBelle on October 06, 2011, 10:07:32 AM
Something is very wrong, and I don't know that it is SimplePortal's fault.
A bunch of stuff that should be set up in $context is not set up, and I don't know why.
What other mods do you have installed?
Title: Re: Portal in root?
Post by: [SiNaN] on October 06, 2011, 10:49:55 AM
I'm not sure about the problem myself but you even have errors on ssi_examples.php file:

http://www.michiganwhitetails.net/forum/ssi_examples.php

It's probably related, since SimplePortal relies on SSI.php. If you get that solved, you should be able to run SimplePortal just fine.
Title: Re: Portal in root?
Post by: hefe on October 06, 2011, 05:06:12 PM
I really don't have any mods installed

1. SimplePortal 2.3.2 
2. SMF 2.0.1 Update 1.0

any clues where I would start looking to find a cure?
search terms, forums.. etc?
Title: Re: Portal in root?
Post by: [SiNaN] on October 07, 2011, 03:00:26 AM
I'm not really sure. If you send me temporary access details for FTP and forum admin by a pm, I could check it for you.
Title: Re: Portal in root?
Post by: hefe on October 07, 2011, 01:01:01 PM
you got PM

and thank you
Title: Re: Portal in root?
Post by: hefe on October 11, 2011, 02:45:04 PM
Any Luck SiNaN?
Title: Re: Portal in root?
Post by: AngelinaBelle on October 24, 2011, 08:10:55 PM
I am going to guess that the problem may have occured with the 2.0.1 update.
I am guessing this because of missing $context in Load.php

Another possible problem could be with the  SimplePortal install.
Did you uninstall SimplePortal before the 2.0.1 update, and then install it again afterwards?

Title: Re: Portal in root?
Post by: hefe on November 10, 2011, 11:19:29 AM
no.. just installed it the one time..

I gave Sinan access and have been waiting to hear back... but no luck so far
Title: Re: Portal in root?
Post by: AngelinaBelle on November 10, 2011, 03:23:43 PM
Did the problem start before or after you installed the update?

My advice would be
1) uninstall SimplePortal (ignoring any errors, but don't delete the data)
2) test. If the problem does not go away, do a large 2.0.1 install.  At least of all the php files.
3) If that is fine, try the SimplePortal install again. test.
Title: Re: Portal in root?
Post by: hefe on November 11, 2011, 02:38:38 PM
I am a bit confused..

my forum works fine (other than my host overselling...)

if I uninstall simpleportal (Step one)
step 2 says test.... test what?
Title: Re: Portal in root?
Post by: AngelinaBelle on November 14, 2011, 09:48:58 AM
I see that you are not getting the big errors at the top of your forum at http://www.michiganwhitetails.net/forum/ssi_examples.php

That is good.

However, I see that you are still getting bad errors at http://www.michiganwhitetails.net/forum/ssi_examples.php

This shows that SimplePortal did not get completely uninstalled
* SSI.php is still loading Subs-Portal.php
* Subs-Portal.php still exists.

So the SimplePortal uninstall simply did not happen.
Please look at your admin center and see if the Simple Portal part of the admin center is still there.

Please look at the list of installed packages to verify whether the package manager THINKS it uninstalled Simple Portal.

Title: Re: Portal in root?
Post by: [SiNaN] on November 14, 2011, 02:14:50 PM
I fixed the standalone issue, as well as a menu problem after SimplePortal started working fine. I was going to fix the header styling issue with custom themes as well, but then I realized that you have been running 2.3.2. I have installed the patched 2.3.3 version we have been using here and all should be fine now. Seems like I already fixed the initial problem with standalone mode in 2.3.3.

I have put the portal on maintenance mode (you can turn off the maintenance mode through Admin > SimplePortal > Information > General Settings) so that only admins can access the page for now.

Please don't forget to remove the temporary accounts you have created for me. And sorry that it took so long for me to take a look at this.
Title: Re: Portal in root?
Post by: hefe on November 16, 2011, 05:24:54 PM
wow...
Thank you SOOO much!

I owe you a beer or whatever it is you need!
Title: Re: Portal in root?
Post by: Eliana Tamerin on November 16, 2011, 06:55:08 PM
If you want to donate to SimplePortal, just go to your Paid Subscriptions (http://simpleportal.net/index.php?action=profile;area=subscriptions) panel and donate. Or you can donate directly to our paypal address at info@simpleportal.net.

Your donations keep this project going!
Title: Re: Portal in root?
Post by: hefe on November 17, 2011, 03:11:54 PM
50 bucks headed your way!

thanks again!
Title: Re: Portal in root?
Post by: AngelinaBelle on November 17, 2011, 03:42:02 PM
Wow! Thanks for that donation! That goes quite a way toward paying the hosting bill!
Title: Re: Portal in root?
Post by: [SiNaN] on November 17, 2011, 04:38:24 PM
It's people like you who make me continue working on this project one way or other despite all the difficulties of life. Your initial post (about owing me a beer or whatever I need) alone is a lot lot more than someone who couldn't even look at your problem for a whole month deserves and I can only thank for your donation. Thank you very much!
Title: Re: Portal in root?
Post by: Eliana Tamerin on November 17, 2011, 09:35:37 PM
I can't add any more to what my Teammates have said besides a genuine, "Thank you!"
Title: Re: Portal in root?
Post by: hefe on November 18, 2011, 11:01:14 AM
no problem guys ... keep up the good fight!
SimplePortal 2.3.8 © 2008-2024, SimplePortal