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 1 Guest 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 way, but less 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 way, but less 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 way, but less 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 way, but less 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 way, but less 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 way, but less 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 way, but less in relation to the target.

star44

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

* Shouts

Feline
2018 Aug. 21, 08:10:46 pm
Today we update our Forum to the Version 1.45
Feline
2018 Jun. 09, 07:54:13 pm
Today we update our Forum to Version 1.4
This release is full compatible with the EU GDPR
Feline
2018 Mar. 28, 11:56:21 am
Update for PortaMx 1.54 ecl released.
With this updates the Portal works with PHP 7.x and SMF 2.0.15
Feline
2018 Mar. 17, 10:35:03 pm
PortaMx Forum 1.3
released !

*
Feline
2017 Dec. 10, 04:30:54 am
Today we switched to PHP 7.2 and activate Opcode caching.
Fast .. Very fast *
Feline
2017 Mar. 03, 11:54:35 pm
Today we upgrade our old SMF 2.0 Forum to PortaMx Forum *

* Calendar

Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
HolidaysDec 16: 3. Advent (de)