Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Error into the photo pagination

11 years 6 months ago
Licenses:
JomSocial Expired

Hello,

yesterday I performed the update from version 4.0.2 to 4.0.3.

Now there is an error into the photo navigation.

After clicking on "Next" or another page number the user always see the first photo page only.

Greetings
Joerg

11 years 6 months ago
Licenses:

Hi, Joerg.

I confirm when on first page of photo and clicking to second, page is reloaded but the same albums are displayed. Justa fter clicking 8th page albums are changed.
I assign developer to this thread.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
11 years 6 months ago
Licenses:

Hi Joerg,

could you please provide me FTP access detail by editing your first post at this topic. I need it for debugging purpose. seem the issue with your sever. so I need to build the custom code.

Regards

11 years 6 months ago
Licenses:
JomSocial Expired

Hello Albertus,

i added the FTP-Informations into the first posting.

Greetings
Joerg

11 years 6 months ago
Licenses:

Hi Joerg,

I put the fix at:
/components/com_community/models/photos.php at line 466, I changed the code from

$limitstart = $this->getState('limitstart');
to
$limitstart = $_GET['limitstart'];

I did this because not sure why joomla function not working properly. may be there is 3rd party conflict (addons).

Regards

11 years 6 months ago
Licenses:
JomSocial Expired

Hello,

if i click on the photo link, i received now the following error message:

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '12' at line 1 SQL=SELECT * FROM `joo_community_photos_albums` WHERE ( permissions <='40' OR (creator='505' AND permissions <='40') ) OR (creator IN(887,1110,1322) AND permissions = '30') ORDER BY `created` DESC LIMIT ,12

11 years 6 months ago
Licenses:

Hi,

sorry, I changed the code to:

if (isset($_GET['limitstart'])) $limitstart = $_GET['limitstart'];
else $limitstart = $this->getState('limitstart');

Regards

The following user(s) said Thank You: Joerg
11 years 5 months ago
Licenses:
JomSocial Expired

Hello,

i updated from 4.0.3 to 4.0.5 and the navigation on the site "All Photos" will not work again.


Joerg

11 years 5 months ago
Licenses:
JomSocial Expired

Hello,

i fixed it manually.

Do i have to change the code at every new Update ?


Joerg

11 years 5 months ago
Licenses:

Hi Joerg,

yes, you need to put that code at every new update. I provide this code to you that because there is a something that override $this->getState('limitstart');
not sure from where, it can be from server or 3rd party extensions.

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW