SimplePortal

Started by SimplePortal Team, March 10, 2008, 11:16:07 PM

Previous topic - Next topic

Nathaniel

Quote from: Kimmie on October 23, 2009, 08:50:25 PM
Quote from: Nathaniel on October 23, 2009, 05:47:01 PM
@Kimmie,
Do you have an theme with ID 1? If you go to your list of themes in the admin panel, the theme ID can be seen in the urls (like ";th=id", where id is the relevant theme id).

k I must be missing something because none of mine have that. Only place it shows urls is on the Theme Settings page and there are no id's at the end of them. I also went to Current Theme and there isnt an ID at the end of those urls either.

Wouldnt the Default theme be theme 1?



I didn't mean the url setting, I meant the url being displayed by your browser when you view the admin pages. When you view the settings for a specific theme, it should have "th=id" in the url.

The default theme should be at ID 1.
SMF Friend (Former Support Specialist) | SimplePortal Developer
My 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.

tommybishop

ok so i uploaded the sp mod... I am using 1.1.10, when i tried to install it said the Index.php failed to install correctly on the test, after reading through this thread a while i found a few occurences that were similar and when i tried what advice was given there, (install the index.php file manually) It now gives me this error message.

Fatal error: require_once() [function.require]: Failed opening required '/home/a8835704/public_html/Sources/PortalAdminMain.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a8835704/public_html/index.php on line 357

Please any help would be appreciated.

Nathaniel

@tommybishop,
What steps did you take? Did you try to modify that file before installing SimplePortal?

Also, could you please attach your index.php file to your next post.
SMF Friend (Former Support Specialist) | SimplePortal Developer
My 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.

tommybishop

#2803
Ok, i backed out of where it was and tried to modify the file before i applied the mod, now i get this error message


Fatal error: require_once() [function.require]: Failed opening required '/home/a8835704/public_html/Sources/PortalAdminMain.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a8835704/public_html/index.php on line 356

Couldn't find an attachment option so below is the info on my Index.php file. thank you for the help sir.  any other info you need from me let me know

<?php
/**********************************************************************************
* index.php                                                                       *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel ([email protected])                    *
* =============================================================================== *
* Software Version:           SMF 1.1.10                                          *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006-2009 by:     Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/


/* This, as you have probably guessed, is the crux on which SMF functions.
Everything should start here, so all the setup and security is done
properly.  The most interesting part of this file is the action array in
the smf_main() function.  It is formatted as so:

'action-in-url' => array('Source-File.php', 'FunctionToCall'),

Then, you can access the FunctionToCall() function from Source-File.php
with the URL index.php?action=action-in-url.  Relatively simple, no?
*/

$forum_version = 'SMF 1.1.10';

// Get everything started up...
define('SMF', 1);
@
set_magic_quotes_runtime(0);
error_reporting(E_ALL);
$time_start = microtime();

// Make sure some things simply do not exist.
foreach (array('db_character_set') as $variable)
if (isset($GLOBALS[$variable]))
unset($GLOBALS[$variable]);

// Load the settings...
require_once(dirname(__FILE__) . '/Settings.php');

// And important includes.
require_once($sourcedir . '/QueryString.php');
require_once(
$sourcedir . '/Subs.php');
require_once(
$sourcedir . '/Errors.php');
require_once(
$sourcedir . '/Load.php');
require_once(
$sourcedir . '/Security.php');
// Using an old version of PHP?
if (@version_compare(PHP_VERSION, '4.2.3') != 1)
require_once($sourcedir . '/Subs-Compat.php');

// If $maintenance is set specifically to 2, then we're upgrading or something.
if (!empty($maintenance) && $maintenance == 2)
db_fatal_error();

// Connect to the MySQL database.
if (empty($db_persist))
$db_connection = @mysql_connect($db_server, $db_user, $db_passwd);
else
$db_connection = @mysql_pconnect($db_server, $db_user, $db_passwd);

// Show an error if the connection couldn't be made.
if (!$db_connection || !@mysql_select_db($db_name, $db_connection))
db_fatal_error();

// Load the settings from the settings table, and perform operations like optimizing.
reloadSettings();
// Clean the request variables, add slashes, etc.
cleanRequest();
$context = array();

// Seed the random generator?
if (empty($modSettings['rand_seed']) || mt_rand(1, 250) == 69)
smf_seed_generator();

// Determine if this is using WAP, WAP2, or imode.  Technically, we should check that wap comes before application/xhtml or text/html, but this doesn't work in practice as much as it should.
if (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'application/vnd.wap.xhtml+xml') !== false)
$_REQUEST['wap2'] = 1;
elseif (isset(
$_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'text/vnd.wap.wml') !== false)
{
if (strpos($_SERVER['HTTP_USER_AGENT'], 'DoCoMo/') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'portalmmm/') !== false)
$_REQUEST['imode'] = 1;
else
$_REQUEST['wap'] = 1;
}

if (!
defined('WIRELESS'))
define('WIRELESS', isset($_REQUEST['wap']) || isset($_REQUEST['wap2']) || isset($_REQUEST['imode']));

// Some settings and headers are different for wireless protocols.
if (WIRELESS)
{
define('WIRELESS_PROTOCOL', isset($_REQUEST['wap']) ? 'wap' : (isset($_REQUEST['wap2']) ? 'wap2' : (isset($_REQUEST['imode']) ? 'imode' : '')));

// Some cellphones can't handle output compression...
$modSettings['enableCompressedOutput'] = '0';
// !!! Do we want these hard coded?
$modSettings['defaultMaxMessages'] = 5;
$modSettings['defaultMaxTopics'] = 9;

// Wireless protocol header.
if (WIRELESS_PROTOCOL == 'wap')
header('Content-Type: text/vnd.wap.wml');
}

// Check if compressed output is enabled, supported, and not already being done.
if (!empty($modSettings['enableCompressedOutput']) && !headers_sent() && ob_get_length() == 0)
{
// If zlib is being used, turn off output compression.
if (@ini_get('zlib.output_compression') == '1' || @ini_get('output_handler') == 'ob_gzhandler' || @version_compare(PHP_VERSION, '4.2.0') == -1)
$modSettings['enableCompressedOutput'] = '0';
else
ob_start('ob_gzhandler');
}
// This makes it so headers can be sent!
if (empty($modSettings['enableCompressedOutput']))
ob_start();

// Register an error handler.
set_error_handler('error_handler');

// Start the session. (assuming it hasn't already been.)
loadSession();

// What function shall we execute? (done like this for memory's sake.)
call_user_func(smf_main());

// Call obExit specially; we're coming from the main area ;).
obExit(null, null, true);

// The main controlling function.
function smf_main()
{
global $modSettings, $settings, $user_info, $board, $topic, $maintenance, $sourcedir;

// Special case: session keep-alive.
if (isset($_GET['action']) && $_GET['action'] == 'keepalive')
die;

// Load the user's cookie (or set as guest) and load their settings.
loadUserSettings();

// Load the current board's information.
loadBoard();

// Load the current theme.  (note that ?theme=1 will also work, may be used for guest theming.)
loadTheme();

// Check if the user should be disallowed access.
is_not_banned();

// Load the current user's permissions.
loadPermissions();

// Do some logging, unless this is an attachment, avatar, theme option or XML feed.
if (empty($_REQUEST['action']) || !($_REQUEST['action'] == 'portal' && isset($_GET['xml'])) && !in_array($_REQUEST['action'], array('dlattach', 'jsoption', '.xml')))
{
// Log this user as online.
writeLog();

// Track forum statistics and hits...?
if (!empty($modSettings['hitStats']))
trackStats(array('hits' => '+'));
}

// Is the forum in maintenance mode? (doesn't apply to administrators.)
if (!empty($maintenance) && !allowedTo('admin_forum'))
{
// You can only login.... otherwise, you're getting the "maintenance mode" display.
if (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'login2' || $_REQUEST['action'] == 'logout'))
{
require_once($sourcedir . '/LogInOut.php');
return $_REQUEST['action'] == 'login2' ? 'Login2' : 'Logout';
}
// Don't even try it, sonny.
else
{
require_once($sourcedir . '/Subs-Auth.php');
return 'InMaintenance';
}
}
// If guest access is off, a guest can only do one of the very few following actions.
elseif (empty($modSettings['allow_guestAccess']) && !(!empty($_REQUEST['action']) && $_REQUEST['action'] == 'dlattach' && !empty($_REQUEST['type']) && $_REQUEST['type'] == 'avatar') && !(empty($_REQUEST['action']) && empty($board) && empty($topic) && $modSettings['sp_portal_mode'] == 1) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'smstats', 'help', 'verificationcode'))))
{
require_once($sourcedir . '/Subs-Auth.php');
return 'KickGuest';
}
elseif (empty($_REQUEST['action']))
{

// Go catch it boy! Catch it!
$sp_action = sportal_catch_action();
if ($sp_action)
return $sp_action;

// Action and board are both empty... BoardIndex!
if (empty($board) && empty($topic))
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}
// Topic is empty, and action is empty.... MessageIndex!

