collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 489
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Thanks for having an interest with our portal. If you have any requests for features, have a look at the Feature Requests board.

Author Topic: Blocks do not appear on Portal page  (Read 10478 times)

0 Members and 1 Guest are viewing this topic.

Offline natasa

  • Jr. Member
  • **
  • Posts: 57
  • Gender: Female
    • Bastica
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Blocks do not appear on Portal page
« on: September 17, 2012, 05:55:38 AM »
I don't know is this a bug or I am doing something wrong:

I have installed SMF 2.0.2 and SimplePortal 2.3.5 on test forum on address
http://med2.serbianpress.com

When I go on that address I get blank page (attachment)
and I have to press Home button to go on
http://med2.serbianpress.com/index.php
where appears normal page with blocks.

Why it does not appear on http://med2.serbianpress.com, and is there something I can do with that?
(I do not have any other mod installed)
Thanks.
« Last Edit: September 17, 2012, 10:04:12 AM by natasa »

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks do not appear on Portal page
« Reply #1 on: September 17, 2012, 02:58:13 PM »
Here are several questions.
1) Do you use front page mode or standalone mode? 
2) Let us look for the case of block 6 -- the one which says "SMF -- Just Installed".  This one is a custom BBC block, If I remember correctly.  Please look at the display options for this block.  Where does it say it is allowed to be displayed?
3) What is the difference between http://med2.serbianpress.com and http://med2.serbianpress.com/index.php  Do you have any redirection in .htaccess?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline natasa

  • Jr. Member
  • **
  • Posts: 57
  • Gender: Female
    • Bastica
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Blocks do not appear on Portal page
« Reply #2 on: September 18, 2012, 01:34:29 AM »
1.) I use Front page
2.)
Quote
Let us look for the case of block 6 -- the one which says "SMF -- Just Installed"This one is a custom BBC block, If I remember correctly.

It is not a custom block it is under the News (belongs to SMF properties), and it is set correctly.

3.) I do not have .htaccess file on this subdomain at all?

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks do not appear on Portal page
« Reply #3 on: September 18, 2012, 09:10:31 AM »
Ooops.  I forgot.  That one is a News block.

Something is causing the URL http://med2.serbianpress.com  and the URL http://med2.serbianpress.com/index.php   to be treated very differently.

What other mods do you have?

Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline natasa

  • Jr. Member
  • **
  • Posts: 57
  • Gender: Female
    • Bastica
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Blocks do not appear on Portal page
« Reply #4 on: September 18, 2012, 11:59:22 AM »
I do not have any other mode on that subdomain.
But, on some of my other subdomains it is started to happen the same
(I did not change anything there),
so do you think that it is possible that problem is on host side?

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks do not appear on Portal page
« Reply #5 on: September 18, 2012, 01:50:50 PM »
This is a very strange and puzzling problem.

For some reason, the two URLs are treated differently.  i would be curious to know what URL the page thinks it is serving.

It might be useful to print some debug information into the log, for this page, so you can see what URL it thinks it is serving when it serves up so little.

Clearly, it behaves as though it is NOT serving the portal page.  Simple Portal does not seem to recognize this as the portal page for some reason.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline phantomm

  • Translator
  • *
  • Posts: 406
  • Gender: Male
  • Smile, tomorrow will be worse...
    • Polish ElkArte community
  • SMF Version: None
  • Elkarte Version: 1.0.5
Re: Blocks do not appear on Portal page
« Reply #6 on: September 19, 2012, 09:47:08 AM »
Can you check if the same problem will be also with other portal mod (Tinyportal or other)?

Offline natasa

  • Jr. Member
  • **
  • Posts: 57
  • Gender: Female
    • Bastica
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Blocks do not appear on Portal page
« Reply #7 on: September 20, 2012, 02:12:18 AM »
It might be useful to print some debug information into the log, for this page, so you can see what URL it thinks it is serving when it serves up so little.

I do not know how to do that?  I need guide for dummies..

@phantomm:

I tried with Tiny Portal and it is working.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks do not appear on Portal page
« Reply #8 on: September 21, 2012, 04:11:49 PM »
Are you using pretty urls?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline natasa

  • Jr. Member
  • **
  • Posts: 57
  • Gender: Female
    • Bastica
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Blocks do not appear on Portal page
« Reply #9 on: September 22, 2012, 01:39:46 AM »

No I did not use Pretty urls, I had only SMF installed and Simple Portal.

But, I tried to install Pretty urls and with that installation, everything is working properly?

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Blocks do not appear on Portal page
« Reply #10 on: September 22, 2012, 05:26:49 AM »
I know Natasa has been asking questions about mods on SMF so better question is, what mods have you ever installed on it?

If you play around with lots of mods - guarantee you will have trouble.

I have also tested most of the pretty url mods and nothing but trouble. Some of them do not fully uninstall - you will probably have to reset your htaccess file.
Using these kinds of mods it is better to do a full backup of all your files so you can see later what has changed in vital files.

