User

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

Community



Donate

Donate for PortaMx !
Your donation is safe and helps support the issues and causes you care most about.

Stats

  • *Total Members: 4038
  • *Latest: loplo

  • *Total Posts: 15704
  • *Total Topics: 2329
  • *Online Today: 16
  • *Most Online: 157
(27 Aug 09, 03:54:53)
  • *Users: 0
  • *Guests: 21
  • *Total: 21

Author Topic: I'm getting this error at the top  (Read 1971 times)

0 Members and 1 Guest are viewing this topic.

Offline agent47

  • Newbie
  • *
  • Posts: 45
  • Gender: Male
    • Superhero Alliance
I'm getting this error at the top
« on: 15 Nov 11, 21:39:52 »
I get the following error at the top of the page when I enter a board on my site:

Strict Standards: Only variables should be passed by reference in /xxx/xxx/public_html/Sources/PortaMx/PortaMxSEF.php on line 220

What does this mean and how do I overcome this?

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5242
  • Gender: Female
Re: I'm getting this error at the top
« Reply #1 on: 15 Nov 11, 23:34:43 »
Seems like a defect file. Replace the file with a copy from the original archive.
Many are stubborn in relation to the path, a few in relation to the target.

Offline agent47

  • Newbie
  • *
  • Posts: 45
  • Gender: Male
    • Superhero Alliance
Re: I'm getting this error at the top
« Reply #2 on: 16 Nov 11, 10:59:15 »
Not working feline. Still same error. Only when I disable SEF, does the error go away. I don't want to disable it though :(

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5242
  • Gender: Female
Re: I'm getting this error at the top
« Reply #3 on: 16 Nov 11, 11:26:24 »
Try follow:
Open the file /Sources/PortaMx/PortaMxSEF.php in a editor (like notepad++), go to line 220 and find:
Code: [Select]
$querystring['board'] = current(array_keys($PortaMxSEF['BoardNameList'], current($url_array))) .'.'. $page;

Replace this with:
Code: [Select]
$brdkey = array_keys($PortaMxSEF['BoardNameList'], current($url_array));
$querystring['board'] = current($brdkey) .'.'. $page;
Many are stubborn in relation to the path, a few in relation to the target.

Offline agent47

  • Newbie
  • *
  • Posts: 45
  • Gender: Male
    • Superhero Alliance
Re: I'm getting this error at the top
« Reply #4 on: 16 Nov 11, 11:37:04 »
Same error :(

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5242
  • Gender: Female
Re: I'm getting this error at the top
« Reply #5 on: 16 Nov 11, 13:24:28 »
Please attach the modificated file here ...
php version you use?
Many are stubborn in relation to the path, a few in relation to the target.

Offline agent47

  • Newbie
  • *
  • Posts: 45
  • Gender: Male
    • Superhero Alliance
Re: I'm getting this error at the top
« Reply #6 on: 16 Nov 11, 18:57:43 »
Here you go feline.
BTW I'm also facing another issue with the theme due to PortaMx but I'll open a separate thread for that. I hope at least one of the two issues can be fixed.

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5242
  • Gender: Female
Re: I'm getting this error at the top
« Reply #7 on: 16 Nov 11, 20:20:29 »
Whitch php version you use?
Whats is the settings of error_reporting in your php.ini?
Many are stubborn in relation to the path, a few in relation to the target.

Offline agent47

  • Newbie
  • *
  • Posts: 45
  • Gender: Male
    • Superhero Alliance
Re: I'm getting this error at the top
« Reply #8 on: 16 Nov 11, 22:37:19 »
I'm not too sure how to check which PHP version I'm using?
And neither do I understand your second question? Sorry, I'm really bad at this.

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5242
  • Gender: Female
Re: I'm getting this error at the top
« Reply #9 on: 17 Nov 11, 12:47:46 »
I'm not too sure how to check which PHP version I'm using?
And neither do I understand your second question? Sorry, I'm really bad at this.
Put the attached file to you forum homedir and run it in your browser...
Many are stubborn in relation to the path, a few in relation to the target.

Offline agent47

  • Newbie
  • *
  • Posts: 45
  • Gender: Male
    • Superhero Alliance
Re: I'm getting this error at the top
« Reply #10 on: 17 Nov 11, 15:07:09 »
Okay so there's a lot of info. You can check it out yourself as I have left the file on the server.
Visit:
Code: [Select]
http://www.superheroalliance.net/phpinfo.php

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5242
  • Gender: Female
Re: I'm getting this error at the top
« Reply #11 on: 19 Nov 11, 18:15:57 »
If you can't modify your php.ini, contact your hosting to set the php.ini variable display_errors to off
Many are stubborn in relation to the path, a few in relation to the target.

Offline agent47

  • Newbie
  • *
  • Posts: 45
  • Gender: Male
    • Superhero Alliance
Re: I'm getting this error at the top
« Reply #12 on: 20 Nov 11, 00:57:35 »
So you want me to contact my host and tell them to set the php.ini variable display_errors to off ?
Okay, once my host turns that off, then what do I do?

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5242
  • Gender: Female
Re: I'm getting this error at the top
« Reply #13 on: 20 Nov 11, 15:28:09 »
Check again if the error occurs ...
Many are stubborn in relation to the path, a few in relation to the target.

star44

  • Guest
Re: I'm getting this error at the top
« Reply #14 on: 30 Dec 11, 13:48:23 »
I'm also facing another issue with the theme.