elseif (empty($topic))
{
require_once($sourcedir . '/MessageIndex.php');
return 'MessageIndex';
}
// Board is not empty... topic is not empty... action is empty.. Display!
else
{
require_once($sourcedir . '/Display.php');
return 'Display';
}
}

// Here's the monstrous $_REQUEST['action'] array - $_REQUEST['action'] => array($file, $function).
$actionArray = array(
'activate' => array('Register.php', 'Activate'),
'admin' => array('Admin.php', 'Admin'),
'announce' => array('Post.php', 'AnnounceTopic'),
'ban' => array('ManageBans.php', 'Ban'),
'boardrecount' => array('Admin.php', 'AdminBoardRecount'),
'buddy' => array('Subs-Members.php', 'BuddyListToggle'),
'calendar' => array('Calendar.php', 'CalendarMain'),
'cleanperms' => array('Admin.php', 'CleanupPermissions'),
'collapse' => array('Subs-Boards.php', 'CollapseCategory'),
'convertentities' => array('Admin.php', 'ConvertEntities'),
'convertutf8' => array('Admin.php', 'ConvertUtf8'),
'coppa' => array('Register.php', 'CoppaForm'),
'deletemsg' => array('RemoveTopic.php', 'DeleteMessage'),
'detailedversion' => array('Admin.php', 'VersionDetail'),
'display' => array('Display.php', 'Display'),
'dlattach' => array('Display.php', 'Download'),
'dumpdb' => array('DumpDatabase.php', 'DumpDatabase2'),
'editpoll' => array('Poll.php', 'EditPoll'),
'editpoll2' => array('Poll.php', 'EditPoll2'),
'featuresettings' => array('ModSettings.php', 'ModifyFeatureSettings'),
'featuresettings2' => array('ModSettings.php', 'ModifyFeatureSettings2'),
'findmember' => array('Subs-Auth.php', 'JSMembers'),
'forum' => array('BoardIndex.php', 'BoardIndex'),
'portal' => array('PortalMain.php', 'sportal_main'),
'manageportal' => array('PortalAdminMain.php', 'sportal_admin_main'),
'help' => array('Help.php', 'ShowHelp'),
'globalhf' => array('globalhf.php', 'globalhf'),
'helpadmin' => array('Help.php', 'ShowAdminHelp'),
'im' => array('PersonalMessage.php', 'MessageMain'),
'jsoption' => array('Themes.php', 'SetJavaScript'),
'jsmodify' => array('Post.php', 'JavaScriptModify'),
'lock' => array('LockTopic.php', 'LockTopic'),
'lockVoting' => array('Poll.php', 'LockVoting'),
'login' => array('LogInOut.php', 'Login'),
'login2' => array('LogInOut.php', 'Login2'),
'logout' => array('LogInOut.php', 'Logout'),
'maintain' => array('Admin.php', 'Maintenance'),
'manageattachments' => array('ManageAttachments.php', 'ManageAttachments'),
'manageboards' => array('ManageBoards.php', 'ManageBoards'),
'managecalendar' => array('ManageCalendar.php', 'ManageCalendar'),
'managesearch' => array('ManageSearch.php', 'ManageSearch'),
'markasread' => array('Subs-Boards.php', 'MarkRead'),
'membergroups' => array('ManageMembergroups.php', 'ModifyMembergroups'),
'mergetopics' => array('SplitTopics.php', 'MergeTopics'),
'mlist' => array('Memberlist.php', 'Memberlist'),
'modifycat' => array('ManageBoards.php', 'ModifyCat'),
'modifykarma' => array('Karma.php', 'ModifyKarma'),
'modlog' => array('Modlog.php', 'ViewModlog'),
'movetopic' => array('MoveTopic.php', 'MoveTopic'),
'movetopic2' => array('MoveTopic.php', 'MoveTopic2'),
'news' => array('ManageNews.php', 'ManageNews'),
'notify' => array('Notify.php', 'Notify'),
'notifyboard' => array('Notify.php', 'BoardNotify'),
'optimizetables' => array('Admin.php', 'OptimizeTables'),
'packageget' => array('PackageGet.php', 'PackageGet'),
'packages' => array('Packages.php', 'Packages'),
'permissions' => array('ManagePermissions.php', 'ModifyPermissions'),
'pgdownload' => array('PackageGet.php', 'PackageGet'),
'pm' => array('PersonalMessage.php', 'MessageMain'),
'post' => array('Post.php', 'Post'),
'post2' => array('Post.php', 'Post2'),
'postsettings' => array('ManagePosts.php', 'ManagePostSettings'),
'printpage' => array('Printpage.php', 'PrintTopic'),
'profile' => array('Profile.php', 'ModifyProfile'),
'profile2' => array('Profile.php', 'ModifyProfile2'),
'quotefast' => array('Post.php', 'QuoteFast'),
'quickmod' => array('Subs-Boards.php', 'QuickModeration'),
'quickmod2' => array('Subs-Boards.php', 'QuickModeration2'),
'recent' => array('Recent.php', 'RecentPosts'),
'regcenter' => array('ManageRegistration.php', 'RegCenter'),
'register' => array('Register.php', 'Register'),
'register2' => array('Register.php', 'Register2'),
'reminder' => array('Reminder.php', 'RemindMe'),
'removetopic2' => array('RemoveTopic.php', 'RemoveTopic2'),
'removeoldtopics2' => array('RemoveTopic.php', 'RemoveOldTopics2'),
'removepoll' => array('Poll.php', 'RemovePoll'),
'repairboards' => array('RepairBoards.php', 'RepairBoards'),
'reporttm' => array('SendTopic.php', 'ReportToModerator'),
'reports' => array('Reports.php', 'ReportsMain'),
'requestmembers' => array('Subs-Auth.php', 'RequestMembers'),
'search' => array('Search.php', 'PlushSearch1'),
'search2' => array('Search.php', 'PlushSearch2'),
'sendtopic' => array('SendTopic.php', 'SendTopic'),
'serversettings' => array('ManageServer.php', 'ModifySettings'),
'serversettings2' => array('ManageServer.php', 'ModifySettings2'),
'smileys' => array('ManageSmileys.php', 'ManageSmileys'),
'smstats' => array('Stats.php', 'SMStats'),
'spellcheck' => array('Subs-Post.php', 'SpellCheck'),
'splittopics' => array('SplitTopics.php', 'SplitTopics'),
'stats' => array('Stats.php', 'DisplayStats'),
'sticky' => array('LockTopic.php', 'Sticky'),
'theme' => array('Themes.php', 'ThemesMain'),
'trackip' => array('Profile.php', 'trackIP'),
'about:mozilla' => array('Karma.php', 'BookOfUnknown'),
'about:unknown' => array('Karma.php', 'BookOfUnknown'),
'unread' => array('Recent.php', 'UnreadTopics'),
'unreadreplies' => array('Recent.php', 'UnreadTopics'),
'viewErrorLog' => array('ManageErrors.php', 'ViewErrorLog'),
'viewmembers' => array('ManageMembers.php', 'ViewMembers'),
'viewprofile' => array('Profile.php', 'ModifyProfile'),
'verificationcode' => array('Register.php', 'VerificationCode'),
'vote' => array('Poll.php', 'Vote'),
'viewquery' => array('ViewQuery.php', 'ViewQuery'),
'who' => array('Who.php', 'Who'),
'.xml' => array('News.php', 'ShowXmlFeed'),
);

