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: 764
  • 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]

If you're interested in helping other members with support requests, consider joining the Community Support Helpers group.

Author Topic: SP and SMF RC4 compatible?  (Read 18706 times)

0 Members and 1 Guest are viewing this topic.

Offline Boxervrienden.nl

  • Semi Newbie
  • *
  • Posts: 26
  • Gender: Male
    • http://www.forumwereld.nl/smf
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: SP and SMF RC4 compatible?
« Reply #20 on: November 03, 2010, 03:23:26 AM »
Easiest solution to that issue is to open up SimplePortal_2.3.2.zip and remove these lines of code from package-info.xml:

Code: [Select]
      <!-- Install scripts -->
      <database>install2.php</database>

To do that either extract the files to your computer, edit that one and recreate the archive, or edit it directly from 7zip (right-click -> Edit, make the changes and hit CTRL+S, then click yes when prompted to update the archive)
This solution works but the button "forum" is missing.

How can I solve this problem?

In subs.php find:
Code: [Select]
         'home' => array(
            'title' => $txt['home'],
            'href' => $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
            'is_last' => $context['right_to_left'],
         ),

Replace with:
Code: [Select]
         'home' => array(
            'title' => $txt['home'],
            'href' => $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
            'is_last' => $context['right_to_left'],
         ),
         'forum' => array(
            'title' => empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'],
            'href' => $scripturl . ($modSettings['sp_portal_mode'] == 1 && empty($context['disable_sp']) ? '?action=forum' : ''),
            'show' => in_array($modSettings['sp_portal_mode'], array(1, 3)) && empty($context['disable_sp']),
            'sub_buttons' => array(
            ),
         ),
Thanks ! This works fine  :nervous-happy:

Offline Kellen

  • Semi Newbie
  • *
  • Posts: 20
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: SP and SMF RC4 compatible?
« Reply #21 on: November 03, 2010, 09:42:20 AM »
I did that and it didn't work.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: SP and SMF RC4 compatible?
« Reply #22 on: November 03, 2010, 11:53:37 AM »
Kellen,
Please be specific.
What did you do, and what exactly happened?
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 DollarSRV

  • Semi Newbie
  • *
  • Posts: 34
  • Gender: Male
    • DollarSRV
  • SMF Version: 2.0.14
  • SP Version: 2.3.6
  • Elkarte Version: 1.1.4
  • EhPortal Version: None
Re: SP and SMF RC4 compatible?
« Reply #23 on: November 03, 2010, 12:35:08 PM »
In subs.php find:
Code: [Select]
         'home' => array(
            'title' => $txt['home'],
            'href' => $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
            'is_last' => $context['right_to_left'],
         ),

Replace with:
Code: [Select]
         'home' => array(
            'title' => $txt['home'],
            'href' => $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
            'is_last' => $context['right_to_left'],
         ),
         'forum' => array(
            'title' => empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'],
            'href' => $scripturl . ($modSettings['sp_portal_mode'] == 1 && empty($context['disable_sp']) ? '?action=forum' : ''),
            'show' => in_array($modSettings['sp_portal_mode'], array(1, 3)) && empty($context['disable_sp']),
            'sub_buttons' => array(
            ),
         ),

I have put the code in and the home & forum buttons now show up but i use a standalone url, but it keeps redirecting me to the forum. So what im saying is when i press the home button witch should take me to Here it doesn't it redirects me to the forum Here
Any ideas to fix?
Cheap Web Hosting & Domain Registration

=========================

Special Offer For SMF Users - Get 10% off any web hosting plan with code SMFUSER

=========================

Offline kaitenkid

  • Newbie
  • Posts: 2
Re: SP and SMF RC4 compatible?
« Reply #24 on: November 03, 2010, 12:58:10 PM »
Easiest solution to that issue is to open up SimplePortal_2.3.2.zip and remove these lines of code from package-info.xml:

Code: [Select]
      <!-- Install scripts -->
      <database>install2.php</database>

To do that either extract the files to your computer, edit that one and recreate the archive, or edit it directly from 7zip (right-click -> Edit, make the changes and hit CTRL+S, then click yes when prompted to update the archive)
This solution works but the button "forum" is missing.

How can I solve this problem?

In subs.php find:
Code: [Select]
         'home' => array(
            'title' => $txt['home'],
            'href' => $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
            'is_last' => $context['right_to_left'],
         ),

