Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / func showGeneralLink() is calling php error

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

func showGeneralLink() is calling php error

  • mightyskeet
  • Topic Author
  • Offline
  • Silver
  • Silver
More
8 years 6 months ago #22076 by mightyskeet
func showGeneralLink() is calling php error was created by mightyskeet
Hello. I have noticed that problem:
I have installed joomla 3.6.2 and adsmanager 3.1.6 (downloaded from your official site). If I go to "Adsmanager » Contents List" page (frontend) then I see that page is damaged because of php error and it's looks bad without any css. If I delete line 171 (<?php $this->general->showGeneralLink() ?>) in "components/com_adsmanager/views/list/tmpl/default.php" then it works fine. I was testing it with default "Protostar" joomla template. I use PHP 5.6.
Any idea? Thanks in advance!
More
8 years 6 months ago #22087 by juloaadmin
Replied by juloaadmin on topic func showGeneralLink() is calling php error
What is the php error ? you didn't write it in your post ?
  • mightyskeet
  • Topic Author
  • Offline
  • Silver
  • Silver
More
8 years 6 months ago - 8 years 6 months ago #22111 by mightyskeet
Replied by mightyskeet on topic func showGeneralLink() is calling php error
Error from log file:
PHP Fatal error: Class 'CRoute' not found in /home/a/sitename/demo.sitename.com/public_html/components/com_adsmanager/lib/link.php on line 40

I've checked that in AdsManager's settings (tab "Third Party") "User Profile" is set to "No".
Last edit: 8 years 6 months ago by mightyskeet.
More
8 years 6 months ago #22134 by juloaadmin
Replied by juloaadmin on topic func showGeneralLink() is calling php error
you have a
components/com_community directory

Are you using Jomsocial ?

A quick workaround
edit : components/com_adsmanager/lib/core.php

and replace
if (file_exists(JPATH_ROOT.'/components/com_community')) {
by
if (!file_exits(....)
andd the ! before file_exists
The following user(s) said Thank You: mightyskeet
  • mightyskeet
  • Topic Author
  • Offline
  • Silver
  • Silver
More
8 years 6 months ago #22169 by mightyskeet
Replied by mightyskeet on topic func showGeneralLink() is calling php error
I've checked that this folder contain 2 folders and they are empty. I have no idea why this directory placed there.. I just renamed it and all works fine. Thanks for your help!
More
8 years 6 months ago #22180 by juloaadmin
Replied by juloaadmin on topic func showGeneralLink() is calling php error
You're welcome.
Moderators: perry
Time to create page: 0.121 seconds
Powered by Kunena Forum