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

Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Author Topic: install issues  (Read 22536 times)

0 Members and 2 Guests are viewing this topic.

Offline jakeism

  • Semi Newbie
  • *
  • Posts: 9
install issues
« on: September 03, 2008, 02:10:37 PM »
Hello.
I've followed all the directions on SMF and when I attempt to install I get the following error
Quote
Parse error: syntax error, unexpected "," in /home2/ivguil/public_html/philosophynight/Sources/Load.php on line 652
when I remove that it then displays:

Quote
Parse error: syntax error, unexpected T_ARRAY in /home2/ivguil/public_html/philosophynight/Sources/Load.php on line 653

I posted on the othersite but it seems to have gone down today. Any help would be great.

URL is
philosophynight.com

Offline ccbtimewiz

  • Hero Member
  • *****
  • Posts: 2185
  • Gender: Male
  • $("div.content:dd").hide();
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
  • EhPortal Version: None
Re: install issues
« Reply #1 on: September 03, 2008, 02:16:58 PM »
Can you attach this file?

Are you using the latest version of SMF?
Any mods installed?
Are you using a custom theme?
Any errors in the error logs?
Version of SP?

Offline jakeism

  • Semi Newbie
  • *
  • Posts: 9
Re: install issues
« Reply #2 on: September 04, 2008, 01:00:26 AM »
Sorry was rushed this morning.
Can you attach this file?

Are you using the latest version of SMF? Yes. 1.1.5 installed yesterday.
Any mods installed? No mods.
Are you using a custom theme? Yes. Blackted is the theme.
Any errors in the error logs? Unsure where to find this, so I attached errors.php
Version of SP? Latest 2.0.4

Sorry about the lack of info.

Offline ???1031

  • ... feel not as a dev at the moment ...
  • Comrade
  • *
  • Posts: 789
  • Gender: Male
  • Overworked <<
  • SMF Version: None
  • SP Version: None
Re: install issues
« Reply #3 on: September 04, 2008, 02:08:37 AM »
Your code in the Load.php look
Code: [Select]
if (count(array_intersect($user_info['groups'], $board_info['groups'])) == 0 && !$user_info['is_admin'])
$board_info['error'] = 'access'; // Build up the linktree. (Need SPortal in linktree) $context['linktree'] = array_merge( $context['linktree'], array(array( 'url' => $scripturl . '?action=forum#' . $board_info['cat']['id'], 'name' => $board_info['cat']['name'] )),
array_reverse($board_info['parent_boards'])
array(array(
'url' => $scripturl . '?board=' . $board . '.0',
'name' => $board_info['name']
))
);

but normal it should look like:
Code: [Select]
if (count(array_intersect($user_info['groups'], $board_info['groups'])) == 0 && !$user_info['is_admin'])
$board_info['error'] = 'access';
// Build up the linktree. (Need SPortal in linktree)
$context['linktree'],
array(array( 'url' => $scripturl . '?action=forum#' . $board_info['cat']['id'], 'name' => $board_info['cat']['name'] )),
array_reverse($board_info['parent_boards']),
array(array(
'url' => $scripturl . '?board=' . $board . '.0',
'name' => $board_info['name']
))
);

I'm not sure if this is a bug from SPortal.

I don't find a replace like that in the Package Installer, so it could also be possible that this is replace and replace after that. (I will test it after i come home from work (or if someone else do this please write))

Bye
DIN1031
« Last Edit: September 04, 2008, 02:10:40 AM by ???1031 »
Again... I'm having time problems...Normal Monday to Friday I'm at office from 6:00-16:00 (On my local time ;P).

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: install issues
« Reply #4 on: September 04, 2008, 02:12:05 AM »
@jakeism,
Its likely that this error was caused by the package manager, putting too much code on the same line for some unknown reason. There may be similar errors in other files.

I have also made the edits and attached the fixed file to this post.  ;)
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 jakeism

  • Semi Newbie
  • *
  • Posts: 9
Re: install issues
« Reply #5 on: September 04, 2008, 02:42:14 AM »
seemed to install ok I think.... just showed a blank page that was completely loaded.

on the forums now I don't see any changes. ( I am new to smf, so there might be some where I need to enable the portal features.)
it does display an error at the bottom of the forums
Quote
Fatal error: Call to undefined function sportal_vital() in /home2/ivguil/public_html/philosophynight/Sources/Subs.php on line 3304

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: install issues
« Reply #6 on: September 04, 2008, 02:47:29 AM »
Hmm, did you have any install errors wihen you installed the mod?

That function should work, its either an error with your 'index.php' or 'Subs.php' files. ;)
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 jakeism

  • Semi Newbie
  • *
  • Posts: 9