Replace with:
Code: [Select]
         'home' => array(
            'title' => $txt['home'],
            'href' => $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
            'is_last' => $context['right_to_left'],
         ),
         'forum' => array(
            'title' => empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'],
            'href' => $scripturl . ($modSettings['sp_portal_mode'] == 1 && empty($context['disable_sp']) ? '?action=forum' : ''),
            'show' => in_array($modSettings['sp_portal_mode'], array(1, 3)) && empty($context['disable_sp']),
            'sub_buttons' => array(
            ),
         ),
Thanks ! This works fine  :nervous-happy:

I do everything.. but follow this message:

Error in database
Duplicate key name 'state'
Archivo: /home/xxx/public_html/forum/Packages/temp/install2.php
Línea: 521

Offline Maarten

  • Jr. Member
  • **
  • Posts: 50
  • Gender: Male
  • My website has almost 3k members.
    • NHFans
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: SP and SMF RC4 compatible?
« Reply #25 on: November 03, 2010, 04:30:11 PM »
If I was Simple Portal, I should release a SMF 2.0 RC4 fix. For example SP 2.3.3 or a 2.3.2 reversion with RC4 fix. I would just like to have it plug 'n play just like it did with RC3<, so even noobs can apply it to their forums.

Anyway, it isn't a problem for me, but I am for 2 weeks not at home (because if my internship) so I don't have much time to update my site. I wrote this post from a iPad.. Which doesn't has the software I need to update my site, so it's kinda risky to do it so fast, on the iPad it is impossible.

Offline fl4pj4ck

  • Semi Newbie
  • *
  • Posts: 26
  • I pity the fools!
    • Poles in Limerick
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: SP and SMF RC4 compatible?
« Reply #26 on: November 03, 2010, 05:19:52 PM »
I do everything.. but follow this message:

Error in database
Duplicate key name 'state'
Archivo: /home/xxx/public_html/forum/Packages/temp/install2.php
Línea: 521

no you didn't. removing the part of the code mentioned earlier causes this file (install2.php) not being used at all

Offline Kellen

  • Semi Newbie
  • *
  • Posts: 20
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: SP and SMF RC4 compatible?
« Reply #27 on: November 03, 2010, 10:26:00 PM »
I solved the problem, I just reverted back to my old RC3 forums.

I'll upgrade to RC4 if an updated SP is released because it just isn't working for me.

Thanks anyways.

By the way, I still think simple portal is great.  :)

Offline Raji

  • Full Member
  • ***
  • Posts: 102
  • Gender: Female
    • Baaskani Diwwan
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: SP and SMF RC4 compatible?
« Reply #28 on: November 04, 2010, 01:44:03 AM »
Previous issue was resolved but now getting another error to add new block
Database error

Table 'baaskcom_smf2.smf_sp_functions' doesn't exist
File: /home/baaskcom/public_html/diwwan/Sources/Subs-PortalAdmin.php
Line: 104



Offline gheko

  • Semi Newbie
  • *
  • Posts: 16
  • Gender: Male
  • Club206
    • Peugeot 206 Club Romania
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: SP and SMF RC4 compatible?
« Reply #29 on: November 04, 2010, 02:34:19 AM »
I solved the 'problem' but i have a new error and the forum button is mising:

Apply Filter: Only show the error messages of this URL
http://www.club-206.ro/index.php?
Apply Filter: Only show the errors with the same message
8: Undefined index: REQUEST_URL
Apply Filter: Only show the errors from this file
File: /usr/home/club206/domains/club-206.ro/public_html/Sources/Subs.php
Line: 2901

Proud member of Peugeot206ClubRomania

Offline Oskarlover

  • Semi Newbie
  • *
  • Posts: 5
  • SMF Version: 2 RC1.2
  • SP Version: 2.3
Re: SP and SMF RC4 compatible?
« Reply #30 on: November 04, 2010, 02:37:52 AM »
I will recommend all you guys to wait, i applied all this and works fine but, my forum was loading very very slow.

Offline Linda

  • Semi Newbie
  • *
  • Posts: 28
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: SP and SMF RC4 compatible?
« Reply #31 on: November 04, 2010, 04:46:18 AM »
I will recommend all you guys to wait, i applied all this and works fine but, my forum was loading very very slow.

Oké, thx Oskarlover  ;)

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: SP and SMF RC4 compatible?
« Reply #32 on: November 04, 2010, 07:29:52 AM »
Table 'baaskcom_smf2.smf_sp_functions' doesn't exist
This means that the sp_functions table has not been created. This is because install2.php did not run.
 
