Announcement

#1 2013-04-29 22:39:49

twphotouk
Guest

Additional Pages plugin causes error viewing album on mobile phone

Hello.  I found that when the Additional Pages plugin is activated, when I access an album (category) using the web browser of my mobile phone, with the mobile theme (not desktop theme), error messages appear at the bottom of the page (partially underlaying the main panel).  Accessing the page in exactly the same way but with the additional Pages plugin deactivated results in the usual behaviour and no error message.

Summary of error message:
"Warning : [mysql error 1146] Table 'xyz_piwi123.ADD_PAGES_TABLE' doesn't exist

(SQL Select statment including "ADD_PAGES_TABLE") ..in .../include/dblayer/functions_mysql.inc.php on line 834

Notice: Trying to get property of non-object in .../include/dblayer/functions_mysqli.inc.php on line 171"

It seems string 'ADD_PAGES_TABLE' is being used instead of the value of constant  ADD_PAGES_TABLE.

Versions:
Piwigo 2.5.1
Additional Pages plugin   Cannot see version number - current on 2013/04/29
Phone Android 2.1, default "Internet" browser.

 

#2 2013-04-30 16:40:00

1kar0s
Member
2013-04-30
7

Re: Additional Pages plugin causes error viewing album on mobile phone

Noticed the same thing on my Ipod.

Offline

 

#3 2013-05-18 03:21:16

stebbi
Guest

Re: Additional Pages plugin causes error viewing album on mobile phone

same problem any one got a fix for this?

 

#4 2013-05-21 11:45:12

P@t
Piwigo Team
Nice
2007-06-13
4098

Re: Additional Pages plugin causes error viewing album on mobile phone

Hi,

I can't reproduce the problem... do you have a link?
Do you have other plugins activated?


P@t

Offline

 

#5 2013-05-23 17:02:32

twphotouk
Guest

Re: Additional Pages plugin causes error viewing album on mobile phone

P@t wrote:

Hi,

I can't reproduce the problem... do you have a link?
Do you have other plugins activated?

Hi Pat

Thanks for looking into this.  I have just re-activated the additional pages plugin, and can see the error messages again when I view my Piwigo gallery in my Android mobile phone default browser (there is no error on my Windows PC using Firefox).  Hopefully you can see the error too:
Warning: although there is no nudity for unregistered visitors, my client's site is gently adult themed and is not suitable for children and probably not suitable for work/office environments.
http//littlejassy.co.uk/gal

 

#6 2013-05-23 17:09:29

twphotouk
Guest

Re: Additional Pages plugin causes error viewing album on mobile phone

twphotouk wrote:

P@t wrote:

Hi,

I can't reproduce the problem... do you have a link?
Do you have other plugins activated?

Hi Pat

Thanks for looking into this.  I have just re-activated the additional pages plugin, and can see the error messages again when I view my Piwigo gallery in my Android mobile phone default browser (there is no error on my Windows PC using Firefox).  Hopefully you can see the error too:
Warning: although there is no nudity for unregistered visitors, my client's site is gently adult themed and is not suitable for children and probably not suitable for work/office environments.
http//littlejassy.co.uk/gal

Sorry for the typo:  http://littlejassy.co.uk/gal

 

#7 2013-05-25 11:50:53

P@t
Piwigo Team
Nice
2007-06-13
4098

Re: Additional Pages plugin causes error viewing album on mobile phone

The problem come from Linked Pages plugin...
Mistic, maybe Linked Pages should be ignored if mobile theme is used.

if (mobile_theme())
{
  return;
}

twphotouk, try to add this code at the begining of main.inc.php file of Linked Pages plugin.
I notify mistic about this problem.


P@t

Offline

 

#8 2013-05-27 01:10:45

twphotouk
Guest

Re: Additional Pages plugin causes error viewing album on mobile phone

P@t wrote:

The problem come from Linked Pages plugin...
Mistic, maybe Linked Pages should be ignored if mobile theme is used.

if (mobile_theme())
{
  return;
}

twphotouk, try to add this code at the begining of main.inc.php file of Linked Pages plugin.
I notify mistic about this problem.

Hi Pat

Yes, pasting that code at the begining of main.inc.php file the Linked Pages plugin prevents the error messages when viewing an album using a mobile phone.

Thanks

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact