Author Topic: EZPortal  (Read 5532 times)

0 Members and 2 Guests are viewing this topic.

Offline Smoky

  • who, me?
  • Guru
  • *
  • Posts: 3980
  • Karma: 1450
  • Gender: Female
  • It's all in your HEAD!
    • HangOutSpot
  • SMF Version: 2.0 ??
Re: EZPortal
« Reply #30 on: February 15, 2009, 07:32:45 PM »
* Smoky --->  :zip :lmao
Oh wow, guess who dropped by! Im still on secondlife.. but will respond to im's *waves

Offline sheryltoo

  • Sr. Member
  • *
  • Posts: 271
  • Karma: 42
  • Gender: Female
    • Sheryl's Page
  • SMF Version: smf 2.0 RC1
Re: EZPortal
« Reply #31 on: February 16, 2009, 11:35:55 AM »
Nothing like a "little" sleep to get the juices running in your brain again.
I say little since I woke up several times during the night and kept thinking about how I could fix my problems and about 5:43 this morning, I finally came up with a plan.
This is probably a logical solution for those of you who know what they're doing but since I don't and figured if I uninstalled something it would just go away on it's own, it never dawned on me to manually go into all the files that were changed when I installed ezportal and undo everything.
So I've spent the last couple hours doing that, but not before making copies of everything I changed, and then copies of what I changed things to and my board no longer "says" it's powered by ezportal.
 
So that's a step in the right direction, at least I hope, lol.
I have a couple questions.
Does it matter if files like subs/ezportal-convert.php, subs/ezportal-main.php/ and EzPortal.template.php stay in my public_html/subdomain files?
 
And there was a change that needed to be made in themes/default/index.template.php where you added
:

 'forum',

after:
:
$current_action = 'admin';
if (in_array($context['current_action'], array(

In looking at that area, the word forum appears but it's in a group of other links
:
('links','forum','gallery',so I wasn't sure if I added the word forum or if it was always there.
In any event, I didn't remove the word because I wasn't sure if I was suppose to.
 
So perhaps I have one problem solved but I'm still not sure if I can install any more mods.
I tried to install simple portal and got a critical error saying the test failed for:
themes/default/index.template.php
It suggested I didn't proceed unless I knew what I was doing, which I don't so I bailed out.
 
I'm heading off to the mod support thread for simple portal to see if anyone else had this problem.
I'm wondering if any of the edits I did today caused this new error.
Sheryl

Offline Smoky

  • who, me?
  • Guru
  • *
  • Posts: 3980
  • Karma: 1450
  • Gender: Female
  • It's all in your HEAD!
    • HangOutSpot
  • SMF Version: 2.0 ??
Re: EZPortal
« Reply #32 on: February 16, 2009, 11:56:16 AM »
you can install it, but once you do, you have to make the edits to the file that didnt pass, manually  ;)
Oh wow, guess who dropped by! Im still on secondlife.. but will respond to im's *waves

Offline sheryltoo

  • Sr. Member
  • *
  • Posts: 271
  • Karma: 42
  • Gender: Female
    • Sheryl's Page
  • SMF Version: smf 2.0 RC1
Re: EZPortal
« Reply #33 on: February 16, 2009, 12:19:28 PM »
Well I guess it doesn't matter if something failed the test, I still can't install any mods without getting this fatal error:
 
Fatal error: require() [function.require]: Failed opening required '/home/domain/public_html/subdomain/Packages/temp/./install1-1.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/domain/[/]public_html/subdomain/Sources/Packages.php on line 556
 
What exactly is it looking for?
Sheryl

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: EZPortal
« Reply #34 on: February 16, 2009, 04:27:31 PM »
Is there a temp folder in your Packages directory when you go to install. ??? If not make a folder there called temp and chmod it to 777 and see if the mod will install.

Offline sheryltoo

  • Sr. Member
  • *
  • Posts: 271
  • Karma: 42
  • Gender: Female
    • Sheryl's Page
  • SMF Version: smf 2.0 RC1
Re: EZPortal
« Reply #35 on: February 16, 2009, 04:41:48 PM »
There isn't but I'll go try that.
Also, I thought I'd post one of the errors that comes up in my error log in the admin panel after I try applying this mod:
 
:

 2: fclose(): supplied argument is not a valid stream resource
File: /home/domain/public_html/subdomain/Sources/Subs-Package.php
Line: 1908


I went looking to see if I had that file and I did "sources/subs-packages.php) and then I went searching the internet to see if I could find any help with this issue and I got the impression my permission might not be right on that folder.
I took a look at the permissions for the same folder on my smf 2.0 RC1 site and it had 644 so I tried changing this folder to the same permission but it didn't help.
 
What should the permission be for that sources/subs-packages.php file?
 
I'm going to go try the temp folder thing and I'll let you know how I make out.
Thanks for the suggestion.
Sheryl

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: EZPortal
« Reply #36 on: February 16, 2009, 04:44:05 PM »
Permissions all depend on your host. Try 777 thats the most common that works. If not then 755.

Offline sheryltoo

  • Sr. Member
  • *
  • Posts: 271
  • Karma: 42
  • Gender: Female
    • Sheryl's Page
  • SMF Version: smf 2.0 RC1
Re: EZPortal
« Reply #37 on: February 16, 2009, 05:40:45 PM »
Bigguy I could kiss you.
I "sort of" successfully applied the simple portal mod. I didn't get any fatal error and what passed a test I assume installed, however, I now need to make changes to the themes/default/index.template.php file and I've read every line twice and can't seem to find some of the areas I'm suppose to make changes to.
My back is killing me from bending over my keyboard and getting my face right up to the monitor, lol.
The two areas are:
"show the help button"
and
login,help,pm

I just went back and looked at my site and realized my help button is gone. That might explain things and I'm not really sure where the login,help, pm belonged so I don't know if it's there or not.
So I guess I can't replace anything but I would imagine I have to add a few things only I don't know where.

Is this something you could help me with?
Sheryl

Offline sheryltoo

  • Sr. Member
  • *
  • Posts: 271
  • Karma: 42
  • Gender: Female
    • Sheryl's Page
  • SMF Version: smf 2.0 RC1
Re: EZPortal
« Reply #38 on: February 16, 2009, 05:43:53 PM »
Maybe I should have showed you the codes that need to be replaced and what they need to be replaced with.
Find
:

  // Show the [help] button.

Replace with
:

 // Show the [forum] button.
if(!empty($context['portalactive']))
echo ($current_action=='forum' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'forum' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=forum">' . $txt['sp-forum'] . '</a>
</td>' , $current_action=='forum' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Show the [help] button.

Find
:

, 'login', 'help', 'pm'

Replace with
:

 , 'login', 'help', 'pm', 'forum', 'spadmin'

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: EZPortal
« Reply #39 on: February 16, 2009, 05:58:10 PM »
You say your help button is missing now. What theme are you using. ???

Offline sheryltoo

  • Sr. Member
  • *
  • Posts: 271
  • Karma: 42
  • Gender: Female
    • Sheryl's Page
  • SMF Version: smf 2.0 RC1
Re: EZPortal
« Reply #40 on: February 16, 2009, 06:05:34 PM »
Default and yes it's missing.
I probably deleted it by mistake when I was trying to clean out all the ezportal files.
Sheryl

Offline sheryltoo

  • Sr. Member
  • *
  • Posts: 271
  • Karma: 42
  • Gender: Female
    • Sheryl's Page
  • SMF Version: smf 2.0 RC1
Re: EZPortal
« Reply #41 on: February 16, 2009, 06:25:37 PM »
I took a look at the file I edited this morning and found the "help button" information so I copied it back in the same place where I took it out so I think I got that fixed.
I still don't see the login help but maybe I'm missing it.
I didn't see it on what I changed either so I wonder if it's been gone for awhile.
Is it a tab I'm suppose to see?
Sheryl

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: EZPortal
« Reply #42 on: February 16, 2009, 06:30:31 PM »
If your logged in you wont see the login button. Check your Subs.php file against a clean one from the install.zip. use a program called winmerge to see all the differences between the two files. This program can be very useful when one wants to know what changes to a file have been made and were:

http://winmerge.org/

Offline sheryltoo

  • Sr. Member
  • *
  • Posts: 271
  • Karma: 42
  • Gender: Female
    • Sheryl's Page
  • SMF Version: smf 2.0 RC1
Re: EZPortal
« Reply #43 on: February 16, 2009, 06:41:20 PM »
I can't seem to find a zip file for 1.1.7.
I'm not sure if I downloaded one. If you upgrade from your admin panel, does it download a zip file some place?
I could look at 1.1.8. Do you think that's ok to use?
And I don't think I'm out of the woods here because it doesn't look as if my site knows I want to use Simple Portal.
I can't find anything that will let me set it up.
Sheryl

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: EZPortal
« Reply #44 on: February 16, 2009, 06:50:47 PM »
It should be fine to use 1.1.8 install zip. If that is the version you are using then you will have to look in the index.template.php file in order to find the tab code and not the Subs.php file. Look in your error log, is there any new errors. ???