Keyword

K2 pagination 0 syntax error

  • Sori
  • Sori's Avatar Topic Author
  • Offline
  • Senior Member
More
6 years 6 months ago - 6 years 6 months ago #166960 by Sori
K2 pagination 0 syntax error was created by Sori
Hi,

I get "0 syntax error, unexpected '=>' (T_DOUBLE_ARROW)" error when trying to use the pagination and go to the next page.
what is this and where can I resolve the issue?

Thanks,
Sohrab
p.s. the pagination code is:
<!-- Pagination -->
	<?php if($this->pagination->getPagesLinks()): ?>
	<div class="k2Pagination">
		<?php if($this->params->get('catPagination')) echo $this->pagination->getPagesLinks(); ?>
		<div class="clr"></div>
		<?php if($this->params->get('catPaginationResults')) echo $this->pagination->getPagesCounter(); ?>
	</div>
	<?php endif; ?>

	<?php endif; ?>
</div>
Last edit: 6 years 6 months ago by Sori.

Please Log in or Create an account to join the conversation.

  • Sori
  • Sori's Avatar Topic Author
  • Offline
  • Senior Member
More
6 years 6 months ago #166972 by Sori
Replied by Sori on topic K2 pagination 0 syntax error
I understood my page ranking also does work or some other javascript or jquery like application and whenever I install something I see a 404 error page but it installs and then shows that.
I installed the jquery easy but it didn't help.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #166975 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 pagination 0 syntax error
Hello,

Can you paste the entire error message?
I want to see if there is a file mentioned in the error.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Sori
  • Sori's Avatar Topic Author
  • Offline
  • Senior Member
More
6 years 6 months ago #166977 by Sori
Replied by Sori on topic K2 pagination 0 syntax error
""0 syntax error, unexpected '=>' (T_DOUBLE_ARROW)"" is all I get.
You can check it here also: bahramabedini.ir/en/photogram
in the development and debug mode also doesn't show anything more.

Please Log in or Create an account to join the conversation.

  • Sori
  • Sori's Avatar Topic Author
  • Offline
  • Senior Member
More
6 years 6 months ago #166979 by Sori
Replied by Sori on topic K2 pagination 0 syntax error
Found the culprit.
I had Centrero security suite and in a file, in the media folder in its error log it was creating a redundant double arrow. Why it caused malfunctioned with all my ajax or java things is a mystery to me but I uninstalled it and the problem is solved.
I went back on my php version so it gave me a clear error log such as this:
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /../../../bahramabedini.ir/media/CentroraBackup/Weblog/errorlog.php on line 10

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #166985 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 pagination 0 syntax error
Nice to hear that you sorted this out :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum