SimplePortal

Support => English Support => Topic started by: jakeism on September 03, 2008, 02:10:37 PM

Title: install issues
Post by: jakeism 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
Title: Re: install issues
Post by: ccbtimewiz 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?
Title: Re: install issues
Post by: jakeism 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.
Title: Re: install issues
Post by: ???1031 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
Title: Re: install issues
Post by: Nathaniel 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.  ;)
Title: Re: install issues
Post by: jakeism 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
Title: Re: install issues
Post by: Nathaniel 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. ;)
Title: Re: install issues
Post by: jakeism on September 04, 2008, 02:59:10 AM
I just get a blank page...
http://philosophynight.com/install.php
Title: Re: install issues
Post by: Nathaniel 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.
Title: Re: install issues
Post by: jakeism on September 04, 2008, 11:34:23 AM
as requested ;)

Title: Re: install issues
Post by: Nathaniel 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. ;)
Title: Re: install issues
Post by: jakeism 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.
Title: Re: install issues
Post by: Nathaniel 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. ;)
Title: Re: install issues
Post by: jakeism on September 05, 2008, 01:37:49 PM
seems to already be there
Title: Re: install issues
Post by: Nathaniel 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
Title: Re: install issues
Post by: jakeism 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 =)
Title: Re: install issues
Post by: jakeism 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:
Title: Re: install issues
Post by: Nathaniel 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. ;)
Title: Re: install issues
Post by: chedam 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.
Title: Re: install issues
Post by: [SiNaN] 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 (http://simpleportal.net/index.php?action=download) section for latest version.
Title: I just downloaded SimplePortal I need help
Post by: DragonKith on July 20, 2009, 11:43:48 AM
I just downloaded SimplePortal's newest version and i was wondering if there is any configurations that needs to be done before installing it.
Title: Re: install issues
Post by: 130860 on July 20, 2009, 11:52:13 AM
Hi welcome to SP.net, you don't need to configure anything in order to install simpleportal, just install it with packager manager, if you have errors during the installation, please copy an paste the errors and attach you files, and Ill be glad to help you out ;)  mostly errors are from other mods that change a particular line of code that simpleportal needs to modified too, you will need to aply some minor changes if you are using a diferent theme, see this post for more info on how to do that:

http://simpleportal.net/index.php?topic=148.0


greetings!
Title: Re: install issues
Post by: [SiNaN] on August 09, 2009, 11:54:43 AM
jakeism, do you still require assistance with this?
SimplePortal 2.3.8 © 2008-2024, SimplePortal