Re: install issues
« Reply #7 on: September 04, 2008, 02:59:10 AM »
I just get a blank page...
http://philosophynight.com/install.php

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: install issues
« Reply #8 on: September 04, 2008, 03:29:38 AM »
The error has nothing to do with that file. ;)

I meant errors with the installation of this mod via the package manager. ;)

Can you please post your main 'index.php' file? I belive that the errors will be there.
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 jakeism

  • Semi Newbie
  • *
  • Posts: 9
Re: install issues
« Reply #9 on: September 04, 2008, 11:34:23 AM »
as requested ;)


Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: install issues
« Reply #10 on: September 04, 2008, 05:18:30 PM »
Okay, I have fixed the errors for that file and reattached it.  ;)

Its the same sort of error as the last error, with too much code being place on the same line and newlines being ignored by the package manager. You may have errors in other files as well. Although try that file and then check. ;)
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 jakeism

  • Semi Newbie
  • *
  • Posts: 9
Re: install issues
« Reply #11 on: September 05, 2008, 01:14:24 AM »
doesn't show any fatal errors.. so thank you for that. I'm still not seeing any panel for the customization for the portal. Here is what the forum error log displays though

Quote
   
Apply Filter: Only show the error messages of this member jake    Today at 12:11:39 AM
Apply Filter: Only show the error messages of this IP address ********      Apply Filter: Only show the error messages of this session 58f726f515ad17bfea5d1d0d1195d141
Apply Filter: Only show the error messages of this URL http://philosophynight.com/index.php?action=viewErrorLog;desc
Apply Filter: Only show the errors with the same message
8: Undefined index: sp-adminTitle
File: /home2/ivguil/public_html/philosophynight/Sources/Subs.php
Line: 2768
Quote
*******      Apply Filter: Only show the error messages of this session  58f726f515ad17bfea5d1d0d1195d141
Apply Filter: Only show the error messages of this URL http://philosophynight.com/index.php?action=viewErrorLog;desc
Apply Filter: Only show the errors with the same message
8: Undefined index: sp-adminCatTitle
File: /home2/ivguil/public_html/philosophynight/Sources/Subs.php
Line: 2768

Hopefully this is helping your project and not just putting a burden..

Thank you again for all the help.

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: install issues
« Reply #12 on: September 05, 2008, 03:21:31 AM »
Thats an odd error. Try adding this code to your 'sportal_init()' function at the start of your 'SPortal.php' file.

Code: [Select]
loadLanguage('Modifications');
BTW, that file shouldn't be causing any errors. ;)
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 jakeism

  • Semi Newbie
  • *
  • Posts: 9
Re: install issues
« Reply #13 on: September 05, 2008, 01:37:49 PM »
seems to already be there

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: install issues
« Reply #14 on: September 05, 2008, 07:22:33 PM »
Okay, can you post these files so that I can check them?
SPortal.php
Modifications.english.php
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 jakeism

  • Semi Newbie
  • *
  • Posts: 9
Re: install issues
« Reply #15 on: September 06, 2008, 11:02:03 PM »
Here you go. Sorry about the late reply.
Threw in errors just for fun.
Thanks so much =)

Offline jakeism

  • Semi Newbie
  • *
  • Posts: 9
Re: install issues
« Reply #16 on: September 11, 2008, 08:29:44 PM »
any luck so far? I'm about to scrap simple portal so I can launch my site.. :'( It'll just have to do without.
Thanks for your help anyways though. I'll be launching it monday if you are still up to figuring out what went wrong..  :wave:

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: install issues
« Reply #17 on: September 12, 2008, 03:36:25 AM »
Sorry about the late reply, I totally missed this topic. :(

Here is your 'Modifications.english.php' file, I had to fix an error in it. ;)
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 chedam

  • Just Registered
  • Posts: 1
Re: install issues
« Reply #18 on: October 17, 2008, 03:07:40 AM »
I'm having a similar error:

Fatal error: Call to undefined function sportal_vital() in /home/a4319792/public_html/forum/Sources/Subs.php on line 3342

As a result, I can see a section where the Portal options would be in the Admin menu but there's nothing in it.

I'm running a fresh install of SMF 1.1.6 with SPortal 2.0.5. The site is located at http://macfeats.site90.net/forum/

Any help would be appreciated.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: install issues
« Reply #19 on: November 10, 2008, 07:13:32 AM »
Welcome chedam.

Sorry for delayed reply.

Can you check if you have SPortal.php, SPortalAdmin.php and Subs-Sportal.php in your Sources directory?

I'm sure updrading to the latest version will solve this issue. Check the Downloads section for latest version.
And slowly, you come to realize... It's all as it should be...