[ABD] [RC2] phpBB Mobile 2.0.0

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
callumacrae
Former Team Member
Posts: 2662
Joined: Tue Feb 12, 2008 12:28 pm
Location: London, UK
Name: Callum Macrae
Contact:

Re: [RC] phpBB Mobile 2.0.0

Post 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
macr.ae = my website. you probably won't like it.
Proud user ofProud user of
artikkk
Registered User
Posts: 379
Joined: Sun Jan 04, 2009 1:37 pm
Location: Roma

Re: [RC] phpBB Mobile 2.0.0

Post 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:
sorry for my bad english :S
User avatar
callumacrae
Former Team Member
Posts: 2662
Joined: Tue Feb 12, 2008 12:28 pm
Location: London, UK
Name: Callum Macrae
Contact:

Re: [RC] phpBB Mobile 2.0.0

Post 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
macr.ae = my website. you probably won't like it.
Proud user ofProud user of
artikkk
Registered User
Posts: 379
Joined: Sun Jan 04, 2009 1:37 pm
Location: Roma

Re: [RC] phpBB Mobile 2.0.0

Post by artikkk »

PHP Version 5.2.17
sorry for my bad english :S
User avatar
callumacrae
Former Team Member
Posts: 2662
Joined: Tue Feb 12, 2008 12:28 pm
Location: London, UK
Name: Callum Macrae
Contact:

Re: [RC] phpBB Mobile 2.0.0

Post 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
macr.ae = my website. you probably won't like it.
Proud user ofProud user of
artikkk
Registered User
Posts: 379
Joined: Sun Jan 04, 2009 1:37 pm
Location: Roma

Re: [RC] phpBB Mobile 2.0.0

Post 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
sorry for my bad english :S
User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: [RC] phpBB Mobile 2.0.0

Post by prototech »

Try replacing return $img_array; with return (array) $img_array; in session.php.
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.
artikkk
Registered User
Posts: 379
Joined: Sun Jan 04, 2009 1:37 pm
Location: Roma

Re: [RC] phpBB Mobile 2.0.0

Post by artikkk »

same errors :oops:
sorry for my bad english :S
SilentDeath1226
Registered User
Posts: 135
Joined: Tue May 04, 2010 12:30 am

Re: [RC] phpBB Mobile 2.0.0

Post by SilentDeath1226 »

I just tried it on my Android HTC Evo phone. Looks great! If you need help styling, just let me know! :D
artikkk
Registered User
Posts: 379
Joined: Sun Jan 04, 2009 1:37 pm
Location: Roma

Re: [RC] phpBB Mobile 2.0.0

Post by artikkk »

>.< but just i have this problem? :evil: :mrgreen:
sorry for my bad english :S
User avatar
callumacrae
Former Team Member
Posts: 2662
Joined: Tue Feb 12, 2008 12:28 pm
Location: London, UK
Name: Callum Macrae
Contact:

Re: [RC] phpBB Mobile 2.0.0

Post 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
macr.ae = my website. you probably won't like it.
Proud user ofProud user of
User avatar
callumacrae
Former Team Member
Posts: 2662
Joined: Tue Feb 12, 2008 12:28 pm
Location: London, UK
Name: Callum Macrae
Contact:

Re: [RC] phpBB Mobile 2.0.0

Post 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
macr.ae = my website. you probably won't like it.
Proud user ofProud user of
artikkk
Registered User
Posts: 379
Joined: Sun Jan 04, 2009 1:37 pm
Location: Roma

Re: [RC] phpBB Mobile 2.0.0

Post 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
sorry for my bad english :S
User avatar
Nawid
Registered User
Posts: 329
Joined: Sat Jun 27, 2009 4:32 pm
Contact:

Re: [RC] phpBB Mobile 2.0.0

Post 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

Image
Check SuperNova Orange style on:
SchoolLife.nl
phpBB.com
User avatar
callumacrae
Former Team Member
Posts: 2662
Joined: Tue Feb 12, 2008 12:28 pm
Location: London, UK
Name: Callum Macrae
Contact:

Re: [RC] phpBB Mobile 2.0.0

Post by callumacrae »

prototech can fix the error, it's his code XD

Also, please could you translate that error into english?

~Callum
macr.ae = my website. you probably won't like it.
Proud user ofProud user of
Locked

Return to “[3.0.x] Abandoned MODs”