I do not use any pretty url mods now... you could test it by starting over and installing all new files with the old database.
« Last Edit: September 22, 2012, 05:29:08 AM by igirisjin »
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Blocks do not appear on Portal page
« Reply #11 on: September 22, 2012, 05:44:05 AM »
There were a problem with SMF filling in an unnecessary $_GET variable when working on sub-domains. Having something in $_GET will result in the page to be considered a non-portal page. If you could add this code into a PHP block and let me know what it displays, I could have a better idea:

Code: [Select]
var_dump($_GET);
Please make sure that the PHP block you are adding has its display options set to "Everywhere".
And slowly, you come to realize... It's all as it should be...

Offline natasa

  • Jr. Member
  • **
  • Posts: 57
  • Gender: Female
    • Bastica
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Blocks do not appear on Portal page
« Reply #12 on: September 25, 2012, 02:19:35 AM »
Hello [SiNaN].

I created a block named 'Custom PHP' and  put it in Header Block, and  it shows different results on every page ( you can see it on http://med2.serbianpress.com ).

Offline deansmar

  • Full Member
  • ***
  • Posts: 122
  • Gender: Male
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks do not appear on Portal page
« Reply #13 on: September 25, 2012, 06:00:42 AM »
i would say, it still looks like Pretty URL's is still installed...!!!
as a foot note:
i went from a SMF 1.1.11 to SMF2 RC3 with out any problems what so ever, first of all de-install all Mods, converted to RC3, then installed SP2.3.2, then installed the required Mods.

Offline natasa

  • Jr. Member
  • **
  • Posts: 57
  • Gender: Female
    • Bastica
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Blocks do not appear on Portal page
« Reply #14 on: September 25, 2012, 08:43:26 AM »
i would say, it still looks like Pretty URL's is still installed...!!!

This is completely new database and new installation, so there can not be Pretty urls installed.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks do not appear on Portal page
« Reply #15 on: September 25, 2012, 10:23:40 AM »
I can see from looking at your forum that you are not using Search Engine Friendly URLs.
Interestingly, I can see that you now have a custom PHP block which shows at the top of both
http://med2.serbianpress.com and http://med2.serbianpress.com/index.php
This block shows on every page on the forum, not just on the portal.
Can you tell me about the forum and Simple Portal settings?
1) Simple Portal Configuration --
Portal Mode:
2) Server Settings -- Database and Path
Forum URL
SMF Directory (you can leave out the details that give away your user id)
3) The contents of the php block.
     The display of 'pretty' makes me think that pretty URLs has not been completely eradicated.
4) The permission and display settings for that custom php block in the headings side.
Thanks
« Last Edit: September 25, 2012, 12:20:35 PM by AngelinaBelle »
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline natasa

  • Jr. Member
  • **
  • Posts: 57
  • Gender: Female
    • Bastica
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Blocks do not appear on Portal page
« Reply #16 on: September 25, 2012, 11:55:32 AM »
Are you using Search Engine Friendly URLs?
Administration Center » Features and Options » General
 action=admin;area=featuresettings;sa=basic

That option is not checked.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks do not appear on Portal page
« Reply #17 on: September 25, 2012, 12:21:12 PM »
While you were answering me, I was busy modifying my post.
I am sorry.
Can you re-read my modified post, and answer again?  Thanks.
« Last Edit: September 25, 2012, 12:26:09 PM by AngelinaBelle »
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline deansmar

  • Full Member
  • ***
  • Posts: 122
  • Gender: Male
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks do not appear on Portal page
« Reply #18 on: September 26, 2012, 12:38:58 AM »
3) The contents of the php block.
     The display of 'pretty' makes me think that pretty URLs has not been completely eradicated.

me too.... which is the reason behind my comment..

http://med2.serbianpress.com/   
    loads:     array(2) { ["pretty"]=> string(0) "" ["board"]=> int(0) }

http://med2.serbianpress.com/index.php
    loads:     array(0) { }

most defiantly a strange setup that is causing this... would'nt mind getting admin rights and take a look my self..  :angel:
« Last Edit: September 26, 2012, 01:09:35 AM by deansmar »
as a foot note:
i went from a SMF 1.1.11 to SMF2 RC3 with out any problems what so ever, first of all de-install all Mods, converted to RC3, then installed SP2.3.2, then installed the required Mods.

Offline deansmar

  • Full Member
  • ***
  • Posts: 122
  • Gender: Male
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks do not appear on Portal page
« Reply #19 on: September 26, 2012, 01:23:55 AM »
i know it might be a silly question, but are you useing the same datebase for

http://med1.serbianpress.com/
and
http://med2.serbianpress.com/

do you have any other databasees... check in the "setting.php" of SMF and compare the differances between; http://med2.serbianpress.com/ and http://med1.serbianpress.com/


########## Database Info ##########
$db_server = 'localhost';
$db_name = 'xxxxx_forum';
$db_user = 'root';
$db_passwd = '';
$db_prefix = 'xxxxx_smf_forum';
$db_persist = '0';
$db_error_send = 0;

have you tryed running "repair_settings.php" on http://med2.serbianpress.com/
as a foot note:
i went from a SMF 1.1.11 to SMF2 RC3 with out any problems what so ever, first of all de-install all Mods, converted to RC3, then installed SP2.3.2, then installed the required Mods.