if (!empty($context['disable_sp']))
unset($actionArray['portal'], $actionArray['forum']);

// Get the function and file to include - if it's not there, do the board index.
if (!isset($_REQUEST['action']) || !isset($actionArray[$_REQUEST['action']]))
{
// Catch the action with the theme?
if (!empty($settings['catch_action']))
{
require_once($sourcedir . '/Themes.php');
return 'WrapAction';
}

// Fall through to the board index then...
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}

// Otherwise, it was set - so let's go to that action.
require_once($sourcedir . '/' . $actionArray[$_REQUEST['action']][0]);
return $actionArray[$_REQUEST['action']][1];
}

?>

Tiribulus

He meant attach is, as an attachment, not include the contents in a post. Just saving you some time and him having to tell you.

tommybishop

understood, couldn't find an attachment button anywhere so i did it that way, as i explained in my previous post

Nathaniel

Quote from: tommybishop on October 24, 2009, 12:19:19 AM
understood, couldn't find an attachment button anywhere so i did it that way, as i explained in my previous post


Click on "additional options" when you are making a post.
SMF Friend (Former Support Specialist) | SimplePortal Developer
My 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.

tommybishop

awesome, thank you very much, i edited my above post to include the index.php file in an attachment.  Sorry about that, been spending so much time on trying to set the forum up i haven't had a great chance to check out how to work with it.  Thanks again,  Any ideas on why it won't install correctly?

