Page 3 of 17

Re: [RC] phpBB Mobile 2.0.0

Posted: Sun Jan 23, 2011 4:31 pm
by callumacrae
artikkk wrote:

Code: Select all

Fatal error: Unsupported operand types in ....../includes/session.php on line 1836
:o
Hmm, are you sure you installed the modification correctly?

~Callum

Re: [RC] phpBB Mobile 2.0.0

Posted: Sun Jan 23, 2011 4:33 pm
by artikkk
Line 1836 is

Code: Select all

$this->img_array += $this->fetch_imageset_cfg('mobile', true);
i check my installation and all is correct :roll: :oops:

Re: [RC] phpBB Mobile 2.0.0

Posted: Sun Jan 23, 2011 4:41 pm
by callumacrae
artikkk wrote:Line 1836 is

Code: Select all

$this->img_array += $this->fetch_imageset_cfg('mobile', true);
i check my installation and all is correct :roll: :oops:
What version of PHP are you running? You can check in the phpinfo tab in the ACP

~Callum

Re: [RC] phpBB Mobile 2.0.0

Posted: Sun Jan 23, 2011 4:44 pm
by artikkk
PHP Version 5.2.17

Re: [RC] phpBB Mobile 2.0.0

Posted: Sun Jan 23, 2011 4:52 pm
by callumacrae
artikkk wrote:PHP Version 5.2.17
Try replacing it with the following code:

Code: Select all

$this->img_array = array_merge($this->img_array, $this->fetch_imageset_cfg('mobile', true));
~Callum

Re: [RC] phpBB Mobile 2.0.0

Posted: Sun Jan 23, 2011 4:57 pm
by artikkk
now my board is visible, but there is a error

Code: Select all

phpBB Debug] PHP Notice: in file /includes/session.php on line 1836: array_merge() [function.array-merge]: Argument #2 is not an array 
this error repeat 2 times

Re: [RC] phpBB Mobile 2.0.0

Posted: Sun Jan 23, 2011 5:49 pm
by prototech
Try replacing return $img_array; with return (array) $img_array; in session.php.

Re: [RC] phpBB Mobile 2.0.0

Posted: Sun Jan 23, 2011 5:56 pm
by artikkk
same errors :oops:

Re: [RC] phpBB Mobile 2.0.0

Posted: Mon Jan 24, 2011 1:24 am
by SilentDeath1226
I just tried it on my Android HTC Evo phone. Looks great! If you need help styling, just let me know! :D

Re: [RC] phpBB Mobile 2.0.0

Posted: Mon Jan 24, 2011 2:04 pm
by artikkk
>.< but just i have this problem? :evil: :mrgreen:

Re: [RC] phpBB Mobile 2.0.0

Posted: Mon Jan 24, 2011 4:06 pm
by callumacrae
artikkk wrote:>.< but just i have this problem? :evil: :mrgreen:
We used += for the array, which we shouldn't have. I'll be home in an hour or so, I'll patch it then.

~Callum

Re: [RC] phpBB Mobile 2.0.0

Posted: Mon Jan 24, 2011 5:36 pm
by callumacrae
Replacing it with $this->img_array = array_merge($this->img_array, $this->fetch_imageset_cfg('mobile', true)); is working fine for me. Try replacing it with:

Code: Select all

$this->img_array = array_merge((array) $this->img_array, (array) $this->fetch_imageset_cfg('mobile', true));
Sorry that you're having problems :(

~Callum

Re: [RC] phpBB Mobile 2.0.0

Posted: Mon Jan 24, 2011 5:57 pm
by artikkk

Code: Select all

Fatal error: Class 'user' not found in /web/htdocs/www.pronosky.com/home/forum/common.php on line 212
:o

Re: [RC] phpBB Mobile 2.0.0

Posted: Mon Jan 24, 2011 8:58 pm
by Nawid
Dear Callum,

I also get the same error.

I also got this problem when installing

Code: Select all

phpBB Mobile
PHP Version: 5.2.6
DBMS: MySQL(i) 5.0.27
phpBB3 Version: 3.0.8

Bezig met het toevoegen van de acp module: acp/info/acp_mobile.php
Mislukt


Re: [RC] phpBB Mobile 2.0.0

Posted: Mon Jan 24, 2011 9:00 pm
by callumacrae
prototech can fix the error, it's his code XD

Also, please could you translate that error into english?

~Callum