If you place a copy of this file in the same directory with index.php, then run http://www.baask.com/install2.php, your tables will be created.
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 Raji

  • Full Member
  • ***
  • Posts: 102
  • Gender: Female
    • Baaskani Diwwan
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: SP and SMF RC4 compatible?
« Reply #33 on: November 04, 2010, 10:06:02 AM »
Table 'baaskcom_smf2.smf_sp_functions' doesn't exist
This means that the sp_functions table has not been created. This is because install2.php did not run.
 
If you place a copy of this file in the same directory with index.php, then run http://www.baask.com/install2.php, your tables will be created.


same directory means folder having smf?

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: SP and SMF RC4 compatible?
« Reply #34 on: November 04, 2010, 08:39:47 PM »
Table 'baaskcom_smf2.smf_sp_functions' doesn't exist
This means that the sp_functions table has not been created. This is because install2.php did not run.
 
If you place a copy of this file in the same directory with index.php, then run http://www.baask.com/install2.php, your tables will be created.


same directory means folder having smf?


Yes.

I will recommend all you guys to wait, i applied all this and works fine but, my forum was loading very very slow.

That shouldn't be related to any compatibility issues between SP 2.3.2 and SMF 2 RC4.
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline busterone

  • Semi Newbie
  • *
  • Posts: 14
  • Gender: Male
    • The Demon's Den
  • SMF Version: 2.0.8
  • SP Version: 2.3.5
Re: SP and SMF RC4 compatible?
« Reply #35 on: November 04, 2010, 10:13:08 PM »
Table 'baaskcom_smf2.smf_sp_functions' doesn't exist
This means that the sp_functions table has not been created. This is because install2.php did not run.
 
If you place a copy of this file in the same directory with index.php, then run http://www.baask.com/install2.php, your tables will be created.
That does not work either. The file runs and then returns a different error than what shows up when attempting using package manager with install2.php still referenced in package-info.xml

Code: [Select]
Notice: Undefined index: html_headers in /homepages/xx/xxxx/htdocs/forum/testing1/Sources/Load.php on line 1806

Notice: Undefined index: name in /homepages/xx/xxxxx/htdocs/forum/testing1/Sources/Subs-Portal.php on line 1407
Database Error
Please try again. If you come back to this error screen, report the error to an administrator.
Directory info x'd out deliberately

It is not a big deal for me. I upgraded a copy of live site to RC4 simply as a test. I am not upgrading the live site until this issue is resolved though.   :)
« Last Edit: November 04, 2010, 10:16:48 PM by busterone »

Offline Raji

  • Full Member
  • ***
  • Posts: 102
  • Gender: Female
    • Baaskani Diwwan
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: SP and SMF RC4 compatible?
« Reply #36 on: November 04, 2010, 11:44:58 PM »
Table 'baaskcom_smf2.smf_sp_functions' doesn't exist
This means that the sp_functions table has not been created. This is because install2.php did not run.
 
If you place a copy of this file in the same directory with index.php, then run http://www.baask.com/install2.php, your tables will be created.


same directory means folder having smf?


Yes.


Here is the new status after executing install2.php
Notice: Undefined index: html_headers in /home/mysite/public_html/diwwan/Sources/Load.php on line 1813

Notice: Undefined index: name in /home/mysite/public_html/diwwan/Sources/Subs-Portal.php on line 1407
Database Error
Duplicate key name 'state'
File: /home/mysite/public_html/diwwan/install2.php
Line: 521
Back

Offline c23_Mike

  • Beta Tester
  • *
  • Posts: 168
  • Gender: Male
    • c23 Computer, Gaming & more
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: SP and SMF RC4 compatible?
« Reply #37 on: November 05, 2010, 01:47:55 AM »
Hi there!

I think I will also wait until an updated version of SP is out. All this try and error is not funny. I am glad I asked here for the compatibility.

Offline Linda

  • Semi Newbie
  • *
  • Posts: 28
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: SP and SMF RC4 compatible?
« Reply #38 on: November 05, 2010, 05:36:42 AM »
Hi there!

I think I will also wait until an updated version of SP is out. All this try and error is not funny.

Me too  ;)

Offline humbug

  • Newbie
  • Posts: 2
  • SMF Version: None
  • SP Version: None
Re: SP and SMF RC4 compatible?
« Reply #39 on: November 05, 2010, 06:06:03 AM »
I can confirm that you cannot run install2.php and get it to work.  What we had to do was follow all the above steps BUT not run install2.php, instead, when installing the rc4 update chose backup tables, then install SP using the above steps bypassing install2.php, then find the table backup_smf_sp_functions and copy it to smf_sp_functions and all should be well (i have used our tables names, yours may differ).

tbh though we rolled back and are waiting for the SP update.

Cheers

Humbug