LC

Quote from: Nathaniel on October 23, 2009, 01:45:59 AM
Quote from: LadyChaos on October 22, 2009, 10:57:15 PM
Quote from: Nathaniel on October 22, 2009, 02:22:52 AM
@LadyChaos,
Some people are having issues with the shoutobox. Do you have any BBC mods installed? Like the AEVA mod. Does the shoutbox work if you uninstall them?
I have two BBC mods, the Aeva mod and the "tips and tricks" spoiler code BBC . I had both the shoutbox and Aeva running at the same time for quite a while without issues, until yesterday when I had to reinstall SP. I reinstalled SP before reinstalling Aeva this time. I still experienced that issue with the shoutbox without Aeva running or even in the smf files.

I had a thought about it possibly being the shoutbox and disabled it and now all is well. I just don't use the shoutbox. I had a similar issue happen with the AJAX chat mod a while back, I stopped using that as well. It just seems to cause a huge server load which I can't really find the cause for since my forum is small and only members can use the shoutbox (or back then the Ajax Chat).

It could just be that my server (since it's private) can't run a chat or shoutbox simply because of the heavy reliance between server/user calls for each message sent.  Performance gets shot to crap.

How many chats do your users post? The shoutbox isn't that server intensive, so I don't think its an issue with performance.
Well my members are chatty. On average, there is about 20-30 shoutbox messages a day. I tried toggling off/on the cache and minimizing the amount stored by the shoutbox, even put a 30 second delay. Nothing seemed to help.

Nathaniel

@tommybishop,
Install the mod (ignoring any errors for the index.php file) then upload the attached file.

@LadyChaos,
20-30 per day isn't really that many shouts, I was thinking that you might have performance issues with say 10+ per minute. Although if your users constantly refresh, or you have the autorefresh turned on, then that would put performance down quite a bit.

Is your issue happening frequently or constantly? If constantly, then performance is an unlikely cause.
SMF Friend (Former Support Specialist) | SimplePortal Developer
My 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.

LC

Quote from: Nathaniel on October 24, 2009, 04:14:31 AM

@LadyChaos,
20-30 per day isn't really that many shouts, I was thinking that you might have performance issues with say 10+ per minute. Although if your users constantly refresh, or you have the autorefresh turned on, then that would put performance down quite a bit.

Is your issue happening frequently or constantly? If constantly, then performance is an unlikely cause.
Well basically all was well ( for a least a month or so after install) then the shoutbox decided to go haywire out of the blue. So I would say it was a one time occurrence. It could be possible that someone was auto refreshing too much and froze it up, but then when I uninstalled/reinstalled, the shoutbox was doing the same thing. Hence why I decided to delete it.

The only thing I can think of that may or may not have affected it, would be a new theme I installed, but I had the theme on there for a little while before that happened and had no issues.

FFSFFS

I updated my board and ever since then each time I try to edit SimplePortal through the administrator, I get this error:
"Fatal error: adminmain() [function.require]: Failed opening required '/home/blizz/public_html/forum/Sources/SPortalAdmin2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/blizz/public_html/forum/Sources/Admin.php on line 624"

any clue whats wrong?
awesome mod btw!

Nathaniel

@LadyChaos,
Was there any specific content that had been posted in the shoutbox recently that had caused the issue? Can you check the shouts in your database (table: 'smf_sp_shouts') to see if the 'body' of the latest shouts (with the highest 'id_shout' values) contain any bbc or text that might be causing the issue?

Quote from: FFSFFS on October 24, 2009, 06:33:32 PM
I updated my board and ever since then each time I try to edit SimplePortal through the administrator, I get this error:
"Fatal error: adminmain() [function.require]: Failed opening required '/home/blizz/public_html/forum/Sources/SPortalAdmin2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/blizz/public_html/forum/Sources/Admin.php on line 624"

any clue whats wrong?
awesome mod btw!

What version of SimplePortal are you running? The SPortalAdmin2.php file was removed from SimplePortal as of version 2.3.
SMF Friend (Former Support Specialist) | SimplePortal Developer
My 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.

FFSFFS

ok, so i did a mistake buit managed to fix it somehow :P, so I reinstalled the newest version of Simple portal, and when turning it on, I got this error:
"Type Action Description
1. Execute Modification ./index.php Test successful
  1. Replace ./index.php Test successful
  2. Replace ./index.php Test successful

2. Execute Modification ./Sources/Subs.php Test failed
  1. Replace ./Sources/Subs.php Test failed (Ignore Errors)
  2. Replace ./Sources/Subs.php Test failed
  3. Replace ./Sources/Subs.php Test failed
  4. Replace ./Sources/Subs.php Test failed
"

but I continued on with the installation, it dosen't give me a SimplePortal tab now.

thanks for the help earlier, I tend to be slower with these things :P.

Nathaniel

@FFSFFS,
Can you please attach your sources/Subs.php file?
SMF Friend (Former Support Specialist) | SimplePortal Developer
My 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.

FFSFFS


Nathaniel

@FFSFFS,
Install SimplePortal and then upload the attached file.

Not sure why the install process wasn't working. I didn't have an issues at all, when I manually performed the edits to that file.
SMF Friend (Former Support Specialist) | SimplePortal Developer
My 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.

FFSFFS

after installing it again, I recieved more errors with the new Subs.php you gave me; my entire forum can't be accessed, I'm recieving the error:

"Parse error: syntax error, unexpected '*' in /home/blizz/public_html/forum/Sources/Subs.php on line 906"

FFSFFS

sorry, I reuploaded the Subs.php I had uploaded earlier for you, and now I can access my forum but I still recieve this error when trying to edit SimplePortal:
"Fatal error: adminmain() [function.require]: Failed opening required '/home/blizz/public_html/forum/Sources/SPortalAdmin2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/blizz/public_html/forum/Sources/Admin.php on line 670"

on the modifications page, it claims to be version 2.3.1 .

Nathaniel

@FFSFFS,
Can you please attach your 'sources/Admin.php' file?
SMF Friend (Former Support Specialist) | SimplePortal Developer
My 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.

Advertisement: