To use this website completely, it is necessary to store cookies on your computer.
 

* Navigator

Expand - Collapse

* Statistic

  • *Total Posts: 14942
  • *Total Topics: 2271
  • *Online Today: 12
  • *Most Online: 292
(2016 November 12, 09:37:31 am)

I'm getting this error at the top

Started by agent47, 2011 November 15, 09:39:52 pm

previous topic - next topic

0 Members and 0 Guests are viewing this topic.

agent47

2011 November 15, 09:39:52 pm
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?

feline

#1
2011 November 15, 11:34:43 pm
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.

agent47

#2
2011 November 16, 10:59:15 am
Not working feline. Still same error. Only when I disable SEF, does the error go away. I don't want to disable it though :(

feline

#3
2011 November 16, 11:26:24 am
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.

agent47

#4
2011 November 16, 11:37:04 am
Same error :(

feline

#5
2011 November 16, 01:24:28 pm
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.

agent47

#6
2011 November 16, 06:57:43 pm
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.

[attachment deleted by admin]

feline

#7
2011 November 16, 08:20:29 pm
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.

agent47

#8
2011 November 16, 10:37:19 pm
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.

feline

#9
2011 November 17, 12:47:46 pm
Quote from: agent47 ,  2011 November 16, 10:37:19 pm
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...

[attachment deleted by admin]
Many are stubborn in relation to the path, a few in relation to the target.

agent47

#10
2011 November 17, 03:07:09 pm
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

feline

#11
2011 November 19, 06:15:57 pm
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.

agent47

#12
2011 November 20, 12:57:35 am
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?

feline

#13
2011 November 20, 03:28:09 pm
Check again if the error occurs ...
Many are stubborn in relation to the path, a few in relation to the target.

star44

#14
2011 December 30, 01:48:23 pm
I'm also facing another issue with the theme.